# CVE-2026-31958: Tornado has a DoS due to too many multipart parts

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-03-11T19:27:23.380Z
- Modified: 2026-09-10T03:50:40.522Z
- Also known as: GHSA-qjxf-f2mg-c6mc, PYSEC-2026-140
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- tornadoweb tornado: < 6.5.5; before 6.5.5
- tornado (PyPI): before 6.5.5

## Every score

- GitHub_M: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/tornadoweb/tornado/security/advisories/GHSA-qjxf-f2mg-c6mc> (advisory, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2026/04/msg00000.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31958> (advisory)
- <https://github.com/tornadoweb/tornado/commit/119a195e290c43ad2d63a2cf012c29d43d6ed839> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tornado/PYSEC-2026-140.yaml> (web)
- <https://github.com/tornadoweb/tornado> (package)
- <https://github.com/tornadoweb/tornado/releases/tag/v6.5.5> (web)

## Sources

- CVE List: [CVE-2026-31958](https://www.cve.org/CVERecord?id=CVE-2026-31958), CVE Terms of Use, modified 2026-04-01
- GitHub Advisory Database: [GHSA-qjxf-f2mg-c6mc](https://github.com/advisories/GHSA-qjxf-f2mg-c6mc), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-31958](https://nvd.nist.gov/vuln/detail/CVE-2026-31958), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-140](https://osv.dev/vulnerability/PYSEC-2026-140), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/CVE-2026-31958 · Whole record: https://cve.day/CVE-2026-31958.json · Rebuilt by cve.day 2026-11-25T22:59:15.773Z
