# CVE-2026-104015: Unbounded byte\[\] allocation from Avro bytes length prefix in jackson-dataformat-avro

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-12-01 · Modified: 2026-12-01
- Record: https://cvemate.com/vulnerability/CVE-2026-104015 · JSON: https://cvemate.com/vulnerability/CVE-2026-104015/json

## Description

```text
In jackson-dataformat-avro, decodeBytes() in both the default native decoder (JacksonAvroParserImpl) and the Apache-decoder variant (ApacheAvroParserImpl) allocates a byte[] directly from the attacker-controlled length prefix of an Avro bytes value, without checking it against the remaining input or any limit. A payload of about 5 bytes can force an allocation of up to about 2 GB before any data is read, causing an OutOfMemoryError and denial of service. Decimal fields decoded through decodeBytesDecimal are affected the same way. This affects com.fasterxml.jackson.dataformat:jackson-dataformat-avro 2.9.0 through 2.18.11, 2.19.0 through 2.21.7 and 2.22.0 through 2.22.3, and tools.jackson.dataformat:jackson-dataformat-avro 3.0.0 through 3.1.7 and 3.2.0 through 3.2.3. It is fixed in 2.18.12, 2.21.8, 2.22.4, 3.1.8 and 3.2.4.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.967%, percentile 62.977%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- fasterxml jackson-dataformat-avro: ≥ 2.9.0, ≤ 2.18.11 \| ≥ 2.19.0, ≤ 2.21.7 \| ≥ 2.22.0, ≤ 2.22.3 \| ≥ 3.0.0, ≤ 3.1.7 \| ≥ 3.2.0, ≤ 3.2.3

## References

- <https://github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA-gf9r-rhg2-fj5v>
- <https://github.com/FasterXML/jackson-dataformats-binary/pull/820>
- <https://www.herodevs.com/vulnerability-directory/cve-2026-104015>

---

Data as of 2026-12-05T03:48:30.390Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
