{"id":"CVE-2018-1000518","aliases":["CVE-2018-1000518","GHSA-6g87-ff9q-v847","PYSEC-2018-79"],"related":[],"kind":"vulnerability","state":"published","title":"websockets is vulnerable to denial of service by memory exhaustion","summary":"aaugustin websockets version 4 contains a CWE-409: Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in Servers and clients, unless configured with compression=None that can result in Denial of Service by memory exhaustion. This attack appear to be exploitable via Sending a specially crafted frame on an established connection. This vulnerability appears to have been fixed in 5.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"aaugustin websockets version 4 contains a CWE-409: Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in Servers and clients, unless configured with compression=None that can result in Denial of Service by memory exhaustion. This attack appear to be exploitable via Sending a specially crafted frame on an established connection. This vulnerability appears to have been fixed in 5.","source":"cvelist"},{"lang":"en","text":"The Python websockets library version 4 contains a CWE-409: Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in Servers and clients, unless configured with compression=None that can result in Denial of Service by memory exhaustion. This attack appears to be exploitable via sending a specially crafted frame on an established connection. This vulnerability appears to have been fixed in version 5.0","format":"markdown","source":"ghsa"},{"lang":"es","text":"aaugustin websockets 4 contiene una vulnerabilidad CWE-409: gestión incorrecta de datos altamente comprimidos (amplificación de datos) en los servidores y los clientes, a no ser que se configure con compression=None, lo que puede resultar en una denegación de servicio (DoS) por agotamiento de memoria. Este ataque parece ser explotable mediante el envío de una trama especialmente manipulada en una conexión establecida. La vulnerabilidad parece haber sido solucionada en la versión 5.","source":"nvd"}],"published":"2018-06-26T16:00:00.000Z","modified":"2026-06-17T01:32:49.673Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0","status":"affected","fixed":"5.0"}],"ecosystem":"PyPI","package":"websockets","purl":"pkg:pypi/websockets","source":"ghsa"},{"ranges":[{"status":"affected","version":"4.0"}],"vendor":"websockets_project","product":"websockets","cpe":"cpe:2.3:a:websockets_project:websockets:4.0:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.0"}],"ecosystem":"PyPI","package":"websockets","purl":"pkg:pypi/websockets","source":"pysec"}],"references":[{"url":"https://github.com/aaugustin/websockets/pull/407","tags":["exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000518","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/aaugustin/websockets","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/websockets/PYSEC-2018-79.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-6g87-ff9q-v847","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2018-1000518","url":"https://www.cve.org/CVERecord?id=CVE-2018-1000518","licence":"CVE Terms of Use","modified":"2024-08-05T12:40:47.112Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6g87-ff9q-v847","url":"https://github.com/advisories/GHSA-6g87-ff9q-v847","licence":"CC-BY-4.0","modified":"2024-11-19T18:23:42.891Z"},{"source":"nvd","name":"NVD","id":"CVE-2018-1000518","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000518","licence":"Public domain","modified":"2026-06-17T01:32:49.673Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2018-79","url":"https://osv.dev/vulnerability/PYSEC-2018-79","licence":"CC-BY-4.0","modified":"2023-11-08T03:59:38.649Z"}],"updatedAt":"2026-11-25T22:57:38.424Z","epss":{"score":0.01734,"percentile":0.78333,"date":"2026-12-01T12:00:22.000Z"}}