# GHSA-8r27-mm5g-38ww: blakesmith/ar: Denial of service through negative archive-member size

- Severity: High 7.5 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-12-01T01:27:06.000Z
- Modified: 2026-12-01T01:45:03.937Z
- Weaknesses: CWE-129

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- github.com/blakesmith/ar (Go): up to 0.0.0-20190502131153-809d4375e1fb3-809d4375e1fb

## References

- <https://github.com/blakesmith/ar/issues/16> (web)
- <https://github.com/golang/vulndb/issues/6905> (web)
- <https://github.com/blakesmith/ar> (package)

## Sources

- GitHub Advisory Database: [GHSA-8r27-mm5g-38ww](https://github.com/advisories/GHSA-8r27-mm5g-38ww), CC-BY-4.0, modified 2026-12-01

---

Page: https://cve.day/GHSA-8r27-mm5g-38ww · Whole record: https://cve.day/GHSA-8r27-mm5g-38ww.json · Rebuilt by cve.day 2026-12-01T02:07:24.853Z
