{"schemaVersion":4,"id":"CVE-2026-104015","aliases":[],"status":"published","duplicateOf":null,"title":"Unbounded byte[] allocation from Avro bytes length prefix in jackson-dataformat-avro","description":"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.","dates":{"published":"2026-12-01T15:25:30.800Z","modified":"2026-12-01T16:47:18.747Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00967,"percentile":0.62977,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-02T00:00:00.000Z","score":0.00967,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00967,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00967,"percentile":0.62977}],"last30":[{"date":"2026-12-02T00:00:00.000Z","score":0.00967,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00967,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00967,"percentile":0.62977}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value","description":"The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/789.html"}],"affected":[{"vendor":"fasterxml","product":"jackson-dataformat-avro","name":"jackson-dataformat-avro","label":"jackson-dataformat-avro","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.9.0, ≤ 2.18.11","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.9.0","startInclusive":true,"end":"2.18.11","endInclusive":true}},{"text":"≥ 2.19.0, ≤ 2.21.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.19.0","startInclusive":true,"end":"2.21.7","endInclusive":true}},{"text":"≥ 2.22.0, ≤ 2.22.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.22.0","startInclusive":true,"end":"2.22.3","endInclusive":true}},{"text":"≥ 3.0.0, ≤ 3.1.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.0.0","startInclusive":true,"end":"3.1.7","endInclusive":true}},{"text":"≥ 3.2.0, ≤ 3.2.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.2.0","startInclusive":true,"end":"3.2.3","endInclusive":true}}],"versionsText":"≥ 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","eol":null,"hubHref":"/vendor/fasterxml/jackson-dataformat-avro"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA-gf9r-rhg2-fj5v","label":"github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA-gf9r-rhg2-fj5v","hostname":"github.com","tags":[]},{"url":"https://github.com/FasterXML/jackson-dataformats-binary/pull/820","label":"github.com/FasterXML/jackson-dataformats-binary/pull/820","hostname":"github.com","tags":[]},{"url":"https://www.herodevs.com/vulnerability-directory/cve-2026-104015","label":"www.herodevs.com/vulnerability-directory/cve-2026-104015","hostname":"www.herodevs.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-01T15:25:30.800Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-01T16:47:18.747Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,1,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00967,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-01T16:47:18.747Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-01T16:47:18.747Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-01T16:47:12.855Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"}],"epss":{"value":0.00967,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:48:30.390Z","stale":false,"partial":false}}