# CVE-2026-49854: Tornado: Out-of-bounds memory access in C extension

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-14 · Modified: 2026-07-15
- Aliases: GHSA-cx3h-4qpv-8hc9, PYSEC-2026-3388, UBUNTU-CVE-2026-49854, DEBIAN-CVE-2026-49854, CGA-92c8-chj9-3hpq, CGA-g7gj-hrrr-3p5w, CGA-gc6m-9v4g-gcg4, CGA-rqq7-5hfm-fg9r, CGA-4242-6rhr-hqjw, CGA-mmwv-jff6-w5rw, CGA-pvj5-vmqc-gr7r, CGA-qvrq-xq4p-h9w9, CGA-r522-gxgv-7fgr, CGA-w4rx-597m-9wgg
- Record: https://cvemate.com/vulnerability/CVE-2026-49854 · JSON: https://cvemate.com/vulnerability/CVE-2026-49854/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.338%, percentile 29.142%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard airflow-2 (Chainguard): All versions (No fix recorded)
- chainguard airflow-3 (Chainguard): \< 3.2.2-r4
- chainguard litellm (Chainguard): \< 1.88.1-r2
- chainguard mitmproxy (Chainguard): \< 12.2.3-r1
- chainguard tensorflow-cpu-jupyter (Chainguard): \< 2.21.0-r5
- chainguard tensorflow-gpu-jupyter (Chainguard): \< 2.21.0-r5
- wolfi airflow-3 (Wolfi): \< 3.2.2-r4
- wolfi mitmproxy (Wolfi): \< 12.2.3-r1
- debian python-tornado (Debian): All versions (No fix recorded) \| \< 6.6.0-1
- ubuntu python-tornado (Ubuntu): All versions (No fix recorded)
- PyPI tornado (PyPI): \< 6.5.6
- tornadoweb tornado: \< 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>
- <https://github.com/tornadoweb/tornado>
- <https://pypi.org/project/tornado>
- <https://github.com/advisories/GHSA-cx3h-4qpv-8hc9>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-49854>
- <https://ubuntu.com/security/CVE-2026-49854>
- <https://www.cve.org/CVERecord?id=CVE-2026-49854>
- <https://security-tracker.debian.org/tracker/CVE-2026-49854>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49854.json>

---

Data as of 2026-12-05T09:11:22.813Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
