All reports
High

websockets is vulnerable to denial of service by memory exhaustion

Affected versions

Version ranges need review.

Affected versions
>= 4.0, < 5.0
Fixed version
5.0
Affected versions
<5.0
Fixed version
5.0

Exploitation

CVE-2018-1000518

Probability of exploitation in the next 30 days: 1.81%

FIRST EPSS · 2026-11-18

Description

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

Links

Credits

  • ericwb