All vulnerabilities

Go

GHSA-8r27-mm5g-38ww

blakesmith/ar: Denial of service through negative archive-member size

Severity
High 7.5
Published
1 Dec 2026
Last changed
1 Dec 2026
Added to UpHeron
1 Dec 2026
Weakness
CWE-129
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Sources
OSV.dev and GitHub

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.

From the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
github.com/blakesmith/arGo · osv:Go:github.com/blakesmith/ar
  • Every version up to 0.0.0-20190502131153-809d4375e1fb3-809d4375e1fb

About github.com/blakesmith/ar

This is the only vulnerability in github.com/blakesmith/ar in our list.

References