- Home
- Vulnerabilities
- CVE-2026-104015
CVE-2026-104015
Unbounded byte[] allocation from Avro bytes length prefix in jackson-dataformat-avro
Summary
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.
Affected products and versions
Fasterxml (5 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| jackson-dataformat-avro | from 2.9.0 (included) to 2.18.11 (included) |
— | CNA (vendor or assigner) |
| jackson-dataformat-avro | from 2.19.0 (included) to 2.21.7 (included) |
— | CNA (vendor or assigner) |
| jackson-dataformat-avro | from 2.22.0 (included) to 2.22.3 (included) |
— | CNA (vendor or assigner) |
| jackson-dataformat-avro | from 3.0.0 (included) to 3.1.7 (included) |
— | CNA (vendor or assigner) |
| jackson-dataformat-avro | from 3.2.0 (included) to 3.2.3 (included) |
— | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
Exploit reported by sources
These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.
Timeline
- — CVE published (cve)
References
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, CNA:36c7be3b-2937-45df-85ea-ca7133ea542c)- Weakness
- CWE-789 · Autre (CWE-789)