CVE-2026-31958Tornado has a DoS due to too many multipart parts
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
Fixed builds are available from AlmaLinux, Debian, PyPI, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | python-tornado | Fixed | 6.5.4-0.1ubuntu0.1 | UBUNTU-CVE-2026-31958 |
| Ubuntu 25.10 | python-tornado | Fixed | 6.4.2-3ubuntu0.3 | UBUNTU-CVE-2026-31958 |
| Ubuntu 24.04 | python-tornado | Fixed | 6.4.0-1ubuntu0.5 | UBUNTU-CVE-2026-31958 |
| Ubuntu 22.04 | python-tornado | Fix pending | 6.1.0-3ubuntu0.1~esm5 (Ubuntu Pro) | UBUNTU-CVE-2026-31958 |
| Ubuntu 18.04 | python-tornado | Fix pending | 4.5.3-1ubuntu0.2+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-31958 |
| Ubuntu 16.04 | python-tornado | Fix pending | 4.2.1-1ubuntu3.1+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-31958 |
| Debian 14 | python-tornado | Fixed | 6.5.5-1 | DEBIAN-CVE-2026-31958 |
| Debian 13 | python-tornado | Fix pending | DEBIAN-CVE-2026-31958 | |
| Debian 12 | python-tornado | Fix pending | DEBIAN-CVE-2026-31958 | |
| Red Hat Enterprise Linux 10 | python-tornado | Fixed | 0:6.5.5-1.el10_1.1 | RHSA-2026:19034 |
| Red Hat Enterprise Linux 10 | python3-tornado | Fixed | 0:6.5.5-1.el10_2 | RHSA-2026:13641 |
| Red Hat Enterprise Linux 9 | pcs | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | pcs-snmp | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | python-tornado | Fixed | 0:6.5.5-1.el9_7.1 | RHSA-2026:19189 |
| Red Hat Enterprise Linux 9 | python3-tornado | Fixed | 0:6.5.5-1.el9_7.1 | RHSA-2026:19189 |
| Red Hat Enterprise Linux 8 | pcs | Fixed | 0:0.10.18-2.el8_10.9 | RHSA-2026:8093 |
| Red Hat Enterprise Linux 8 | pcs-snmp | Fixed | 0:0.10.18-2.el8_10.9 | RHSA-2026:8093 |
| AlmaLinux 10 | python3-tornado | Fixed | 6.5.5-1.el10_2 | ALSA-2026:13641 |
| AlmaLinux 9 | python3-tornado | Fixed | 6.5.5-1.el9_8 | ALSA-2026:13670 |
| AlmaLinux 8 | pcs | Fixed | 0.10.18-2.el8_10.9.alma.1 | ALSA-2026:8093 |
| AlmaLinux 8 | pcs-snmp | Fixed | 0.10.18-2.el8_10.9.alma.1 | ALSA-2026:8093 |
| Rocky Linux 10 | python-tornado | Fixed | 0:6.5.5-1.el10_1.1 | RLSA-2026:13641 |
| Rocky Linux 9 | python-tornado | Fixed | 0:6.5.5-1.el9_7.1 | RLSA-2026:13670 |
| Rocky Linux 8 | pcs | Fixed | 0:0.10.18-2.el8_10.9 | RLSA-2026:8093 |
| PyPI library | tornado | Fixed | 6.5.5 | PYSEC-2026-140 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- tornadoweb tornado: affected: < 6.5.5
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.