{"id":"CVE-2026-104015","aliases":["CVE-2026-104015"],"related":[],"kind":"vulnerability","state":"published","title":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-12-01T15:25:30.800Z","modified":"2026-12-01T16:47:18.747Z","severity":{"scorer":"HeroDevs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"HeroDevs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-789"],"affected":[{"ranges":[{"type":"maven","introduced":"2.9.0","lastAffected":"2.18.11","status":"affected"},{"type":"maven","introduced":"2.19.0","lastAffected":"2.21.7","status":"affected"},{"type":"maven","introduced":"2.22.0","lastAffected":"2.22.3","status":"affected"}],"vendor":"FasterXML","product":"jackson-dataformat-avro","package":"com.fasterxml.jackson.dataformat:jackson-dataformat-avro","repo":"https://github.com/FasterXML/jackson-dataformats-binary","source":"cvelist"},{"ranges":[{"type":"maven","introduced":"3.0.0","lastAffected":"3.1.7","status":"affected"},{"type":"maven","introduced":"3.2.0","lastAffected":"3.2.3","status":"affected"}],"vendor":"FasterXML","product":"jackson-dataformat-avro","package":"tools.jackson.dataformat:jackson-dataformat-avro","repo":"https://github.com/FasterXML/jackson-dataformats-binary","source":"cvelist"}],"references":[{"url":"https://github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA-gf9r-rhg2-fj5v","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FasterXML/jackson-dataformats-binary/pull/820","tags":[],"sources":["cvelist","nvd"]},{"url":"https://www.herodevs.com/vulnerability-directory/cve-2026-104015","tags":[],"sources":["cvelist","nvd"]}],"credits":["apvxlab (AppViewX security research)"],"assigner":"HeroDevs","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-12-01T16:47:12.855Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-104015","url":"https://www.cve.org/CVERecord?id=CVE-2026-104015","licence":"CVE Terms of Use","modified":"2026-12-01T16:47:18.747Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-104015","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104015","licence":"Public domain","modified":"2026-12-01T16:18:06.827Z"}],"updatedAt":"2026-12-01T16:57:01.496Z"}