Skip to main content

jackson-dataformat-protobuf CVE-2026-104017

| EUVDEUVD-2026-140306 HIGH
Memory Allocation with Excessive Size Value (CWE-789)
2026-12-01 HeroDevs
7.5
CVSS 3.1 · Vendor: HeroDevs
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach endpoint parsing untrusted protobuf
  2. Delivery
    Send ~6-byte crafted bytes field
  3. Exploit
    Oversized length prefix triggers eager byte[] allocation
  4. Execution
    OutOfMemoryError escapes parser
  5. Impact
    Request thread/heap exhausted (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
Exploitation Conditions

The affected application must parse attacker-controlled protobuf input through jackson-dataformat-protobuf's ProtobufParser (e.g. ProtobufMapper.readerFor(...).readValue(payload)), specifically a length-delimited BYTES field whose length prefix the attacker controls; _decodeLength() returns a positive int up to Integer.MAX_VALUE with no bound against remaining input or the enclosing MESSAGE end offset (the _currentEndOffset checks cover embedded MESSAGE fields only, not BYTES), so _finishBytes allocates new byte[len] before reading the body. No authentication is required (PR:N) and default configurations are vulnerable; the only real limiting factor is that the service must accept and deserialize untrusted protobuf with this library - applications that never parse attacker-supplied protobuf are not exposed. Affected: com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf 2.8.0-2.18.11, 2.19.0-2.21.7, 2.22.0-2.22.3 and tools.jackson.dataformat:jackson-dataformat-protobuf 3.0.0-3.1.7, 3.2.0-3.2.3; fixed in 2.18.12, 2.21.8, 2.22.4, 3.1.8 and 3.2.4. Updating to a fixed version is the remediation stated by the vendor.

Impact

Signals are largely consistent and point to a genuine, if non-critical, denial-of-service priority. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H = 7.5) describes a remote, unauthenticated, low-complexity attack with availability-only impact, which matches CWE-789 (memory allocation with excessive size) and the described ~6-byte-message-forces-~2GB-allocation OOM. SSVC reinforces this: Exploitation=poc, Automatable=yes (a single tiny crafted message repeated under light concurrency), Technical Impact=partial (crashes the request thread/heap, no data compromise). The vuln.today decision label is 'this_week' rather than act_now/emergency, consistent with a serious-but-not-actively-exploited availability bug. No EPSS score was supplied, so statistical exploitation probability cannot be weighed. There is no CISA KEV listing and no confirmed working exploit, only a detailed public PoC reference (exact reproduction bytes in the GHSA advisory); this is therefore not a confirmed in-the-wild threat but is highly reproducible and automatable, so it should be treated as a real patching priority for any service that parses untrusted protobuf with this library. Note the impact ceiling is availability only - confidentiality and integrity are N - so this is a crash/resource-exhaustion issue, not RCE.

Exploit ScenarioDerived

An application exposes an endpoint that deserializes untrusted protobuf input using jackson-dataformat-protobuf. A remote unauthenticated attacker sends a ~6-byte message whose length-delimited bytes field declares a length of up to Integer.MAX_VALUE (e.g. ~300MB or ~2GB), causing the parser to eagerly allocate that byte[] before reading the (absent) body, producing an OutOfMemoryError that escapes the parser contract and crashes request threads. A detailed public PoC with exact wire bytes exists in the vendor advisory; repeating mid-size requests under light concurrency reliably exhausts the heap.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Out-of-memory denial of service in 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 the tools.jackson 3.0.0 through 3.1.7 / 3.2.0 through 3.2.3 lines) lets unauthenticated remote attackers crash request threads by supplying a tiny length-delimited protobuf bytes field whose length prefix claims a huge payload. Because ProtobufParser._finishBytes() allocates the byte[] from that prefix before reading any body, a roughly 6-byte message can force a ~2 GB allocation and a reliably heap-exhausting mid-size prefix defeats light concurrency, producing an OutOfMemoryError that escapes the parser as an Error rather than a JacksonException (CVSS 3.1 7.5, availability-only). The vendor advisory publishes exact reproduction bytes, so a public PoC reference exists; CISA KEV does not list this issue and exploitation is not confirmed to be active, and remediation to 2.18.12, 2.21.8, 2.22.4, 3.1.8 or 3.2.4 is prioritized for this week.

RemediationAI

Update to a fixed release on your branch: 2.18.12 for the 2.8.0-2.18.11 line, 2.21.8 for 2.19.0-2.21.7, 2.22.4 for 2.22.0-2.22.3, and 3.1.8 or 3.2.4 for the tools.jackson 3.0.0-3.1.7 and 3.2.0-3.2.3 lines respectively; the vendor states that updating is the remediation, and the upstream change is in PR 817 (advisory GHSA-ww35-763r-jg22). The patched code refuses to pre-allocate a declared bytes length larger than the buffered input and instead streams the value into a ByteArrayBuilder, aborting with an expected-versus-actual length error at end-of-input, so a bogus prefix no longer drives a multi-gigabyte allocation. Because the vulnerability is only reachable when untrusted protobuf is deserialized with this library, confirming which endpoints feed attacker-controlled bytes into ProtobufMapper is the way to scope urgency; there is no library configuration flag documented in the available sources that caps the allocation, so patch deployment is the complete fix rather than a workaround.

Affected VersionsENISA

jackson-dataformat-protobuf 2.19.0 ≤2.21.7
jackson-dataformat-protobuf 3.0.0 ≤3.1.7
jackson-dataformat-protobuf 2.22.0 ≤2.22.3
jackson-dataformat-protobuf 3.2.0 ≤3.2.3
jackson-dataformat-protobuf 2.8.0 ≤2.18.11

Affected Packages

euvd jackson_dataformat_protobuf no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Jackson's Protobuf dataformat decodes length-delimited wire-type fields by reading a varint length prefix through _decodeLength() and storing it in _decodedLength. For BYTES fields that value is fully attacker-controlled and can reach Integer.MAX_VALUE; the parser's _currentEndOffset checks only constrain embedded MESSAGE fields, so no bound is applied against the remaining input or the enclosing message before _finishBytes() executes new byte[len]. This is CWE-789 (memory allocation with excessively large size value), the same class as the HIGH-rated CBOR issue CVE-2020-28491 in the same library, which was fixed with a LONGEST_NON_CHUNKED_BINARY guard that the Protobuf parser never received. The upstream fix in PR 817 stops trusting the declared length for up-front allocation: if the declared length exceeds buffered content it routes to _finishLongBytes(), which accumulates bytes incrementally in a ByteArrayBuilder and fails at end-of-input via _loadMoreForLongValue() with an 'expected N bytes, only found M' error, while fully buffered values are copied with System.arraycopy after the length is verified against _inputEnd - _inputPtr. The same PR adds integer-overflow guards for packed-array and embedded-message end offsets (checking newEnd < _inputPtr) and converts several string paths from '(_inputPtr + len) <= _inputEnd' to 'len <= (_inputEnd - _inputPtr)'; the precise trigger conditions for those additional overflow paths are not described in the available sources. The DoS characteristic that matters operationally is that OutOfMemoryError is a JVM Error, so it bypasses Jackson's exception contract and can terminate the request thread rather than being handled as a parse failure.

Know when Jackson Dataformat Protobuf gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (HeroDevs) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Remote unauthenticated parsing of untrusted protobuf (AV:N/AC:L/PR:N/UI:N) triggers an eager allocation OOM; impact is availability-only (A:H), no confidentiality or integrity effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (HeroDevs).

CVSS VectorVendor: HeroDevs

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A denial-of-service vulnerability in the widely used Jackson protobuf parsing library affects all recent versions and allows any unauthenticated attacker to exhaust server memory with a tiny crafted message, crashing request-processing threads. Leadership should prioritize this because a single malicious request can take down services, causing operational disruption and potential customer impact across applications that deserialize protobuf data.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include restricting network access to protobuf-parsing endpoints, enforcing strict message size limits at the gateway, lowering memory allocation quotas, and increasing heap monitoring to detect and isolate crash attempts.

Threat Intelligence Overview

Prevalence
Medium
optional Jackson binary dataformat module, used only where protobuf parsing is needed
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy