Description
Reader.Next in github.com/blakesmith/ar does not reject negative archive member sizes. When Reader.Read subsequently uses that size to process a buffer, an out-of-range slice access may cause a panic.
Potential impact
A request or process that reads an attacker-supplied ar archive may stop, causing denial of service.
Remediation
As of November 10, 2026, the Go advisory does not specify a fixed version. Until the fix status is confirmed, prevent this library from processing untrusted archives or apply a verified fix. Check size fields for negative values and valid bounds before accessing buffers.