GO-2026-6905
Panic on negative member size in Reader.Read in github.com/blakesmith/ar
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Projects that depend on Go package github.com/blakesmith/ar
Vulnerability facts
- Affected
- github.com/blakesmith/ar
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/blakesmith/ar | — | — | osv |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by GO-2026-6905. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/GO-2026-6905.md Affected: github.com/blakesmith/ar Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for github.com/blakesmith/ar (Go): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is GO-2026-6905 being exploited?
There is no confirmed exploitation: GO-2026-6905 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is GO-2026-6905?
It has no CVSS score yet. Unknown.
Which versions are affected by GO-2026-6905?
github.com/blakesmith/ar.
Is there a fix for GO-2026-6905?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by GO-2026-6905?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.