CVE-2026-46384
iskorotkov/avro: Integer Overflow in Avro Decoder
- State
- Published
- Severity
- 8.7 High
- Published
- May 29, 2026
- Updated
- Sep 9, 2026
- Reserved
- May 13, 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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | GitHub_M |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat-SADP |
Weaknesses
- CWE-190 Integer Overflow or Wraparound
Affected Products
| Product | Versions |
|---|---|
avroiskorotkov |
|
References
- https://github.com/iskorotkov/avro/security/advisories/GHSA-mc57-h6j3-3hmv
- https://access.redhat.com/security/cve/CVE-2026-46384vdb-entry
- RHBZ#2483482issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46384.json
- https://access.redhat.com/errata/RHSA-2026:48151vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:41030vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:44622vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:47149vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:53530vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:41064vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:30651vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:57191vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:60386vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42852vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.