CVE-2026-49854
MEDIUM 5.3CVSS 3.1Tornado has out-of-bounds memory access via 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.
- Published
- 14 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-126
- Also known as
- GHSA-cx3h-4qpv-8hc9PYSEC-2026-3388
- Sources
- NVDJSONOSV GHSA-cx3h-4qpv-8hc9JSONOSV PYSEC-2026-3388JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | tornado | < 6.5.6 | 6.5.6 |
References
- https://github.com/tornadoweb/tornado/commit/96dc88c2a05705287856b2cd6b4b4034f9a6aaac
- https://github.com/tornadoweb/tornado/pull/3626
- https://github.com/tornadoweb/tornado/releases/tag/v6.5.6 · WEB
- https://github.com/tornadoweb/tornado/security/advisories/GHSA-cx3h-4qpv-8hc9 · WEB
- https://github.com/tornadoweb/tornado · PACKAGE
- https://pypi.org/project/tornado · PACKAGE
- https://github.com/advisories/GHSA-cx3h-4qpv-8hc9 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-49854 · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 14 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Jun 2026)