Shellfeed logo Shellfeed

CVE-2026-106554 · HIGH (CVSS 7.5)

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

EPSS: 0.4% probability of exploitation in the next 30 days (percentile 32.5).

Details

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

Severity

HIGH (CVSS 7.5) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

  • GIT github.com/fasterxml/jackson-dataformats-binary [d6ac1e4ce7e15002b310ea4527061fffd8418c05 – 47c8319ae6a153c69cf7397bed173fd96bd0aae9] [e4b9f213a3948dfc239ac81880235726a926c8ea – bcc185d3ad44b4f9bba50318f3244d7e546e0c97] [2071f427e8d4f739f154aca6e1edc09ccff6f2ce – a94d08531c6c04b8e0f9fcc8d96a5cbf1237cff1] [eeabb9be0575ed09781b6c08af0fadc6c853ffcd – c8ff850488e7ca8251cdd968be2de1abe3383ec2] [a975b216e5f93d306399fb39079ff25875a9620e – f88b62de0b64b81ee427d74a2336e52aa940abd1]

References

Posts about CVE-2026-106554