Every CVE Search/ Get API key

CVE-2025-11677

Use After Free in libwebsockets WebSocket server

6.3 MediumFix available

Use After Free in WebSocket server implementation in lws_handshake_server in warmcat libwebsockets may allow an attacker, in specific configurations where the user provides a callback function that handles LWS_CALLBACK_HTTP_CONFIRM_UPGRADE, to achieve denial of service.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

0.40%Up 0.4 points since Oct 21, 2025
90%50%10%1%

What each source reports

CVE List Score used 6.3

Use After Free in libwebsockets WebSocket server

Use After Free in WebSocket server implementation in lws_handshake_server in warmcat libwebsockets may allow an attacker, in specific configurations where the user provides a callback function that handles LWS_CALLBACK_HTTP_CONFIRM_UPGRADE, to achieve denial of service.

Record
CVE-2025-11677
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Weakness
CWE-416
Updated
2026-11-02
EUVDEUVD-2025-35045 6.3

Use After Free in WebSocket server implementation in lws_handshake_server in warmcat libwebsockets may allow an attacker, in specific configurations where the user provides a callback function that handles LWS_CALLBACK_HTTP_CONFIRM_UPGRADE, to achieve denial of service.

Record
EUVD-2025-35045
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-fpc8-25p9-jfmr 6.3

Use After Free in WebSocket server implementation in lws_handshake_server in warmcat...

Use After Free in WebSocket server implementation in lws_handshake_server in warmcat libwebsockets may allow an attacker, in specific configurations where the user provides a callback function that handles LWS_CALLBACK_HTTP_CONFIRM_UPGRADE, to achieve denial of service.

Record
GHSA-fpc8-25p9-jfmr
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-416
Updated
2026-11-02
NVD 6.3

Use After Free in WebSocket server implementation in lws_handshake_server in warmcat libwebsockets may allow an attacker, in specific configurations where the user provides a callback function that handles LWS_CALLBACK_HTTP_CONFIRM_UPGRADE, to achieve denial of service.

Record
CVE-2025-11677
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-416
Updated
2026-11-02
OSVDEBIAN-CVE-2025-11677 6.3

Use After Free in WebSocket server implementation in lws_handshake_server in warmcat libwebsockets may allow an attacker, in specific configurations where the user provides a callback function that handles LWS_CALLBACK_HTTP_CONFIRM_UPGRADE, to achieve denial of service.

Record
DEBIAN-CVE-2025-11677
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Updated
2026-11-02
OSVOESA-2025-2611 7.6

libwebsockets security update

Libwebsockets (LWS) is a flexible, lightweight pure C library for implementing modern network protocols easily with a tiny footprint, using a nonblocking event loop.

Security Fix(es):

Use After Free vulnerability exists in the WebSocket server implementation in lws_handshake_server in warmcat libwebsockets. In specific configurations where the user provides a callback function that handles LWS_CALLBACK_HTTP_CONFIRM_UPGRADE, an attacker may achieve denial of service.(CVE-2025-11677)

Stack-based Buffer Overflow in lws_adns_parse_label in warmcat libwebsockets allows, when the LWS_WITH_SYS_ASYNC_DNS flag is enabled during compilation, to overflow the label_stack, when the attacker is able to sniff a DNS request in order to craft a response with a matching id containing a label longer than the maximum.(CVE-2025-11678)

Record
OESA-2025-2611
CVSS 3.1
7.6 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2025-11677 6.3

Use After Free in WebSocket server implementation in lws_handshake_server in warmcat libwebsockets may allow an attacker, in specific configurations where the user provides a callback function that handles LWS_CALLBACK_HTTP_CONFIRM_UPGRADE, to achieve denial of service.

Record
UBUNTU-CVE-2025-11677
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Updated
2026-11-02
OSVUSN-8024-1 No score

libwebsockets vulnerabilities

Raffaele Bova discovered that Libwebsockets incorrectly handled memory when the upgrade header is not valid in the WebSocket server. An attacker could possibly use this issue to cause a denial of service. (CVE-2025-11677)

Raffaele Bova discovered that Libwebsockets did not properly check the size of the destination buffer in the async-dns component. An attacker could possibly use this issue to cause applications to crash, leading to a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2025-11678)

Record
USN-8024-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libwebsockets
Alpaquita:23
4.3.2-r1 up to 4.3.10-r0
4.3.10-r0
libwebsockets
Alpaquita:25
4.3.5-r2 up to 4.3.10-r0
4.3.10-r0
libwebsockets
Alpaquita:stream
4.3.1-r0 up to 4.3.10-r0
4.3.10-r0
libwebsockets
Debian:12
All versions, plus listed versions
4.1.6-34.1.6-3.14.3.2-14.3.2-24.3.2-3
Show 12 moreShow less
4.3.2-44.3.3-14.3.3-1.14.3.3-1.1~exp14.3.5-14.3.5-24.3.5-34.3.5-44.3.5-4.14.3.5-54.3.5-64.3.5-7
None known
libwebsockets
Debian:13
before 4.3.5-1+deb13u1, plus listed versions
4.3.5-1
4.3.5-1+deb13u1
libwebsockets
Debian:14
before 4.3.5-3, plus listed versions
4.3.5-14.3.5-2
4.3.5-3
libwebsockets
Debian:11
before 4.0.20-2+deb11u1, plus listed versions
4.0.20-2
4.0.20-2+deb11u1
libwebsockets
openEuler:22.03-LTS-SP4
before 4.3.0-7.oe2203sp4
4.3.0-7.oe2203sp4
libwebsockets
openEuler:24.03-LTS
before 4.3.3-4.oe2403sp2
4.3.3-4.oe2403sp2
libwebsockets
openEuler:24.03-LTS-SP1
before 4.3.3-4.oe2403sp1
4.3.3-4.oe2403sp1
Show 7 moreShow less
Affected packages
PackageAffectedFixed
libwebsockets
openEuler:24.03-LTS-SP2
before 4.3.3-4.oe2403sp2
4.3.3-4.oe2403sp2
libwebsockets
openEuler:20.03-LTS-SP4
before 4.3.0-7.oe2003sp4
4.3.0-7.oe2003sp4
libwebsockets
openEuler:22.03-LTS-SP3
before 4.3.0-7.oe2203sp3
4.3.0-7.oe2203sp3
libwebsockets
Ubuntu:Pro:20.04:LTS
before 3.2.1-3ubuntu0.1~esm1, plus listed versions
2.0.3-3build13.2.1-3
3.2.1-3ubuntu0.1~esm1
libwebsockets
Ubuntu:22.04:LTS
before 4.0.20-2ubuntu1.1, plus listed versions
4.0.20-24.0.20-2ubuntu1
4.0.20-2ubuntu1.1
libwebsockets
Ubuntu:Pro:24.04:LTS
before 4.3.3-1.1ubuntu0.1~esm1, plus listed versions
4.3.2-44.3.3-14.3.3-1.1build14.3.3-1.1build24.3.3-1.1build3
4.3.3-1.1ubuntu0.1~esm1
libwebsockets
Ubuntu:25.10
All versions, plus listed versions
4.3.5-1
None known

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-11677 is a medium vulnerability (CVSS 6.3) in Warmcat Libwebsockets, published October 20, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.40%, the 34th percentile. Fixed in libwebsockets 4.3.10-r0.

References

Show 6 moreShow less
MoveEnter Open