GO-2026-6905

Source
https://pkg.go.dev/vuln/GO-2026-6905
Import Source
https://vuln.go.dev/ID/GO-2026-6905.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-6905
Published
2026-11-05T22:55:15Z
Modified
2026-11-05T23:15:18Z
Summary
Panic on negative member size in Reader.Read in github.com/blakesmith/ar
Details

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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2026-6905"
}
References
Credits
    • JayOfTheKeyboard

Affected packages

Go / github.com/blakesmith/ar

Package

Name
github.com/blakesmith/ar
View open source insights on deps.dev
Purl
pkg:golang/github.com/blakesmith/ar

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/blakesmith/ar",
            "symbols": [
                "Reader.Read"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-6905.json"