Skip to content

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

HighCVSS 7.5 EPSS 0.38%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

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

Upgrade path

14 packages: 3 fixed, 11 with no fix yet.

PackageAffectedFixed inStatus
debian/jackson-dataformat-cbor(Debian 12) = 2.7.8-5; = 2.7.8-5.1; All versions No fix listed No fix yet
debian/jackson-dataformat-cbor(Debian 13) = 2.7.8-5.1; All versions No fix listed No fix yet
redhat/jackson-dataformat-cbor(Red Hat build_keycloak) All versions No fix listed No fix yet
redhat/jackson-dataformat-cbor(Red Hat camel_spring_boot 4) All versions No fix listed No fix yet
redhat/jackson-dataformat-cbor(Red Hat red_hat_single_sign_on 7) All versions No fix listed No fix yet
redhat/rh-sso7-keycloak(Red Hat red_hat_single_sign_on 7) All versions No fix listed No fix yet
redhat/rhbk/keycloak-rhel9(Red Hat build_keycloak) All versions No fix listed No fix yet
ubuntu/jackson-dataformat-cbor(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/jackson-dataformat-cbor(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/jackson-dataformat-cbor(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/jackson-dataformat-cbor(Ubuntu 26.10) All versions No fix listed No fix yet
com.fasterxml.jackson.dataformat/jackson-dataformat-cbor(Maven) >= 2.15.0, < 2.18.12; >= 2.19.0, < 2.21.8; >= 2.22.0, < 2.22.4 2.18.12, 2.21.8, 2.22.4 Fixed
debian/jackson-dataformats-binary(Debian 14) < 2.22.4-1; = 2.18.11-1 2.22.4-1 Fixed
tools.jackson.dataformat/jackson-dataformat-cbor(Maven) >= 3.0.0, < 3.1.8; >= 3.2.0, < 3.2.4 3.1.8, 3.2.4 Fixed

Affected products

ProductAffected versionsFixed in
com.fasterxml.jackson.dataformat/jackson-dataformat-cbor(Maven) >= 2.15.0, < 2.18.12 2.18.12
com.fasterxml.jackson.dataformat/jackson-dataformat-cbor(Maven) >= 2.19.0, < 2.21.8 2.21.8
com.fasterxml.jackson.dataformat/jackson-dataformat-cbor(Maven) >= 2.22.0, < 2.22.4 2.22.4
tools.jackson.dataformat/jackson-dataformat-cbor(Maven) >= 3.0.0, < 3.1.8 3.1.8
tools.jackson.dataformat/jackson-dataformat-cbor(Maven) >= 3.2.0, < 3.2.4 3.2.4
redhat/jenkins(Red Hat:ocp_tools) All versions No fix listed
redhat/jenkins-2-plugins(Red Hat:ocp_tools) All versions No fix listed
redhat/ocp-tools-4/jenkins-rhel8(Red Hat:ocp_tools) All versions No fix listed
redhat/ocp-tools-4/jenkins-rhel9(Red Hat:ocp_tools) All versions No fix listed
redhat/jackson-dataformat-cbor(Red Hat:camel_spring_boot:4) All versions No fix listed
redhat/jackson-dataformat-cbor(Red Hat:build_keycloak:) All versions No fix listed
redhat/rhbk/keycloak-rhel9(Red Hat:build_keycloak:) All versions No fix listed
redhat/pki-deps:10.6/jackson-jaxrs-providers(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/jackson-jaxrs-providers(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/offline-knowledge-portal/rhokp-rhel9(Red Hat:offline_knowledge_portal:1) All versions No fix listed
redhat/openvox-server(Red Hat:satellite:6) All versions No fix listed
redhat/jackson-dataformat-cbor(Red Hat:red_hat_single_sign_on:7) All versions No fix listed
redhat/rh-sso7-keycloak(Red Hat:red_hat_single_sign_on:7) All versions No fix listed
debian/jackson-dataformat-cbor(Debian:12) All versions No fix listed
debian/jackson-dataformat-cbor(Debian:12) = 2.7.8-5 No fix listed
debian/jackson-dataformat-cbor(Debian:12) = 2.7.8-5.1 No fix listed
debian/jackson-dataformat-cbor(Debian:13) All versions No fix listed
debian/jackson-dataformat-cbor(Debian:13) = 2.7.8-5.1 No fix listed
debian/jackson-dataformats-binary(Debian:14) < 2.22.4-1 2.22.4-1
debian/jackson-dataformats-binary(Debian:14) = 2.18.11-1 No fix listed
Show 4 more
ProductAffected versionsFixed in
ubuntu/jackson-dataformat-cbor(Ubuntu:22.04) All versions No fix listed
ubuntu/jackson-dataformat-cbor(Ubuntu:24.04) All versions No fix listed
ubuntu/jackson-dataformat-cbor(Ubuntu:26.04) All versions No fix listed
ubuntu/jackson-dataformat-cbor(Ubuntu:26.10) All versions No fix listed

References