CVE-2026-49854Tornado: Out-of-bounds memory access in C extension
Tornado is a Python web framework and asynchronous networking library. Prior to 6.5.6, the optional native extension tornado.speedups implemented websocket_mask without validating that the mask argument is exactly four bytes, allowing the C function to read up to three bytes beyond the provided buffer when reached through Tornado XSRF token decoding with the native extension active. This issue is fixed in version 6.5.6.
What to do
Fixed builds are available from Debian, PyPI: 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.10 | python-tornado | Fix pending | UBUNTU-CVE-2026-49854 | |
| Ubuntu 26.04 | python-tornado | Under investigation | UBUNTU-CVE-2026-49854 | |
| Ubuntu 24.04 | python-tornado | Fix pending | UBUNTU-CVE-2026-49854 | |
| Ubuntu 22.04 | python-tornado | Fix pending | UBUNTU-CVE-2026-49854 | |
| Ubuntu 20.04 | python-tornado | Fix pending | UBUNTU-CVE-2026-49854 | |
| Ubuntu 18.04 | python-tornado | Fix pending | UBUNTU-CVE-2026-49854 | |
| Ubuntu 16.04 | python-tornado | Fix pending | UBUNTU-CVE-2026-49854 | |
| Debian 14 | python-tornado | Fixed | 6.6.0-1 | DEBIAN-CVE-2026-49854 |
| Debian 13 | python-tornado | Fix pending | DEBIAN-CVE-2026-49854 | |
| Debian 12 | python-tornado | Fix pending | DEBIAN-CVE-2026-49854 | |
| Red Hat Enterprise Linux 10 | python-tornado | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | python3-tornado | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | python-tornado | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | python3-tornado | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | pcs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | pcs-snmp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | python-tornado | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | python-tornado-doc | Will not fix Out of support scope | ||
| PyPI library | tornado | Fixed | 6.5.6 | PYSEC-2026-3388 |
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.6
References
- https://github.com/tornadoweb/tornado/security/advisories/GHSA-cx3h-4qpv-8hc9
- https://github.com/tornadoweb/tornado/pull/3626
- https://github.com/tornadoweb/tornado/commit/96dc88c2a05705287856b2cd6b4b4034f9a6aaac
- https://github.com/tornadoweb/tornado/releases/tag/v6.5.6
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.