p PatchFirst

CVE-2026-110747

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

CVSS 7.5 · High · EPSS 0.5% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="jackson-dataformats-binary"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

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.

Published
Updated

Stack: system

Affected products and versions

  • jackson-dataformat-protobuf

    Versions
    • ≥ 2.21.6, < 2.21.8: Affected (maven)
    • 2.21.8: Not affected (maven)
    • ≥ 2.22.0, < 2.22.4: Affected (maven)
    • 2.22.4: Not affected (maven)

    Update to 2.21.8; Update to 2.22.4

  • jackson-dataformat-protobuf

    Versions
    • ≥ 3.1.6, < 3.1.8: Affected (maven)
    • 3.1.8: Not affected (maven)
    • ≥ 3.2.2, < 3.2.4: Affected (maven)
    • 3.2.4: Not affected (maven)

    Update to 3.1.8; Update to 3.2.4

  • jackson-dataformats-binary Debian 14

    Versions
    • 2.18.11-1
    Affected ranges
    • ECOSYSTEM: < 2.22.4-1

    Update to 2.22.4-1

Original sources

Check your server →