{"id":"GO-2026-6905","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.","modified":"2026-11-24T17:30:06.447964831Z","published":"2026-11-05T22:55:15Z","database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2026-6905"},"references":[{"type":"REPORT","url":"https://github.com/blakesmith/ar/issues/16"},{"type":"REPORT","url":"https://github.com/golang/vulndb/issues/6905"}],"affected":[{"package":{"name":"github.com/blakesmith/ar","ecosystem":"Go","purl":"pkg:golang/github.com/blakesmith/ar"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/blakesmith/ar","symbols":["Reader.Read"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-6905.json"}}],"schema_version":"1.9.2","credits":[{"name":"JayOfTheKeyboard"}]}