Patch Ticker
EnglishEN
Elevated

jackson-dataformat-avro allocates memory from an unchecked Avro length prefix

CVE-2026-104015

Java programs reading outside data can be stopped by one small file.

CVE
CVE-2026-104015 (opens in a new tab)
Score
CVSS 7.5
First seen

Mitigation

Update to the fixed version for the line you use. Find your product's fixed version in the list below.

Fixed version by product

FasterXML jackson-dataformat-avro 2.18
2.18.12 or later
FasterXML jackson-dataformat-avro 2.21
2.21.8 or later
FasterXML jackson-dataformat-avro 2.22
2.22.4 or later
FasterXML jackson-dataformat-avro 3.1
3.1.8 or later
FasterXML jackson-dataformat-avro 3.2
3.2.4 or later

Summary

jackson-dataformat-avro does not check the byte length prefix in Avro data, so a payload of about 5 bytes can force an allocation of about 2GB. Programs that use this library are affected, and a memory exhaustion error can stop the service.

Affected when

  • The program reads untrusted Avro data
  • It decodes Avro bytes or decimal fields

Incidents by product: jackson-dataformat-avro

All Incidents of 2026-12-02

Read the write-up · github.com (opens in a new tab)