## blakesmith/ar: Denial of service through negative archive-member size

- 種別: advisory
- 重大度: high
- 関連技術: go, github
- 公開日時: 2026-12-01T01:27:06.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-8r27-mm5g-38ww)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-8r27-mm5g-38ww

影響: go:github.com/blakesmith/ar <= 0.0.0-20190502131153-809d4375e1fb3-809d4375e1fb
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.