CVE-2026-31958
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v4.0•HIGH•Score: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- v4.0•HIGH•Score: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- v3.1•MEDIUM•Score: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS Trends
Current EPSS score: 0.38%• Percentile: 31%
Techniques & Countermeasures
- CWE-400•Uncontrolled Resource Consumption
The product does not properly control the allocation and maintenance of a limited resource.
Affected Systems
- chainguard•airflow-2
< 2.11.2-r1
- chainguard•airflow-3
< 3.1.8-r2
- chainguard•dask-kubernetes
< 2026.3.0-r1
- chainguard•kubeflow-pipelines-visualization-server
< 2.16.0-r2
- chainguard•litellm
< 1.81.14-r1
- chainguard•mitmproxy
< 12.2.2-r1
- chainguard•tensorflow-cpu-jupyter
< 2.21.0-r1
- chainguard•tensorflow-gpu-jupyter
< 2.21.0-r1
- wolfi•airflow-3
< 3.1.8-r2
- wolfi•dask-kubernetes
< 2026.3.0-r1
- wolfi•kubeflow-pipelines-visualization-server
< 2.16.0-r2
- wolfi•mitmproxy
< 12.2.2-r1
- debian•python-tornado
< 6.1.0-1+deb11u4 | all | all | < 6.5.5-1
- ubuntu•python-tornado
< 4.2.1-1ubuntu3.1+esm3 | < 4.5.3-1ubuntu0.2+esm3 | < 6.1.0-3ubuntu0.1~esm5 | < 6.4.0-1ubuntu0.5 | < 6.4.2-3ubuntu0.3 | < 6.5.4-0.1ubuntu0.1
- PyPI•tornado
< 6.5.5
- redhat•pcs
< 0:0.10.18-2.el8_10.9 | < 0:0.10.18-2.el8_10.9
- redhat•pcs-snmp
< 0:0.10.18-2.el8_10.9 | < 0:0.10.18-2.el8_10.9
- tornadoweb•tornado
< 6.5.5
References (18)
- https://github.com/tornadoweb/tornado/security/advisories/GHSA-qjxf-f2mg-c6mc
- https://nvd.nist.gov/vuln/detail/CVE-2026-31958
- https://github.com/tornadoweb/tornado/commit/119a195e290c43ad2d63a2cf012c29d43d6ed839
- https://github.com/tornadoweb/tornado
- https://github.com/tornadoweb/tornado/releases/tag/v6.5.5
- https://lists.debian.org/debian-lts-announce/2026/04/msg00000.html
- https://github.com/pypa/advisory-database/tree/main/vulns/tornado/PYSEC-2026-140.yaml
- https://access.redhat.com/errata/RHSA-2026:8093
- https://access.redhat.com/security/updates/classification/#moderate
- https://bugzilla.redhat.com/show_bug.cgi?id=2446765
- https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_8093.json
- https://access.redhat.com/security/cve/CVE-2026-31958
- https://www.cve.org/CVERecord?id=CVE-2026-31958
- https://ubuntu.com/security/CVE-2026-31958
- https://ubuntu.com/security/notices/USN-8198-1
- https://ubuntu.com/security/notices/USN-8198-2
- https://security-tracker.debian.org/tracker/CVE-2026-31958
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31958.json