cve.bz

CVE-2026-104016 fasterxml jackson-dataformat-protobuf: Year 2038 problem, Y2K38, Y2038, Epochalypse

7.5 highEPSS 0.7%

High (7.5) in fasterxml jackson-dataformat-protobuf. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
ProtobufParser parses length-prefixed protobuf string and bytes fields by checking (_inputPtr + len) <= _inputEnd and then, on the fast path, calling _finishShortText(len). Both use 32-bit signed integer arithmetic. When an attacker supplies a varint decoding to a length near Integer.MAX_VALUE, _inputPtr + len overflows to a negative value, the bounds check passes, and _finishShortText(len) reaches TextBuffer.expandCurrentSegment(len), which performs Arrays.copyOf with no cap and throws OutOfMemoryError: Requested array size exceeds VM limit. The JVM refuses arrays larger than Integer.MAX_VALUE - 8 before consulting available heap, so -Xmx tuning does not mitigate the issue. StreamReadConstraints.maxStringLength and maxDocumentLength do not gate this path: a 33-byte payload is far below any document-length cap and the string-length check does not fire before the allocation. This was confirmed empirically against shipping artifacts with maxStringLength, maxDocumentLength and maxNestingDepth all configured. A February 2026 hardening commit added the equivalent overflow guard to the packed-array-length and message-length paths but left the string-length call sites unguarded. No privileges or user interaction beyond the ability to submit data for parsing are required.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago) estimated probability of exploitation activity in the next 30 days; 53rd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-11-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-104016 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-104016?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-104016?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-104016 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
FasterXML jackson-dataformat-protobuffrom 2.6.0 before 2.18.12
FasterXML jackson-dataformat-protobuffrom 2.19.0 before 2.21.8
FasterXML jackson-dataformat-protobuffrom 2.22.0 before 2.22.4
FasterXML jackson-dataformat-protobuffrom 3.0.0 before 3.1.8
FasterXML jackson-dataformat-protobuffrom 3.2.0 before 3.2.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14jackson-dataformats-binary2.22.4-1DEBIAN-CVE-2026-104016

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as having an Important impact because an unauthenticated remote attacker can crash the host Java virtual machine, causing a complete denial of service without requiring user interaction or special permissions. Red Hat integration services and middleware that consume external Protocol Buffers streams are directly exposed, as even minimal payloads can trigger unbounded internal buffer allocations. Standard parser restrictions and resource caps fail to intercept this condition, which elevates the risk above Moderate whenever endpoints accept untrusted binary input.

ProductPackageStateAdvisory
Red Hat Build of Apache Camel 3.33.4.SP1com.fasterxml.jackson.dataformat/jackson-dataformat-protobuf:2.21.8.redhat-00001Fixed 2026-10-27RHSA-2026:91304
Red Hat build of Apache Camel 4 for Quarkus 3jackson-dataformat-protobufAffected
Red Hat build of Apache Camel for Spring Boot 4jackson-dataformat-protobufAffected
Red Hat Fuse 7jackson-dataformat-protobufFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-104016.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON