CVE-2026-46384
Severity CVSS v4.0:
HIGH
Type:
CWE-190
Integer Overflow or Wraparound
Publication date:
29/05/2026
Last modified:
30/06/2026
Description
iskorotkov/avro is a fast Go Avro codec. Prior to 2.33.0, 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 (GOARCH=386, arm, mips, wasm, etc.), the truncation paths can silently bypass byte-slice limits, select the wrong union branch, or hit the OCF negative-make panic via wrap. Three sub-issues are not 32-bit-specific: cumulative-size arithmetic overflow in arrayDecoder.Decode / mapDecoder.Decode / mapDecoderUnmarshaler.Decode (wraps at math.MaxInt64 on amd64 / arm64 and bypasses MaxSliceAllocSize / MaxMapAllocSize), math.MinInt negation in block-header handling, and make([]byte, size) with a negative size in OCF block reads — all three panic or bypass caps on any platform, giving an attacker a denial-of-service primitive there. This vulnerability is fixed in 2.33.0.
Impact
Base Score 4.0
8.70
Severity 4.0
HIGH
Base Score 3.x
7.50
Severity 3.x
HIGH
References to Advisories, Solutions, and Tools
- https://github.com/iskorotkov/avro/security/advisories/GHSA-mc57-h6j3-3hmv
- https://access.redhat.com/errata/RHSA-2026:30651
- https://access.redhat.com/security/cve/CVE-2026-46384
- https://bugzilla.redhat.com/show_bug.cgi?id=2483482
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46384.json



