{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-49854","id":"CVE-2026-49854","title":"Tornado: Out-of-bounds memory access in C extension","description":"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 ","descriptionLong":"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":"2026-07-14T20:43:03.977Z","updated":"2026-10-28T11:01:17.929258776Z","reserved":"2026-06-01T22:03:19.640Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"OSV"}],"rating":"medium","products":["tornadoweb tornado"],"affectedProducts":[{"vendor":"tornadoweb","product":"tornado","defaultStatus":null,"versions":[{"version":"< 6.5.6","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"tornado","purl":"pkg:pypi/tornado","ranges":["<6.5.6"],"fixed":["6.5.6"],"advisory":"GHSA-cx3h-4qpv-8hc9"}],"cwes":["CWE-126"],"aliases":["GHSA-cx3h-4qpv-8hc9","PYSEC-2026-3388"],"references":[{"url":"https://github.com/tornadoweb/tornado/security/advisories/GHSA-cx3h-4qpv-8hc9","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/tornadoweb/tornado/pull/3626","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/tornadoweb/tornado/commit/96dc88c2a05705287856b2cd6b4b4034f9a6aaac","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/tornadoweb/tornado/releases/tag/v6.5.6","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49854.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49854","tags":["advisory"]},{"url":"https://github.com/tornadoweb/tornado","tags":["package"]},{"url":"https://pypi.org/project/tornado","tags":["package"]},{"url":"https://github.com/advisories/GHSA-cx3h-4qpv-8hc9","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00419,"epssPercentile":0.36888,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-49854","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49854","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-49854","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cx3h-4qpv-8hc9","ok":true,"note":"GHSA-cx3h-4qpv-8hc9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-49854","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}