{"id":"GHSA-8r27-mm5g-38ww","aliases":["GHSA-8r27-mm5g-38ww"],"related":[],"kind":"vulnerability","state":"published","title":"blakesmith/ar: Denial of service through negative archive-member size","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":"ghsa","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":"ghsa"}],"published":"2026-12-01T01:27:06.000Z","modified":"2026-12-01T01:45:03.937Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-129"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.0.0-20190502131153-809d4375e1fb3-809d4375e1fb"}],"ecosystem":"Go","package":"github.com/blakesmith/ar","purl":"pkg:golang/github.com/blakesmith/ar","source":"ghsa"}],"references":[{"url":"https://github.com/blakesmith/ar/issues/16","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/golang/vulndb/issues/6905","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/blakesmith/ar","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8r27-mm5g-38ww","url":"https://github.com/advisories/GHSA-8r27-mm5g-38ww","licence":"CC-BY-4.0","modified":"2026-12-01T01:45:03.937Z"}],"updatedAt":"2026-12-01T02:07:24.853Z"}