Skip to main content
Public proof of conceptAwaiting NVD analysis

CVE-2026-104017

Unbounded byte[] allocation from Protobuf bytes length prefix in jackson-dataformat-protobuf

A public proof of concept exists; no exploitation attested.

  • Published2026-12-01
  • WeaknessCWE-789

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-12-0115:26CVE publishedCNA

Versions per branch

Products declared by the CNA

As HeroDevs, the CNA that assigned this CVE, declared them in the CVE record; versions as written. NVD lists no product for this CVE yet: this is the only product data so far.

  • FasterXML jackson-dataformat-protobufother versions: not affected

    package com.fasterxml.jackson.dataformat:jackson-dataformat-protobufhttps://github.com/FasterXML/jackson-dataformats-binary

    Affected
    • ≥ 2.8.0, ≤ 2.18.11no fix statedmaven
    • ≥ 2.19.0, ≤ 2.21.7no fix statedmaven
    • ≥ 2.22.0, ≤ 2.22.3no fix statedmaven
  • FasterXML jackson-dataformat-protobufother versions: not affected

    package tools.jackson.dataformat:jackson-dataformat-protobufhttps://github.com/FasterXML/jackson-dataformats-binary

    Affected
    • ≥ 3.0.0, ≤ 3.1.7no fix statedmaven
    • ≥ 3.2.0, ≤ 3.2.3no fix statedmaven

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-12-01

Neither OSV.dev nor the vendor advisories we read list affected versions for CVE-2026-104017 yet.

Full record on NVD

Fix

No fix published by the sources we read yet. NVD record

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE record2026-12-01
  • CISA-ADPSSVC decisionpoc2026-12-01
  • CNACVSS 3.17.52026-12-01
  • CNAweakness (CWE)CWE-7892026-12-01

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2026-12-01

Frequently asked questions

What is CVE-2026-104017?

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.

Is CVE-2026-104017 actively exploited?

A proof-of-concept exploit exists for CVE-2026-104017, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-104017?

CVE-2026-104017 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record