CVE-2026-31958
Tornado is a Python web framework and asynchronous networking …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/tornadoweb/tornado/security/advisories/GHSA-qjxf-f2mg-c6mc
- nvd.nist.gov/vuln/detail/CVE-2026-31958
- github.com/tornadoweb/tornado/commit/119a195e290c43ad2d63a2cf012c29d43d6ed839
- github.com/tornadoweb/tornado/releases/tag/v6.5.5
- github.com/advisories/GHSA-qjxf-f2mg-c6mc
- lists.debian.org/debian-lts-announce/2026/04/msg00000.html
- github.com/pypa/advisory-database/tree/main/vulns/tornado/PYSEC-2026-140.yaml
- nvd.nist.gov/vuln/detail/CVE-2026-31958
- cve.org/CVERecord?id=CVE-2026-31958
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.