CVE-2026-31958 Details
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.
A denial-of-service vulnerability has been identified in the Tornado web framework, specifically in versions prior to 6.5.5. The issue arises from the lack of a proper limit on the number of parts in multipart/form-data, with the only restriction being the max_body_size setting, which defaults to 100MB. This limitation allows for the possibility of denial-of-service attacks, as parsing large multipart bodies with many parts can be resource-intensive and disrupt normal application performance. The vulnerability is exacerbated by the fact that parsing is done synchronously on the main thread, creating a potential bottleneck.
Users can upgrade to Tornado version 6.5.5 or later, where this vulnerability has been addressed. Tornado 6.5.5 introduces new default limits on the size and complexity of multipart bodies, including a cap of 100 parts per request. For applications that do not require multipart/form-data parsing, this feature can be disabled entirely.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2026/04/msg00000.html | CVE | |
| https://github.com/tornadoweb/tornado/security/advisories/GHSA-qjxf-f2mg-c6mc | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| tornadoweb tornado | < 6.5.5 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 1, 2026 | CVE Modified | CVE |
| Mar 16, 2026 | Initial Analysis | [email protected] |
| Mar 11, 2026 | New CVE Received | [email protected] |