p PatchFirst

CVE-2026-68495

CVE-2026-68495 · jackson-dataformats-binary: CBOR parser does not enforce StreamReadConstraints.maxNameLength, enabling memory-exhaustion denial of service

CVSS 7.5 · High · EPSS 0.6%

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-dataformat-cbor"'

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.

The CBOR parser in FasterXML jackson-dataformats-binary never invokes StreamReadConstraints.validateNameLength() when decoding JSON object property names, so the maxNameLength limit is not enforced for this format. CBORParser._decodeLongerName() decodes a definite-length property name with no length check, and CBORParser._decodeChunkedName() delegates to the value-oriented _finishChunkedText() routine, which validates maxStringLength rather than maxNameLength. An attacker who can have a CBOR document parsed may therefore embed a single property name of unbounded length; the parser buffers the whole name in memory before returning it, whatever maxNameLength is configured to. Because StreamReadConstraints.maxDocumentLength is also disabled by default, nothing else bounds the name under default settings, so the only limits are the attacker's upload capacity and available heap, leading to memory exhaustion and denial of service. No privileges beyond the ability to submit data to a parsing endpoint are required, and exploitation needs only that the bytes reach CBORFactory parsing, directly or through an ObjectMapper configured with the CBOR module. jackson-core's own JSON parsers enforce maxNameLength incrementally during name decoding; this gap is specific to the binary formats. maxNameLength and validateNameLength were introduced in jackson-core 2.16.0, so releases before 2.16.0 do not contain the constraint that is left unenforced. This issue is tracked together with the Smile parser defect in the same vendor advisory, GHSA-3v8f-v6vx-fmrm, which covers both binary formats. The CBOR parser defect (jackson-dataformats-binary issue #725) is CVE-2026-68495; the Smile parser defect (issue #726) is assigned CVE-2026-68496.

Published
Updated

Fixes in distributions

  • SUSE-SU-2026:4394-1 · SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Module for Basesystem 15 SP7, SUSE Linux Enterprise Module for Development Tools 15 SP7, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
  • openSUSE-SU-2026:11878-1 · openSUSE Tumbleweed ·

Stack: system

Affected products and versions

  • jackson-dataformats-binary

    Versions
    • ≥ 2.16.0, ≤ 2.18.9: Affected (maven)
    • ≥ 2.19.0, ≤ 2.21.5: Affected (maven)
    • ≥ 2.22.0, ≤ 2.22.1: Affected (maven)

    No fix published

  • jackson-dataformats-binary

    Versions
    • ≥ 3.0.0, ≤ 3.1.5: Affected (maven)
    • ≥ 3.2.0, ≤ 3.2.1: Affected (maven)

    No fix published

  • jackson-dataformat-cbor Ubuntu 16.04 LTS

    Versions
    • 2.4.3-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-dataformat-cbor Ubuntu 18.04 LTS

    Versions
    • 2.7.8-1
    • 2.7.8-2
    • 2.7.8-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-dataformat-cbor Ubuntu 20.04 LTS

    Versions
    • 2.7.8-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-dataformat-cbor Ubuntu 22.04 LTS

    Versions
    • 2.7.8-3
    • 2.7.8-4
    • 2.7.8-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-dataformat-cbor Ubuntu 24.04 LTS

    Versions
    • 2.7.8-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-dataformat-cbor Ubuntu 26.10

    Versions
    • 2.7.8-5.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-dataformat-cbor Ubuntu 26.04 LTS

    Versions
    • 2.7.8-5.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →