Security mailing lists by PureSourceCode

GO-2026-6905

not scored yet

Panic on negative member size in Reader.Read in github.com/blakesmith/ar

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
5 Nov 2026
Last modified
24 Nov 2026
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/blakesmith/ar all versions

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Nov 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.