GHSA-8r27-mm5g-38ww: blakesmith/ar: Denial of service through negative archive-member size
Published 2026-12-01 · Updated 2026-12-01
Summary
A denial of service vulnerability exists in the blakesmith/ar Go package because the parser fails to reject negative archive-member sizes. Maintainers and developers using github.com/blakesmith/ar should update or apply mitigations to prevent application panics.
Who is affected
Affected deployments are those using the github.com/blakesmith/ar package to parse untrusted archive files. When a specially crafted archive containing a negative size in the header is processed, a subsequent call to Reader.Read triggers a slice bounds out of range panic, leading to a denial of service for the application.
Exploitability
The vulnerability is exploitable over the network with low attack complexity and no privileges or user interaction required, resulting in a high availability impact as indicated by a CVSS base score of 7.5. EPSS is not yet available and CISA KEV active exploitation is no.
Remediation
- Review the project dependency tree to determine if github.com/blakesmith/ar is used.
- Monitor for updates or patches addressing version 0.0.0-20190502131153-809d4375e1fb, as no fixed version is published.
How to check your project
- Inspect Go module configuration files such as go.mod to check for the presence of github.com/blakesmith/ar at the affected version range (up to 0.0.0-20190502131153-809d4375e1fb3).
Automated analysis of the published advisory data, generated 2026-12-01. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/blakesmith/ar |
>= 0, <= 0.0.0-20190502131153-809d4375e1fb3-809d4375e1fb | not published | - |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | None |
| Availability | High |
FAQ
What causes the panic in github.com/blakesmith/ar?
The panic is caused by Reader.Next parsing a negative decimal size in the archive member header via strconv.ParseInt without validation, which results in a negative remaining byte count that triggers a slice bounds out of range error during Reader.Read.
Is there a fixed version available for github.com/blakesmith/ar?
No fixed version is published in the provided data.
Is this vulnerability actively exploited in the wild?
No, CISA Known Exploited Vulnerabilities indicates that active exploitation is not documented.
Original advisory description
References
- WEB https://github.com/blakesmith/ar/issues/16
- WEB https://github.com/golang/vulndb/issues/6905
- PACKAGE https://github.com/blakesmith/ar
Source records: GHSA-8r27-mm5g-38ww (OSV.dev).