All vulnerabilities

Maven

CVE-2026-110747

jackson-dataformat-protobuf: integer overflow in ProtobufParser._readStringKey() allows OutOfMemoryError from an 8-byte payload

Severity
High 7.5
Published
28 Oct 2026
Last changed
6 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
2.21.8, 2.22.4, 3.1.8, 3.2.4
Exploit chance
0.4% in the next 30 daysHigher than 33% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Integer overflow (CWE-190)
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Sources
CVE Program

Description

ProtobufParser._readStringKey() reads the length prefix of a protobuf map entry's string key into an attacker-controlled int and then checks (_inputPtr + len) <= _inputEnd using signed arithmetic. For values near Integer.MAX_VALUE the addition overflows to a negative value and the check passes even when the input contains no key data. The parser then calls _finishShortText(len), which expands the text buffer to the declared length via TextBuffer.expandCurrentSegment and Arrays.copyOf, throwing OutOfMemoryError: Requested array size exceeds VM limit.

An 8-byte malformed message containing a map entry with a declared key length of 0x7FFFFFFF is sufficient. Configured StreamReadConstraints, including maxStringLength, maxNameLength, maxDocumentLength and maxNestingDepth, do not prevent the failure. Applications running with -XX:+ExitOnOutOfMemoryError terminate the JVM.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
com.fasterxml.jackson.dataformat:jackson-dataformat-protobufMaven · osv:Maven:com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf
  • From 2.21.6 before 2.21.8
  • From 2.22.0 before 2.22.4
tools.jackson.dataformat:jackson-dataformat-protobufMaven · osv:Maven:tools.jackson.dataformat:jackson-dataformat-protobuf
  • From 3.1.6 before 3.1.8
  • From 3.2.2 before 3.2.4

About com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf

Vulnerabilities in com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
2
Known exploited
0
Search the list for com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf

About tools.jackson.dataformat:jackson-dataformat-protobuf

Vulnerabilities in tools.jackson.dataformat:jackson-dataformat-protobuf

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
2
Known exploited
0
Search the list for tools.jackson.dataformat:jackson-dataformat-protobuf

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-110747