# CVE-2018-1000518: websockets is vulnerable to denial of service by memory exhaustion

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.73%, higher than 78% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2018-06-26T16:00:00.000Z
- Modified: 2026-06-17T01:32:49.673Z
- Also known as: GHSA-6g87-ff9q-v847, PYSEC-2018-79
- Weaknesses: CWE-400
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- websockets (PyPI): from 4.0 before 5.0; before 5.0
- websockets_project websockets: 4.0

## Every score

- GitHub: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## 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)

## Sources

- CVE List: [CVE-2018-1000518](https://www.cve.org/CVERecord?id=CVE-2018-1000518), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-6g87-ff9q-v847](https://github.com/advisories/GHSA-6g87-ff9q-v847), CC-BY-4.0, modified 2024-11-19
- NVD: [CVE-2018-1000518](https://nvd.nist.gov/vuln/detail/CVE-2018-1000518), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2018-79](https://osv.dev/vulnerability/PYSEC-2018-79), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2018-1000518 · Whole record: https://cve.day/CVE-2018-1000518.json · Rebuilt by cve.day 2026-11-25T22:57:38.424Z
