Skip to main content
VulnerabilityPublished

github.com/blakesmith/ar · blakesmith/ar: Denial of service through negative archive-member size

Affects github.com/blakesmith/arSource GCVE Database

0

CVSS 7.5 High.

Data as of 1 Dec 2026, 03:50 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What to do

Affected software

ProductAffectedFixed in
Gogithub.com/blakesmith/arAffected
  • <=0.0.0-20190502131153-809d4375e1fb3-809d4375e1fb
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should monitor the vendor or repository for updates addressing this issue. Until a fix is released, avoid processing untrusted archive files with this library to mitigate risk.

Description

The blakesmith/ar Go library contains a vulnerability in its Reader.Next function where it improperly parses the archive member size field, allowing negative values. This leads to a negative remaining byte count and causes a panic due to a slice bounds out of range error during reading, resulting in a denial of service.

References

Community reviews

Loading reviews…