CVE-2026-46384
HighCVSS 7.5Exploitation Probability (EPSS)
Low risk32th percentile - higher than 32% of all known CVEs
Summary
In the iskorotkov/avro library for Go, a vulnerability was found due to errors in handling 64-bit values during decoding. On 32-bit platforms and in several cases on all platforms, an attacker can bypass buffer boundary checks, select the wrong union branch, or trigger a panic (denial of service).
Risk Assessment
An attacker can remotely crash the application (DoS) or potentially exploit the errors to compromise data integrity, threatening the availability and correctness of Avro data processing.
Recommendation
Immediately update the iskorotkov/avro library to version 2.33.0 or later, which contains fixes for all described issues.
Original NVD description (English source)
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.

