Go
GHSA-8r27-mm5g-38ww
blakesmith/ar: Denial of service through negative archive-member size
- Severity
- High 7.5
- Published
- 1 Dec 2026
- Last changed
- 1 Dec 2026
- Added to UpHeron
- 1 Dec 2026
- Weakness
- CWE-129
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Sources
- OSV.dev and GitHub
Description
Reader.Next parses the 10-byte decimal size field of an archive member header with strconv.ParseInt without rejecting negative values. A header with a negative size leaves the reader with a negative remaining byte count, causing the subsequent call to Reader.Read to panic with a slice bounds out of range error when slicing the caller's buffer.
Affected software
| Software | Affected versions |
|---|---|
github.com/blakesmith/arGo · osv:Go:github.com/blakesmith/ar |
|
About github.com/blakesmith/ar
This is the only vulnerability in github.com/blakesmith/ar in our list.
References
- GitHub Advisory Database https://github.com/advisories/GHSA-8r27-mm5g-38ww