CVE-2018-1000518
HIGH 7.5CVSS 3.1websockets is vulnerable to denial of service by memory exhaustion
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.
- Published
- 26 Jun 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-6g87-ff9q-v847PYSEC-2018-79
- Sources
- NVDJSONOSV GHSA-6g87-ff9q-v847JSONOSV PYSEC-2018-79JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | websockets_project | websocketscpe:2.3:a:websockets_project:websockets:4.0:*:*:*:*:python:*:* |
= 4.0 | |
| OSV | PyPI | websockets | >= 4.0, < 5.0 | 5.0 |
| OSV | PyPI | websockets | < 5.0 | 5.0 |
References
- https://github.com/aaugustin/websockets/pull/407 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000518 · ADVISORY
- https://github.com/aaugustin/websockets · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/websockets/PYSEC-2018-79.yaml · WEB
- https://github.com/advisories/GHSA-6g87-ff9q-v847 · ADVISORY
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 26 Jun 2018)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Jun 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 Sep 2018)