Skip to main content
Menu
CVEs

jackson-dataformat-protobuf denial of service via Protobuf length prefix allocation

Affects jackson-dataformat-protobuf 2.8.0 through 2.18.11, 2.19.0 through 2.21.7, 2.22.0 through 2.22.3, and 3.0.0 through 3.2.3 when decoding length-delimited bytes fields. Fixed in 2.18.12.

CVE-2026-104017EUVD-2026-140306Published December 1, 2026, updated

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

Summary

Jackson-dataformat-protobuf, a Java library for reading Protobuf data, can be made to allocate a huge byte array from a tiny crafted message length prefix. A remote attacker can send such a message without logging in, causing an out-of-memory error that crashes the request thread and denies service.

Written by a model

Original description

In jackson-dataformat-protobuf, ProtobufParser._finishBytes() allocates a byte[] from the attacker-controlled length prefix of a length-delimited bytes field before reading the body, without checking the length against the remaining input or the enclosing message. A message of about 6 bytes can force an allocation of about 2 GB, causing an OutOfMemoryError that escapes the parser and crashes the request thread (denial of service). This affects com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf 2.8.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-protobuf 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 FasterXML jackson-dataformat-protobuf (com.fasterxml or tools.jackson) that decode Protobuf bytes fields, on affected versions up to 2.18.11, 2.21.7, 2.22.3, 3.1.7 or 3.2.3

“Affected packages: com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf”

herodevs.com

What to do

  1. Check every install: default setups are affected.

  2. Upgrade to a fixed version: 2.18.12.

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-104017 (Unbounded byte[] allocation from Protobuf bytes length prefix in jackson-dataformat-protobuf), 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-104017 (entry last updated 2026-12-01):
Affected:
- FasterXML jackson-dataformat-protobuf: from 2.8.0, through 2.18.11; from 2.19.0, through 2.21.7; from 2.22.0, through 2.22.3
- FasterXML jackson-dataformat-protobuf: from 3.0.0, through 3.1.7; from 3.2.0, through 3.2.3
Fixed versions: 2.18.12.
Conditions (all must be true for the bug to be hit):
- Decodes Protobuf content containing a length-delimited bytes field using jackson-dataformat-protobuf (source: https://www.herodevs.com/vulnerability-directory/cve-2026-104017)
- Uses the FasterXML jackson-dataformat-protobuf package (source: https://www.herodevs.com/vulnerability-directory/cve-2026-104017)
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-104017 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-104017 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-ww35-763r-jg22
- https://github.com/FasterXML/jackson-dataformats-binary/pull/817
- https://www.herodevs.com/vulnerability-directory/cve-2026-104017
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-104017
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-104017"}.

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-ww35-763r-jg22
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-104017
RecordNVD · CVE-2026-104017
Other links 2
RepositoryGitHub · FasterXML/jackson-dataformats-binary · Pull request #817
Linkherodevs.com · vulnerability-directory/cve-2026-104017

Questions about CVE-2026-104017

Is CVE-2026-104017 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?

A crafted Protobuf message can declare a very large length for a bytes field. The library then allocates a byte array of that size, which can cause an OutOfMemoryError that crashes request threads and denies service.

Source: herodevs.com, github.com

Which versions are affected by CVE-2026-104017?

com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf: from 2.8.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-protobuf: 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?

Versions 2.8.0 through 2.18.11, 2.19.0 through 2.21.7, 2.22.0 through 2.22.3, and 3.0.0 through 3.2.3 of com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf are listed as affected. The issue is reached when an application decodes Protobuf content containing a length-delimited bytes field, so check the jackson-dataformat-protobuf version in your build file or dependency tree.

Source: herodevs.com, github.com

How do I fix CVE-2026-104017?

The listed fix is OSS Jackson 2.18.12. The facts name no fixed version for the 2.19, 2.22, or 3.x lines, so confirm the fixed version for your branch in the advisory before upgrading.

Source: herodevs.com, github.com

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