PT-2026-49059 · Tornado · Tornado

CVE-2026-49854

·

Published

2026-06-12

·

Updated

2026-07-27

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions Tornado versions prior to 6.5.6
Description The optional native extension tornado.speedups implements the websocket mask function without validating that the mask argument is exactly four bytes long. The C function reads four bytes from mask unconditionally, which can lead to reading beyond the provided buffer and exposing up to 3 bytes of uninitialized memory. This behavior is reachable via the XSRF token decoder when xsrf cookies=True and the native extension is active.
Recommendations Update to version 6.5.6 or later. As a temporary workaround, set the environment variable TORNADO EXTENSION=0 to disable the vulnerable native extension.

Exploit

Fix

Buffer Over-read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-92382
CVE-2026-49854
ECHO-6886-9687-7159
GHSA-CX3H-4QPV-8HC9
OESA-2026-2727
OESA-2026-2728
OPENSUSE-SU-2026:11027-1
OPENSUSE-SU-2026:21067-1
PYSEC-2026-3388
SUSE-SU-2026:22286-1
SUSE-SU-2026:22373-1
SUSE-SU-2026:22430-1
SUSE-SU-2026:22445-1
SUSE-SU-2026:2725-1
SUSE-SU-2026:2726-1
SUSE-SU-2026:3291-1

Affected Products

Tornado