Server crash via freed WebSocket upgrade pointer
Published Oct 20, 2025 · Updated Oct 20, 2025
Use-after-free in Warmcat libwebsockets 3 through 4.3.6 and 4.4.1 allows remote attackers to crash WebSocket servers. In lws_handshake_protocol, an invalid Upgrade header leads lws_http_transaction_completed to free wsi data before the up pointer is passed to user_callback_handle_rxflow and later strcasecmp calls. Reachability requires a server callback that handles LWS_CALLBACK_HTTP_CONFIRM_UPGRADE and operates on the pointer despite its zero length; the documented impact is service interruption.
Summary
What happened
Use-after-free in Warmcat libwebsockets 3 through 4.3.6 and 4.4.1 allows remote attackers to crash WebSocket servers. In lws_handshake_protocol, an invalid Upgrade header leads lws_http_transaction_completed to free wsi data before the up pointer is passed to user_callback_handle_rxflow and later strcasecmp calls. Reachability requires a server callback that handles LWS_CALLBACK_HTTP_CONFIRM_UPGRADE and operates on the pointer despite its zero length; the documented impact is service interruption.
The record
- CVE
- CVE-2025-11677
- Published
- Oct 20, 2025
- Updated
- Oct 20, 2025
- Vendor
- libwebsockets
- Product
- libwebsockets
- Classifications
- CWE-416, CAPEC-100, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 20, 2025CVE publishedPublication date reported by the CVE source.
- Oct 20, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.0 <=4.3.6
- Affected versionversion=4.0 <=4.4.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo