p PatchFirst

CVE-2026-106554

CVE-2026-106554 · jackson-dataformat-cbor: quadratic-time TagList growth on unbounded stacked tags (CPU/GC DoS, PoC)

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

One CBOR-parsing issue in jackson-dataformats-binary's CBOR module: an unbounded run of CBOR tags drives quadratic-time TagList growth (CPU/GC-exhaustion DoS, PoC-proven).

PoC executed against com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.18.2; present in current 2.x and 3.x (tools.jackson.dataformat.cbor) HEAD. Distinct from the Avro and Smile/Protobuf advisories for this repo.

Quadratic CPU/GC DoS from an unbounded chain of CBOR tags (PoC-proven). File: cbor/src/main/java/.../cbor/CBORParser.java (tag handling -> TagList).

CBOR permits a data item to be preceded by any number of semantic tags. The CBOR parser accumulates them in a TagList whose backing array grows by a fixed increment (+8), not by doubling, and re-scans/copies on each growth. An attacker sends a value preceded by a long run of tag bytes; the fixed-increment growth makes accumulating N tags O(N^2) in time (plus GC pressure), with no cap on the number of stacked tags.

PoC (executed, JDK 17): feeding a CBOR stream consisting of a long run of tag bytes (e.g. tag 0xC0+) before a trivial value forces quadratic CPU/GC; parse time grows super-linearly with the tag count, pinning a request thread with no configurable limit.

Impact. Algorithmic-complexity denial of service (CWE-407): a modest input of stacked tags consumes quadratic CPU/GC, pinning a request thread; concurrent requests exhaust the pool.

Fix. Grow TagList by doubling and/or cap the number of stacked tags (StreamReadConstraints-style).

Published
Updated

Stack: system

Affected products and versions

  • jackson-dataformat-cbor

    Versions
    • ≥ 2.15.0, < 2.18.12: Affected (maven)
    • 2.18.12: Not affected (maven)
    • ≥ 2.19.0, < 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.18.12; Update to 2.21.8; Update to 2.22.4

  • jackson-dataformat-cbor

    Versions
    • ≥ 3.0.0, < 3.1.8: Affected (maven)
    • 3.1.8: Not affected (maven)
    • ≥ 3.2.0, < 3.2.4: Affected (maven)
    • 3.2.4: Not affected (maven)

    Update to 3.1.8; Update to 3.2.4

  • jackson-dataformat-cbor Debian 12

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

    No fix published

  • jackson-dataformat-cbor Debian 13

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

    No fix published

  • jackson-dataformats-binary Debian 14

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

    Update to 2.22.4-1

  • 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 →