{"id":"CVE-2026-106554","summary":"jackson-dataformat-cbor: quadratic-time TagList growth on unbounded stacked tags (CPU/GC DoS, PoC)","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).\n\n\n\nPoC 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.\n\n\n\nQuadratic CPU/GC DoS from an unbounded chain of CBOR tags (PoC-proven). File: cbor/src/main/java/.../cbor/CBORParser.java (tag handling -\u003e TagList).\n\n\n\nCBOR 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.\n\n\n\nPoC (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.\n\n\n\nImpact. 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.\n\n\n\nFix. Grow TagList by doubling and/or cap the number of stacked tags (StreamReadConstraints-style).","aliases":["GHSA-cjg7-h3pr-p927"],"modified":"2026-11-14T02:30:38.528113111Z","published":"2026-11-04T16:14:05.664Z","database_specific":{"cna_assigner":"HeroDevs","cwe_ids":["CWE-407"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106554.json"},"references":[{"type":"WEB","url":"https://repo.maven.apache.org/maven2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106554.json"},{"type":"ADVISORY","url":"https://github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA-cjg7-h3pr-p927"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-106554"},{"type":"PACKAGE","url":"https://github.com/FasterXML/jackson-dataformats-binary"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fasterxml/jackson-dataformats-binary","events":[{"introduced":"d6ac1e4ce7e15002b310ea4527061fffd8418c05"},{"fixed":"47c8319ae6a153c69cf7397bed173fd96bd0aae9"},{"introduced":"e4b9f213a3948dfc239ac81880235726a926c8ea"},{"fixed":"bcc185d3ad44b4f9bba50318f3244d7e546e0c97"},{"introduced":"2071f427e8d4f739f154aca6e1edc09ccff6f2ce"},{"fixed":"a94d08531c6c04b8e0f9fcc8d96a5cbf1237cff1"},{"introduced":"eeabb9be0575ed09781b6c08af0fadc6c853ffcd"},{"fixed":"c8ff850488e7ca8251cdd968be2de1abe3383ec2"},{"introduced":"a975b216e5f93d306399fb39079ff25875a9620e"},{"fixed":"f88b62de0b64b81ee427d74a2336e52aa940abd1"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"2.15.0"},{"fixed":"2.18.12"}]},{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"2.19.0"},{"fixed":"2.21.8"}]},{"range":[{"introduced":"2.22.0"},{"fixed":"2.22.4"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"introduced":"3.0.0"},{"fixed":"3.1.8"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"strategy":"StandardRange","range":[{"introduced":"3.2.0"},{"fixed":"3.2.4"}],"source":"AFFECTED_FIELD"}]}}],"versions":["jackson-dataformats-binary-3.2.3","jackson-dataformats-binary-3.1.7","jackson-dataformats-binary-2.22.3","jackson-dataformats-binary-2.21.7","jackson-dataformats-binary-2.18.11","jackson-dataformats-binary-2.22.2","jackson-dataformats-binary-2.18.10","jackson-dataformats-binary-2.21.6","jackson-dataformats-binary-3.2.2","jackson-dataformats-binary-3.1.6","jackson-dataformats-binary-3.2.1","jackson-dataformats-binary-3.1.5","jackson-dataformats-binary-2.18.9","jackson-dataformats-binary-2.22.1","jackson-dataformats-binary-2.21.5","jackson-dataformats-binary-3.2.0","jackson-dataformats-binary-2.22.0","jackson-dataformats-binary-3.1.4","jackson-dataformats-binary-2.21.4","jackson-dataformats-binary-2.18.8","jackson-dataformats-binary-3.1.3","jackson-dataformats-binary-2.21.3","jackson-dataformats-binary-2.18.7","jackson-dataformats-binary-3.1.2","jackson-dataformats-binary-3.1.1","jackson-dataformats-binary-2.21.2","jackson-dataformats-binary-3.1.0","jackson-dataformats-binary-2.21.1","jackson-dataformats-binary-2.18.6","jackson-dataformats-binary-3.1.0-rc1","jackson-dataformats-binary-2.21.0","jackson-dataformats-binary-2.18.5","jackson-dataformats-binary-3.0.1","jackson-dataformats-binary-3.0.0","jackson-dataformats-binary-2.20.0","jackson-dataformats-binary-2.20.0-rc1","jackson-dataformats-binary-2.18.4","jackson-dataformats-binary-2.19.0","jackson-dataformats-binary-2.18.3","jackson-dataformats-binary-2.18.2","jackson-dataformats-binary-2.18.1","jackson-dataformats-binary-2.18.0","jackson-dataformats-binary-2.18.0-rc1","jackson-dataformats-binary-2.17.0","jackson-dataformats-binary-2.17.0-rc1","jackson-dataformats-binary-2.16.0","jackson-dataformats-binary-2.16.0-rc1","jackson-dataformats-binary-2.15.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-106554.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}