{"id":"GO-2026-6905","aliases":["GO-2026-6905"],"related":[],"kind":"vulnerability","state":"published","title":"Panic on negative member size in Reader.Read in github.com/blakesmith/ar","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.","summaryFormat":"markdown","summarySource":"go","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"go"}],"published":"2026-11-05T22:55:15.000Z","modified":"2026-11-24T17:30:07.646Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/blakesmith/ar","purl":"pkg:golang/github.com/blakesmith/ar","source":"go"}],"references":[{"url":"https://github.com/blakesmith/ar/issues/16","tags":["report"],"sources":["go"]},{"url":"https://github.com/golang/vulndb/issues/6905","tags":["report"],"sources":["go"]}],"credits":["JayOfTheKeyboard"],"sources":[{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6905","url":"https://pkg.go.dev/vuln/GO-2026-6905","licence":"CC-BY-4.0","modified":"2026-11-24T17:30:07.646Z"}],"updatedAt":"2026-11-25T22:56:25.586Z"}