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

Published Oct 28, 2026
·
Updated

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.MAXVALUE 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.

Affected Software

1 affected component
maven/com.fasterxml.jackson.dataformat/jackson-dataformat-protobuf>=2.21.6, >=3.1.6, >=3.2.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade jackson-dataformat-protobuf to a version that resolves this vulnerability.

    Fixed in 3.1.5

Event History

Oct 28, 2026
CVE Published
via MITRE·12:02 AM
Data Sourced
via MITRE·12:02 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions are required for exploitation?

An attacker only needs to supply a malformed protobuf message that reaches ProtobufParser._readStringKey(). The issue is remotely reachable with low complexity, requires no privileges or user interaction, and an 8-byte payload with a declared map-key length of 0x7FFFFFFF is sufficient.

2

Do StreamReadConstraints mitigate this issue?

No. Configured maxStringLength, maxNameLength, maxDocumentLength, and maxNestingDepth limits do not prevent this failure because the signed integer overflow occurs before the parser expands the text buffer.

3

What is the operational impact?

The parser can attempt to allocate an impossibly large text buffer and throw OutOfMemoryError, causing denial of service. If the JVM uses -XX:+ExitOnOutOfMemoryError, the application JVM terminates.

4

Which release lines are stated not to contain the vulnerable method?

Release lines 2.18, 2.19, and 2.20 do not contain _readStringKey(). The provided information states that the corresponding 2.x branches with this call site remain unguarded, while the map-key call site was corrected on 3.x branches only.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203