GO-2026-6905

published 5 Nov 2026 · updated 5 Nov 2026

Panic on negative member size in Reader.Read in github.com/blakesmith/ar

5.0Medium

No exploitation in the wild has been reported. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
go: github.com/blakesmith/ar

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

GO-2026-6905 severity on Zeptric[![GO-2026-6905](https://zeptric.io/badge/cve/GO-2026-6905.svg)](https://zeptric.io/cve/GO-2026-6905)