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

Summary

CVECVE-2026-110747
StatePUBLISHED
AssignerHeroDevs
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-28 01:16:55 UTC
Updated2026-11-06 19:17:08 UTC
DescriptionProtobufParser._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. This is the same integer-overflow pattern addressed for other call sites in the remediation associated with CVE-2026-104016 and CVE-2026-104017; the map-key call site was corrected on the 3.x branches only, leaving the corresponding 2.x branches unguarded. Release lines 2.18, 2.19 and 2.20 do not contain _readStringKey() and are not affected by this vector. No privileges or user interaction beyond the ability to submit data for parsing are required. The 3.0 release line and 3.1.0-3.1.5 / 3.2.0-3.2.1 do not contain _readStringKey() and are therefore not affected; the method first appears in 3.1.6 and 3.2.2, mirroring its introduction at 2.21.6 on the 2.x side.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from 36c7be3b-2937-45df-85ea-ca7133ea542c

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS: 0.003870000 probability, percentile 0.331090000 (date 2026-11-08)

Problem Types: CWE-190 | CWE-190 CWE-190 Integer Overflow or Wraparound


VersionSourceTypeScoreSeverityVector
3.136c7be3b-2937-45df-85ea-ca7133ea542cSecondary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1CNACVSS7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

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

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA FasterXML Jackson-dataformat-protobuf affected 2.21.6 2.21.8 maven Not specified
CNA FasterXML Jackson-dataformat-protobuf unaffected 2.21.8 maven Not specified
CNA FasterXML Jackson-dataformat-protobuf affected 2.22.0 2.22.4 maven Not specified
CNA FasterXML Jackson-dataformat-protobuf unaffected 2.22.4 maven Not specified
CNA FasterXML Jackson-dataformat-protobuf affected 3.1.6 3.1.8 maven Not specified
CNA FasterXML Jackson-dataformat-protobuf unaffected 3.1.8 maven Not specified
CNA FasterXML Jackson-dataformat-protobuf affected 3.2.2 3.2.4 maven Not specified
CNA FasterXML Jackson-dataformat-protobuf unaffected 3.2.4 maven Not specified

References

ReferenceSourceLinkTags
github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA... 36c7be3b-2937-45df-85ea-ca7133ea542c github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: bewithyash (en)

CNA: cowtowncoder (Tatu Saloranta) (en)

Additional Advisory Data

SourceTimeEvent
CNA2026-10-20T22:45:00.000ZGHSA-fv7v-rrmh-4qcv published by the maintainer in FasterXML/jackson-dataformats-binary

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report