Security mailing lists by PureSourceCode

GHSA-8r27-mm5g-38ww

HIGH 7.5CVSS 3.1

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

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.

Published
1 Dec 2026
Last modified
1 Dec 2026
Weakness
CWE-129
Sources
OSVJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/blakesmith/ar <= 0.0.0-20190502131153-809d4375e1fb3-809d4375e1fb

References

History

  • 1 Dec 2026 02:22 UTC · OSV: first stored (published 1 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.