Vulnerability · Published May 29, 2026 · Assigned by GitHub_M
CVE-2026-46385iskorotkov/avro: CPU Exhaustion in Avro Decoder
High 7.5
In plain English
A high-severity uncontrolled resource consumption in avro from iskorotkov. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% 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, the Avro array and map decoders looped over an attacker-controlled block-count value without checking the underlying reader's error state inside the loop body. Reader.ReadBlockHeader returns the count as a Go int, which is 64-bit on amd64 / arm64 targets — so a producer can declare a block of up to math.MaxInt64 (~9.2 × 10¹⁸) elements followed by EOF (or any truncated payload), and the decoder will attempt that many no-op iterations before propagating the error. The realistic ceiling is "indefinite until the worker is killed externally" — a single hostile payload pins a CPU core until the process is OOM-killed, deadline-cancelled, or terminated. Remote, unauthenticated denial-of-service. 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-5046 |
| Go | github.com/iskorotkov/avro/v2 | 2.33.0 | GHSA-w8j3-pq8g-8m7w |
| Go | github.com/iskorotkov/avro/v2 | 2.33.0 | GO-2026-5046 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| iskorotkov | avro | < 2.33.0 |
Weakness: CWE-400, CWE-835 · 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-w8j3-pq8g-8m7w x_refsource_CONFIRM
- https://access.redhat.com/security/cve/CVE-2026-46385 vdb-entry, x_refsource_REDHAT
- RHBZ#2483475 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46385.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