Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-104016

published high CVSS 3.1 · 7.5

jackson-dataformat-protobuf: signed integer overflow in string-length paths allows unbounded array allocation and OutOfMemoryError

Published
27 Oct 2026, 23:52:20 UTC
Updated
04 Nov 2026, 20:20:12 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
FasterXML — com.fasterxml.jackson.dataformat:jackson-dataformat-protobufjackson-dataformat-protobuf · 2.6.0 to < 2.18.12 (affected · maven) · 2.18.12 (unaffected · maven) · 2.19.0 to < 2.21.8 (affected · maven) · 2.21.8 (unaffected · maven) · 2.22.0 to < 2.22.4 (affected · maven) · 2.22.4 (unaffected · maven) · Other versions: unaffected Version-specific Not stated HeroDevs
FasterXML — tools.jackson.dataformat:jackson-dataformat-protobufjackson-dataformat-protobuf · 3.0.0 to < 3.1.8 (affected · maven) · 3.1.8 (unaffected · maven) · 3.2.0 to < 3.2.4 (affected · maven) · 3.2.4 (unaffected · maven) · Other versions: unaffected Version-specific Not stated HeroDevs

Description

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.

en · HeroDevs · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
HeroDevs · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
FasterXML jackson-dataformat-protobuf 2.6.0 to < 2.18.12 (affected · maven)2.18.12 (unaffected · maven)2.19.0 to < 2.21.8 (affected · maven)2.21.8 (unaffected · maven)2.22.0 to < 2.22.4 (affected · maven)2.22.4 (unaffected · maven)Default: unaffected HeroDevs · cna
FasterXML jackson-dataformat-protobuf 3.0.0 to < 3.1.8 (affected · maven)3.1.8 (unaffected · maven)3.2.0 to < 3.2.4 (affected · maven)3.2.4 (unaffected · maven)Default: unaffected HeroDevs · cna

Weaknesses

1
  • CWE-190 CWE-190 Integer Overflow or Wraparound (HeroDevs · cna)

References

1
  • GHSA-c2rq-mcfv-jw29 https://github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA-c2rq-mcfv-jw29 vendor-advisory Contributors: HeroDevs (cna)

Provider assertions

2

HeroDevs · cna

jackson-dataformat-protobuf: signed integer overflow in string-length paths allows unbounded array allocation and OutOfMemoryError

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
77ee2a7116953f1debd541cc4a63af45317ba9c4412e9be98769db4c2358f4ff
Ingested
04 Nov 2026, 20:27:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected