CVE-2026-31958
Tornado has a DoS due to too many multipart parts
Reported by github_m · Published March 11, 2026
tornado is fixed in 6.5.5 (PyPI)
Tornado is a Python web framework and asynchronous networking library. In versions of Tornado prior to 6.5.5, the only limit on the number of parts in multipart/form-data is the max_body_size setting (default 100MB). Since parsing occurs synchronously on the main thread, this creates the possibility of denial-of-service due to the cost of parsing very large multipart bodies with many parts. This vulnerability is fixed in 6.5.5.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| tornado | PyPI | 6.5.5 |
| python3-tornado-doc | Amazon Linux | 5.0.2-4.amzn2.0.7 |
| python3-tornado | errata.rockylinux.org | 6.5.5-1.el9, 6.5.5-1.el10, 0:6.5.5-1.el9_7.1.x86_64, 0:6.5.5-1.el9_7.1.s390x, 0:6.5.5-1.el9_7.1.ppc64le, 0:6.5.5-1.el9_7.1.aarch64, 0:6.5.5-1.el10_1.1.s390x, 0:6.5.5-1.el10_1.1.ppc64le |
| python3-tornado-debuginfo | errata.rockylinux.org | 6.5.5-1.el9, 6.5.5-1.el10, 0:6.5.5-1.el9_7.1.x86_64, 0:6.5.5-1.el9_7.1.s390x, 0:6.5.5-1.el10_1.1.x86_64, 0:6.5.5-1.el10_1.1.s390x, 0:6.5.5-1.el10_1.1.aarch64 |
| python-tornado-debugsource | errata.rockylinux.org | 6.5.5-1.el9, 6.5.5-1.el10, 0:6.5.5-1.el9_7.1.s390x, 0:6.5.5-1.el9_7.1.ppc64le, 0:6.5.5-1.el10_1.1.x86_64, 0:6.5.5-1.el10_1.1.s390x, 0:6.5.5-1.el10_1.1.ppc64le, 0:6.5.5-1.el10_1.1.aarch64 |
| python3.13-tornado-doc | Amazon Linux | 6.4.2-1.amzn2023.0.2 |
| tensorflow-gpu-jupyter | Chainguard | 2.21.0-r1 |
| kubeflow-pipelines-visualization-server | Wolfi | 2.16.0-r2 |
| python-tornado-doc | Amazon Linux | 6.1.0-2.amzn2023.0.7 |
| kubeflow-pipelines-visualization-server | Chainguard | 2.16.0-r2 |
| python-tornado | errata.rockylinux.org | 6.5.5-1.el9, 6.5.5-1.el10, 0:6.5.5-1.el9_7.1.src, 0:6.5.5-1.el10_1.1.src |
| mitmproxy | Chainguard | 12.2.2-r1 |
10 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| tornadoweb | tornado | < 6.5.5 |
| amazon:2 | python3-tornado-doc | 0 |
| amazon:2023 | python3.13-tornado-doc | 0 |
| chainguard | tensorflow-gpu-jupyter | 0 |
| wolfi | kubeflow-pipelines-visualization-server | 0 |
| amazon:2023 | python-tornado-doc | 0 |
| chainguard | kubeflow-pipelines-visualization-server | 0 |
| chainguard | mitmproxy | 0 |
| chainguard | dask-kubernetes | 0 |
| chainguard | airflow-3 | 0 |
| amazon:2023 | python3-tornado | 0 |
| amazon:2023 | python3.13-tornado | 0 |
| chainguard | airflow-2 | 0 |
| wolfi | tensorflow-cpu-jupyter | 0 |
| amazon:2 | python3-tornado | 0 |
| chainguard | litellm | 0 |
| tornadoweb | tornado | 0 |
| wolfi | airflow-3 | 0 |
| amazon:2 | python-tornado-doc | 0 |
| wolfi | mitmproxy | 0 |
…and 4 more
Timeline
- Mar 11, 2026 CVE Published
- Mar 12, 2026 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Coalition ESS Score (2 in total, the first dated here)
- Mar 17, 2026 Security Advisory (20 in total, the first dated here)
- Apr 14, 2026 Distribution Patch (24 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-31958
vulnetix vdb fixes CVE-2026-31958
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-31958/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/tornadoweb/tornado/security/advisories/GHSA-qjxf-f2mg-c6mc x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2026-31958 advisory
- https://github.com/advisories/GHSA-qjxf-f2mg-c6mc advisory
- https://github.com/tornadoweb/tornado/commit/119a195e290c43ad2d63a2cf012c29d43d6ed839 patch
- https://github.com/tornadoweb/tornado/releases/tag/v6.5.5 url
- https://github.com/pypa/advisory-database/tree/main/vulns/tornado/PYSEC-2026-140.yaml advisory
- https://lists.debian.org/debian-lts-announce/2026/04/msg00000.html url
- https://github.com/tornadoweb/tornado url