# GO-2026-6905: Panic on negative member size in Reader.Read in github.com/blakesmith/ar

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-11-05T22:55:15.000Z
- Modified: 2026-11-24T17:30:07.646Z

## 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 Go Vulnerability Database.)

## Affected

- github.com/blakesmith/ar (Go): all versions

## References

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

## Sources

- Go Vulnerability Database: [GO-2026-6905](https://pkg.go.dev/vuln/GO-2026-6905), CC-BY-4.0, modified 2026-11-24

---

Page: https://cve.day/GO-2026-6905 · Whole record: https://cve.day/GO-2026-6905.json · Rebuilt by cve.day 2026-11-25T22:56:25.586Z
