← Back to CVE Explorer

CVE-2026-106554

Full vulnerability record from the local CVENow database.

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

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
36c7be3b-2937-45df-85ea-ca7133ea542c
Published
2026-11-04 16:17:32.640000
Last modified
2026-11-04 16:17:32.640000
View original CVE JSON
{
  "id": "CVE-2026-106554",
  "sourceIdentifier": "36c7be3b-2937-45df-85ea-ca7133ea542c",
  "published": "2026-11-04T16:17:32.640",
  "lastModified": "2026-11-04T16:17:32.640",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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 -> 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)."
    }
  ],
  "affected": [
    {
      "source": "36c7be3b-2937-45df-85ea-ca7133ea542c",
      "affectedData": [
        {
          "vendor": "FasterXML",
          "product": "jackson-dataformat-cbor",
          "defaultStatus": "unaffected",
          "collectionURL": "https://repo.maven.apache.org/maven2",
          "packageName": "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor",
          "programFiles": [
            "cbor/src/main/java/.../cbor/CBORParser.java"
          ],
          "programRoutines": [
            {
              "name": "CBORParser (tag handling -> TagList)"
            }
          ],
          "repo": "https://github.com/FasterXML/jackson-dataformats-binary",
          "versions": [
            {
              "version": "2.15.0",
              "lessThan": "2.18.12",
              "versionType": "maven",
              "status": "affected"
            },
            {
              "version": "2.18.12",
              "versionType": "maven",
              "status": "unaffected"
            },
            {
              "version": "2.19.0",
              "lessThan": "2.21.8",
              "versionType": "maven",
              "status": "affected"
            },
            {
              "version": "2.21.8",
              "versionType": "maven",
              "status": "unaffected"
            },
            {
              "version": "2.22.0",
              "lessThan": "2.22.4",
              "versionType": "maven",
              "status": "affected"
            },
            {
              "version": "2.22.4",
              "versionType": "maven",
              "status": "unaffected"
            }
          ]
        },
        {
          "vendor": "FasterXML",
          "product": "jackson-dataformat-cbor",
          "defaultStatus": "unaffected",
          "collectionURL": "https://repo.maven.apache.org/maven2",
          "packageName": "tools.jackson.dataformat:jackson-dataformat-cbor",
          "programFiles": [
            "cbor/src/main/java/.../cbor/CBORParser.java"
          ],
          "programRoutines": [
            {
              "name": "CBORParser (tag handling -> TagList)"
            }
          ],
          "repo": "https://github.com/FasterXML/jackson-dataformats-binary",
          "versions": [
            {
              "version": "3.0.0",
              "lessThan": "3.1.8",
              "versionType": "maven",
              "status": "affected"
            },
            {
              "version": "3.1.8",
              "versionType": "maven",
              "status": "unaffected"
            },
            {
              "version": "3.2.0",
              "lessThan": "3.2.4",
              "versionType": "maven",
              "status": "affected"
            },
            {
              "version": "3.2.4",
              "versionType": "maven",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "weaknesses": [
    {
      "source": "36c7be3b-2937-45df-85ea-ca7133ea542c",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-407"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA-cjg7-h3pr-p927",
      "source": "36c7be3b-2937-45df-85ea-ca7133ea542c"
    }
  ]
}