GHSA-8r27-mm5g-38ww: Vulnerability in github.com/blakesmith/ar
Patch soon. 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.
Go, CWE-129
- Exploitation
- None confirmed
- Severity
- 7.5 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weakness
- CWE-129
- Published
- 1 Dec 2026
- Last change
- 1 Dec 2026
- Ecosystem
- Go
Affected packages
Vulnerable version ranges and fixed releases
- github.com/blakesmith/ar Go, Affected through 0.0.0-20190502131153-809d4375e1fb3-809d4375e1fb. No fixed version recorded
Advisories
Vendor and security advisories