CVE-2026-106554
jackson-dataformat-cbor: quadratic-time TagList growth on unbounded stacked tags (CPU/GC DoS, PoC)
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).
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.fasterxml.jackson.dataformat » jackson-dataformat-cborpreliminary | >= 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 |
| tools.jackson.dataformat » jackson-dataformat-cborpreliminary | >= 3.0.0, < 3.1.8>= 3.2.0, < 3.2.4 | 3.1.8, 3.2.4 |
Blast radius
64% of the dependent artifacts (3,241) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 30,818 |
| 2 hops | 57,081 |
| 3 hops | 84,099 |
| 4 hops | 41,160 |
| 5 hops | 13,418 |
| 6 hops | 32,728 |
Most used dependents
- cheshire » cheshire2,075 usages
- com.amazonaws » aws-java-sdk-s31,790 usages
- org.apache.kafka » kafka1,450 usages
- org.elasticsearch » elasticsearch1,377 usages
- com.amazonaws » aws-java-sdk-core1,268 usages
- com.amazonaws » aws-java-sdk974 usages
- com.jetbrains.intellij.platform » ide-impl753 usages
- org.elasticsearch.client » elasticsearch-rest-high-level-client684 usages
- com.atlassian.jira » jira-core554 usages
- com.jetbrains.intellij.platform » lang-impl536 usages
- org.keycloak » keycloak-core528 usages
- com.amazonaws » aws-java-sdk-dynamodb525 usages
- org.apache.solr » solr-core500 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Webhttps://repo.maven.apache.org/maven2
- Advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106554.json
- Advisoryhttps://github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA-cjg7-h3pr-p927
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-106554
- Packagehttps://github.com/FasterXML/jackson-dataformats-binary
