p PatchFirst

CVE-2026-104016

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

CVSS 7.5 · Élevée · EPSS 0,5% · Code d’exploitation public · Correctif disponible

Comparez avec votre version installée

Les produits concernés et les versions corrigées connues sont des informations publiques. Comparez-les avec votre version installée.

Vérifiez la version installée :

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

Évaluez les risques de votre serveur

La vérification gratuite donne une note et un résumé des risques par pile technologique, sans inscription. Elle ne précise pas si cette vulnérabilité particulière vous concerne.

La surveillance compare les informations publiques aux logiciels de vos serveurs. Elle fournit les résultats détaillés et l’ordre des mises à jour.

curl -fsSL https://patchfirst.dev/check.sh | sh
Vérifier mon serveur gratuitement →

Les canaux diffusent des actualités générales sur les technologies ; la surveillance signale les nouveaux résultats sur vos serveurs dans votre tableau de bord, par notification du navigateur, dans Telegram ou par webhook.

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

Publication
Mise à jour

Pile logicielle: system

Produits et versions concernés

  • jackson-dataformat-protobuf

    Versions du logiciel
    • ≥ 2.6.0, < 2.18.12: Concernée (maven)
    • 2.18.12: Non concernée (maven)
    • ≥ 2.19.0, < 2.21.8: Concernée (maven)
    • 2.21.8: Non concernée (maven)
    • ≥ 2.22.0, < 2.22.4: Concernée (maven)
    • 2.22.4: Non concernée (maven)

    Mettez à jour vers 2.18.12; Mettez à jour vers 2.21.8; Mettez à jour vers 2.22.4

  • jackson-dataformat-protobuf

    Versions du logiciel
    • ≥ 3.0.0, < 3.1.8: Concernée (maven)
    • 3.1.8: Non concernée (maven)
    • ≥ 3.2.0, < 3.2.4: Concernée (maven)
    • 3.2.4: Non concernée (maven)

    Mettez à jour vers 3.1.8; Mettez à jour vers 3.2.4

  • jackson-dataformats-binary Debian 14

    Versions du logiciel
    • 2.18.11-1
    Plages de versions concernées
    • ECOSYSTEM: < 2.22.4-1

    Mettez à jour vers 2.22.4-1

Sources originales

Vérifiez votre serveur →