GHSA-8r27-mm5g-38ww

Suggest an improvement
Source
https://github.com/advisories/GHSA-8r27-mm5g-38ww
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-8r27-mm5g-38ww/GHSA-8r27-mm5g-38ww.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8r27-mm5g-38ww
Downstream
CGA (2)
DHI (1)
Published
2026-12-01T01:27:06Z
Modified
2026-12-01T01:45:03Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
blakesmith/ar: Denial of service through negative archive-member size
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
{
    "cwe_ids":  [
        "CWE-129"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-12-01T01:27:06Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

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
Last Affected
0.0.0-20190502131153-809d4375e1fb3-809d4375e1fb

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-8r27-mm5g-38ww/GHSA-8r27-mm5g-38ww.json"