Python tornado: Tornado is a Python web framework and asynchronous networking library.
Tornado is a Python web framework and asynchronous networking library. Versions prior to 6.5.5 have a vulnerability where the number of parts in multipart/form-data requests is only limited by the max_body_size setting. Because parsing occurs synchronously on the main thread, this can lead to denial-of-service conditions when processing very large multipart bodies with many parts. This issue is fixed in version 6.5.5.
AI Analysis
Technical Summary
In Tornado versions before 6.5.5, the multipart/form-data parser does not limit the number of parts beyond the max_body_size setting (default 100MB). Since parsing is done synchronously on the main thread, an attacker can cause a denial-of-service by sending multipart requests with many parts, causing high CPU usage and blocking the main thread. The vulnerability is addressed in Tornado 6.5.5 by adding appropriate limits to prevent excessive resource consumption during multipart parsing.
Potential Impact
An attacker can cause a denial-of-service by sending multipart/form-data requests with a very large number of parts, leading to synchronous parsing overhead on the main thread and effectively blocking the server from processing legitimate requests. This can degrade service availability.
Mitigation Recommendations
This vulnerability is fixed in Tornado version 6.5.5. Users should upgrade to version 6.5.5 or later to remediate this issue. No other mitigation is indicated by the vendor advisory.
Python tornado: Tornado is a Python web framework and asynchronous networking library.
Description
Tornado is a Python web framework and asynchronous networking library. Versions prior to 6.5.5 have a vulnerability where the number of parts in multipart/form-data requests is only limited by the max_body_size setting. Because parsing occurs synchronously on the main thread, this can lead to denial-of-service conditions when processing very large multipart bodies with many parts. This issue is fixed in version 6.5.5.
CVSS v4.0
Affected software
pkg:deb/ubuntu/[email protected]+esm3?arch=source&distro=esm-infra/xenialpkg:deb/ubuntu/[email protected]+esm3?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/[email protected]~esm5?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/[email protected]?arch=source&distro=noblepkg:deb/ubuntu/[email protected]?arch=source&distro=questingpkg:deb/ubuntu/[email protected]?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In Tornado versions before 6.5.5, the multipart/form-data parser does not limit the number of parts beyond the max_body_size setting (default 100MB). Since parsing is done synchronously on the main thread, an attacker can cause a denial-of-service by sending multipart requests with many parts, causing high CPU usage and blocking the main thread. The vulnerability is addressed in Tornado 6.5.5 by adding appropriate limits to prevent excessive resource consumption during multipart parsing.
Potential Impact
An attacker can cause a denial-of-service by sending multipart/form-data requests with a very large number of parts, leading to synchronous parsing overhead on the main thread and effectively blocking the server from processing legitimate requests. This can degrade service availability.
Mitigation Recommendations
This vulnerability is fixed in Tornado version 6.5.5. Users should upgrade to version 6.5.5 or later to remediate this issue. No other mitigation is indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-31958
- Osv Schema Version
- 1.7.0
- Aliases
- []
- Ecosystems
- ["Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
- Database Specific Severity
- null
- Cvss Version
- 4.0
Threat ID: 6a61511f9c2644c7f8da5f5c
Added to database: 07/22/2026, 23:24:15 UTC
Last enriched: 07/22/2026, 23:54:43 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 21
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.