Skip to content
Fencer Vulns
no cvss —

GO-2026-6905 json

Panic on negative member size in Reader.Read in github.com/blakesmith/ar

published 2026-11-05 3 d ago modified 2026-11-05 3 d ago

cvss
—
not scored
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

Summary

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.

Patch / fix

Affected packages

ecosystem package affected fixed in
go github.com/blakesmith/ar
all versions
no fix listed

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.