Vulnerability · Published May 29, 2026 · Assigned by GitHub_M
CVE-2026-46384iskorotkov/avro: Integer Overflow in Avro Decoder
High 7.5
In plain English
A high-severity integer overflow in avro from iskorotkov. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/hamba/avro/v2 | no fix listed | GO-2026-5047 |
| Go | github.com/iskorotkov/avro/v2 | 2.33.0 | GHSA-mc57-h6j3-3hmv |
| Go | github.com/iskorotkov/avro/v2 | 2.33.0 | GO-2026-5047 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| iskorotkov | avro | < 2.33.0 |
Weakness: CWE-190 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/iskorotkov/avro/security/advisories/GHSA-mc57-h6j3-3hmv x_refsource_CONFIRM
- https://access.redhat.com/security/cve/CVE-2026-46384 vdb-entry, x_refsource_REDHAT
- RHBZ#2483482 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46384.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:48151 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41030 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:44622 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:47149 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53530 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41064 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:30651 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:57191 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60386 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42852 vendor-advisory, x_refsource_REDHAT