Skip to main content
Menu
CVEs

jackson-dataformat-avro denial of service in Avro bytes and decimal decoding

Affects jackson-dataformat-avro 2.9.0 through 2.22.3 and 3.0.0 through 3.2.3 when parsing Avro data with a bytes field in the schema. Listed fixes are 2.18.12, 2.21.8 and 2.22.4.

CVE-2026-104015EUVD-2026-140305Published December 1, 2026, updated

7.5HighCNA
Exploited
Proof of concept public, per CISA
Fix
Fixed in 2.18.12, 2.21.8, 2.22.4
Who is exposed
Default setups

Summary

The jackson-dataformat-avro library, published under both the FasterXML and tools.jackson package names, can be made to allocate a very large byte array while decoding Avro bytes or decimal fields. An attacker can send remotely, without logging in, a payload of about 5 bytes whose length prefix forces an allocation of up to about 2 GB, which can crash the application with an out-of-memory error and cause denial of service.

Written by a model

Original 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.

Who should check

Teams running jackson-dataformat-avro (com.fasterxml.jackson.dataformat or tools.jackson.dataformat) that parse untrusted Avro data with a schema containing bytes fields

“against a schema that contains a bytes field”

herodevs.com

What to do

  1. Check every install: default setups are affected.

  2. Upgrade to a fixed version: 2.18.12, 2.21.8, 2.22.4.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-104015 (Unbounded byte[] allocation from Avro bytes length prefix in jackson-dataformat-avro), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-104015 (entry last updated 2026-12-01):
Affected:
- FasterXML jackson-dataformat-avro: from 2.9.0, through 2.18.11; from 2.19.0, through 2.21.7; from 2.22.0, through 2.22.3
- FasterXML jackson-dataformat-avro: from 3.0.0, through 3.1.7; from 3.2.0, through 3.2.3
Fixed versions: 2.18.12, 2.21.8, 2.22.4.
Conditions (all must be true for the bug to be hit):
- Parsing Avro data with a schema that contains a bytes field (source: https://www.herodevs.com/vulnerability-directory/cve-2026-104015)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-104015 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-104015 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- 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
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-104015
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-104015"}.

Affected versions

cve.now Index

48Pof 100 · provisional · methodology v3
  • Exploitation15/40CISA rates a proof of concept as public
  • Exposure25/25Default setups, CISA rates it automatable
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity7.5/10CVSS 7.5
  • No patch0/5No signal

What would change the score

  • Would score about 73 if added to CISA KEV
  • Would score about 68 if CISA's SSVC rates exploitation active

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  4. Record last updated

Evidence 5

KindSource
Vendor advisory 1Establishes: Affected and fixed versions.
AdvisoryGitHub · FasterXML/jackson-dataformats-binary · Advisory GHSA-gf9r-rhg2-fj5v
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-104015
RecordNVD · CVE-2026-104015
Other links 2
RepositoryGitHub · FasterXML/jackson-dataformats-binary · Pull request #820
Linkherodevs.com · vulnerability-directory/cve-2026-104015

Questions about CVE-2026-104015

Is CVE-2026-104015 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. CISA's SSVC assessment notes a proof of concept exists. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

Parsing Avro data against a schema with a bytes field lets a small payload force a very large byte array allocation. This can cause an OutOfMemoryError and a denial of service.

Source: herodevs.com, github.com

Which versions are affected by CVE-2026-104015?

com.fasterxml.jackson.dataformat:jackson-dataformat-avro: from 2.9.0 through 2.18.11; from 2.19.0 through 2.21.7; from 2.22.0 through 2.22.3. tools.jackson.dataformat:jackson-dataformat-avro: from 3.0.0 through 3.1.7; from 3.2.0 through 3.2.3.

Source: cve.now feed data

Am I affected, and how do I check?

Affected ranges are 2.9.0 through 2.18.11, 2.19.0 through 2.21.7, 2.22.0 through 2.22.3, 3.0.0 through 3.1.7, and 3.2.0 through 3.2.3. Check the jackson-dataformat-avro version in the project's dependency list and whether its Avro schemas contain a bytes field.

Source: herodevs.com, github.com

How do I fix CVE-2026-104015?

Move to 2.18.12, 2.21.8 or 2.22.4, the listed fixed versions for the 2.x lines. The facts name no fixed 3.x release, so no 3.x upgrade target is given.

Source: herodevs.com, github.com

No corrections so far. Something wrong on this page? Report an error.