Use-after-free in libwebsockets - CVE-2025-11677
Published: November 3, 2025
Vulnerability identifier: #VU117947
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-11677
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: libwebsockets.org
Affected software:
libwebsockets
libwebsockets
Detailed vulnerability description
The vulnerability allows a remote attacker to perform a denial of service attack.
The vulnerability exists due to a use-after-free error within the lws_handshake_server() function in lib/roles/http/server/server.c. A remote attacker can send specially crafted data to the application and perform a denial of service attack.
How to mitigate CVE-2025-11677
Install updates from vendor's website.