github.com/iskorotkov/avro/v2
Affected
- introduced
0, fixed2.33.0(semver)
Fixed versions
2.33.0
Fix
- Fixed version
2.33.0go get github.com/iskorotkov/avro/[email protected]
Advisory
Also known as: CVE-2026-46384, GHSA-mc57-h6j3-3hmv
Integer overflow in Avro decoder in github.com/iskorotkov/avro/v2 and github.com/hamba/avro/v2
Several Avro decoder paths read attacker-controlled 64-bit values from the wire format and either narrowed them to platform-sized int before bounds-checking, or summed them with overflow-prone signed-int arithmetic. On 32-bit targets, the truncation paths can silently bypass byte-slice limits, select the wrong union branch, or hit a negative-make panic via wrap.
Three sub-issues are not 32-bit-specific: cumulative-size arithmetic overflow in array and map decoders, negation of MinInt in block-header handling, and negative size in block reads. All three panic or bypass caps on any platform, giving an attacker a denial-of-service primitive. Exploitation requires only an untrusted Avro stream.
Not rated by the source.
0, fixed 2.33.0 (semver)2.33.0
2.33.0go get github.com/iskorotkov/avro/[email protected]0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0