{"id":"CVE-2026-46385","summary":"iskorotkov/avro: CPU Exhaustion in Avro Decoder","details":"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.","aliases":["GHSA-w8j3-pq8g-8m7w"],"modified":"2026-07-08T08:13:38.611715251Z","published":"2026-05-29T19:58:59.667Z","database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46385.json","cwe_ids":["CWE-400"]},"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46385.json"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:30651"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-46385"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46385.json"},{"type":"ADVISORY","url":"https://github.com/iskorotkov/avro/security/advisories/GHSA-w8j3-pq8g-8m7w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46385"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2483475"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/iskorotkov/avro","events":[{"introduced":"0"},{"fixed":"f8ffedf1bdec78595dadf3c0cf2158b00d4e8acc"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"2.33.0"}]}}],"versions":["v2.32.0","v2.31.0","v2.30.0","v2.29.0","v2.28.0","v2.27.0","v2.26.0","v2.25.2","v2.25.1","v2.25.0","v2.24.1","v2.24.0","v2.23.0","v2.22.1","v2.22.0","v2.21.1","v2.21.0","v2.20.1","v2.20.0","v2.19.0","v2.18.0","v2.17.2","v2.17.1","v2.17.0","v2.16.0","v2.15.1","v2.15.0","v2.14.1","v2.14.0","v2.13.0","v2.12.0","v2.11.0","v2.10.0","v2.9.0","v2.8.1","v2.8.0","v2.7.0","v2.6.0","v2.5.0","v2.4.0","v2.3.0","v2.2.0","v2.1.0","v2.0.2","v2.0.1","v2.0.0","v1.8.0","v1.7.0","v1.6.6","v1.6.5","v1.6.4","v1.6.3","v1.6.2","v1.6.1","v1.6.0","v1.5.6","v1.5.5","v1.5.4","v1.5.3","v1.5.2","v1.5.1","v1.5.0","v1.4.0","v1.3.0","v1.2.1","v1.2.0","v1.1.2","v1.1.1","v1.1.0","v1.0.0","v0.7.0","v0.6.0","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.2","v0.4.1","v0.4.0","v0.3.1","v0.3.0","v0.2.0","v0.1.0","v0.0.5","v0.0.4","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46385.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}