CVE-2025-11677 Use After Free in libwebsockets WebSocket server
MediumCVSS 6.3
EPSS 0.40%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
6 packages: 5 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libwebsockets(Debian 12) | = 4.1.6-3; = 4.1.6-3.1; = 4.3.2-1; = 4.3.2-2 +14 more | No fix listed | No fix yet |
| debian/libwebsockets(Debian 13) | < 4.3.5-1+deb13u1; = 4.3.5-1 | 4.3.5-1+deb13u1 | Fixed |
| debian/libwebsockets(Debian 14) | < 4.3.5-3; = 4.3.5-1; = 4.3.5-2 | 4.3.5-3 | Fixed |
| ubuntu/libwebsockets(Ubuntu 22.04) | < 4.0.20-2ubuntu1.1 | 4.0.20-2ubuntu1.1 | Fixed |
| ubuntu/libwebsockets(Ubuntu 24.04) | < 4.3.3-1.1ubuntu0.1~esm1 | 4.3.3-1.1ubuntu0.1~esm1 | Fixed |
| warmcat libwebsockets | >= 3, <= 4.4.1,4.3.6 | after 4.4.1,4.3.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libwebsockets(Debian:12) | All versions | No fix listed |
| debian/libwebsockets(Debian:12) | = 4.1.6-3 | No fix listed |
| debian/libwebsockets(Debian:12) | = 4.1.6-3.1 | No fix listed |
| debian/libwebsockets(Debian:12) | = 4.3.2-1 | No fix listed |
| debian/libwebsockets(Debian:12) | = 4.3.2-2 | No fix listed |
| debian/libwebsockets(Debian:12) | = 4.3.2-3 | No fix listed |
| debian/libwebsockets(Debian:12) | = 4.3.2-4 | No fix listed |
| debian/libwebsockets(Debian:12) | = 4.3.3-1 | No fix listed |
| debian/libwebsockets(Debian:12) | = 4.3.3-1.1 | No fix listed |
| debian/libwebsockets(Debian:12) | = 4.3.3-1.1~exp1 | No fix listed |
| debian/libwebsockets(Debian:12) | = 4.3.5-1 | No fix listed |
| debian/libwebsockets(Debian:12) | = 4.3.5-2 | No fix listed |
| debian/libwebsockets(Debian:12) | = 4.3.5-3 | No fix listed |
| debian/libwebsockets(Debian:12) | = 4.3.5-4 | No fix listed |
| debian/libwebsockets(Debian:12) | = 4.3.5-4.1 | No fix listed |
| debian/libwebsockets(Debian:12) | = 4.3.5-5 | No fix listed |
| debian/libwebsockets(Debian:12) | = 4.3.5-6 | No fix listed |
| debian/libwebsockets(Debian:12) | = 4.3.5-7 | No fix listed |
| debian/libwebsockets(Debian:13) | < 4.3.5-1+deb13u1 | 4.3.5-1+deb13u1 |
| debian/libwebsockets(Debian:13) | = 4.3.5-1 | No fix listed |
| debian/libwebsockets(Debian:14) | < 4.3.5-3 | 4.3.5-3 |
| debian/libwebsockets(Debian:14) | = 4.3.5-1 | No fix listed |
| debian/libwebsockets(Debian:14) | = 4.3.5-2 | No fix listed |
| warmcat libwebsockets | >= 3, <= 4.4.1,4.3.6 | No fix listed |
| ubuntu/libwebsockets(Ubuntu:22.04) | < 4.0.20-2ubuntu1.1 | 4.0.20-2ubuntu1.1 |
Show 1 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/libwebsockets(Ubuntu:24.04) | < 4.3.3-1.1ubuntu0.1~esm1 | 4.3.3-1.1ubuntu0.1~esm1 |
References
- Debian Security Tracker CVE-2025-11677 vendor-advisory
- libwebsockets.org patch vendor-advisory
- www.nozominetworks.com third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8024-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking