GO-2026-6905
Dashboard / Vulnerabilities / GO-2026-6905
GO-2026-6905
Published: 5 Nov 2026Last Modified: 5 Nov 2026
Summary: Panic on negative member size in Reader.Read in github.com/blakesmith/ar
Details: 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 packages
Package
Name: github.com/blakesmith/ar
Purl: pkg:golang/github.com/blakesmith/ar
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -None
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
