Denial of service in blakesmith/ar via negative archive member size
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · GHSA-8r27-mm5g-38ww. Fix status from GitHub. Impact type from CWE-129 and the CVSS impact.
Summary
The Go module github.com/blakesmith/ar is affected from 0 through 0.0.0-20190502131153-809d4375e1fb3-809d4375e1fb. Reader.Next accepts a negative archive member size from the header, which leaves a negative remaining byte count (CWE-129). An unauthenticated remote attacker can crash a program that reads the archive by supplying an archive with such a header.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the GitHub advisory
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | github.com/blakesmith/ar (Go) | up to 0.0.0-20190502131153-809d4375e1fb3-809d4375e1fb | — | No fix listed | GHSA-8r27-mm5g-38ww |
- github.com/blakesmith/ar (Go) Vendor— Affected up to 0.0.0-20190502131153-809d4375e1fb3-809d4375e1fb Fixed in — No fix listed GHSA-8r27-mm5g-38ww
Remediation
The sources list no fixed version for github.com/blakesmith/ar.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Timeline
- 2026-12-01 Threatist record created from GHSA-8r27-mm5g-38ww
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences