{"id":"CVE-2026-46385","published":"2026-05-29T19:58:59Z","modified":"2026-09-09T12:05:07Z","title":"iskorotkov/avro: CPU Exhaustion in Avro Decoder","vendor":"iskorotkov","product":"avro","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00614,"percentile":0.5035,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/iskorotkov/avro/security/advisories/GHSA-w8j3-pq8g-8m7w","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-46385","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2483475","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46385.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:48151","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:41030","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:44622","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:47149","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:53530","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:41064","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30651","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:57191","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60386","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:42852","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":10.07},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"iskorotkov","affectedVersions":[{"vendor":"iskorotkov","product":"avro","versions":["< 2.33.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-01T16:22:43.598595Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/iskorotkov/avro/v2","vulnerableRanges":["<2.33.0"],"patched":["2.33.0"],"from":["GHSA-w8j3-pq8g-8m7w","GO-2026-5046"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/hamba/avro/v2","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5046"],"provenance":"source"}],"summary":{"text":"The iskorotkov/avro Go Avro codec, prior to version 2.33.0, has an array and map decoder that loops over an attacker-controlled block-count without checking the reader's error state, so a crafted block count can cause unbounded CPU consumption. An remote, unauthenticated attacker needs only to send a single hostile payload declaring a huge block count followed by EOF or a truncated payload, requiring no authentication, user interaction, or special configuration, to pin a CPU core until the process is killed externally.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:10:15Z"},"euvd":{"id":"EUVD-2026-33444","exploited":false,"provenance":"source"}}