{
  "id": "CVE-2025-67726",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-67726",
  "published_at": "2025-12-12T06:13:51.336Z",
  "title": "Tornado is Vulnerable to Quadratic DoS via Crafted Multipart Parameters",
  "vendor": "tornadoweb",
  "product": "tornado",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Tornado is a Python web framework and asynchronous networking library. Versions 6.5.2 and below use an inefficient algorithm when parsing parameters for HTTP header values, potentially causing a DoS. The _parseparam function in httputil.py is used to parse specific HTTP header values, such as those in multipart/form-data and repeatedly calls string.count() within a nested loop while processing quoted semicolons. If an attacker sends a request with a large number of maliciously crafted parameters in a Content-Disposition header, the server's CPU usage increases quadratically (O(n²)) during parsing. Due to Tornado's single event loop architecture, a single malicious request can cause the entire server to become unresponsive for an extended period. This issue is fixed in version 6.5.3.",
  "cwe": "CWE-834",
  "cpes": [
    "cpe:2.3:a:tornadoweb:tornado:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "tornadoweb",
        "product": "tornado",
        "ranges": [
          "\u003c 6.5.3"
        ],
        "fixed_in": [
          "6.5.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade tornado to 6.5.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/tornadoweb/tornado/security/advisories/GHSA-jhmp-mqwm-3gq8"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/tornadoweb/tornado/commit/771472cfdaeebc0d89a9cc46e249f8891a6b29cd"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/tornadoweb/tornado/releases/tag/v6.5.3"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
