PYSEC-2026-140

At a glance

Published
Updated
CVE
CVE-2026-31958
Aliases
GHSA-qjxf-f2mg-c6mc
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Affected packages

PackageVersions
PyPI · tornadointroduced 0, fixed 6.5.5

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database