CVE-2026-49854: tornadoweb tornado · Buffer Over-read
Affects tornadoweb tornadoSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium : upgrade to 6.5.6 when convenient.
Data as of 26 Nov 2026, 14:59 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.5.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 14 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade tornadoweb tornado to 6.5.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| tornadowebtornado | Affected
| Fixed in
|
PyPItornadopkg:pypi/tornadoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Tornado to version 6.5.6 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated. Patch status is confirmed by the vendor stating the fix is in version 6.5.6.
Description
### Summary Tornado's optional native extension `tornado.speedups` implements `websocket_mask` without validating that the `mask` argument is exactly four bytes long. The C function reads four bytes from `mask` unconditionally, even when Python passes a shorter byte string. This can read beyond the provided buffer, exposing up to 3 bytes of uninitialized memory. The behavior is reachable from Tornado's XSRF token decoder when `xsrf_cookies=True` and the native extension is active. ### Mitigations This bug is fixed in Tornado 6.5.6. Prior to upgrading to this version, setting the environment variable TORNADO_EXTENSION=0 will disable the vulnerable code (at the expense of reducing websocket performance).
References
- github.com/tornadoweb/tornado/security/advisories/GHSA-cx3h-4qpv-8hc9 (opens in a new tab)
- github.com/tornadoweb/tornado/pull/3626 (opens in a new tab)
- github.com/tornadoweb/tornado/commit/96dc88c2a05705287856b2cd6b4b4034f9a6aaac (opens in a new tab)
- github.com/tornadoweb/tornado/releases/tag/v6.5.6 (opens in a new tab)