Use After Free

CVE-2025-11677

Summary

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

Impact

It 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.

Issue Date

October 8, 2025

Affects

This issue affects libwebsockets from (including) 3 and up to (including) 4.3.6, 4.4.1

CVE Name

CVE-2025-11677

CVSS Details

CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

CVSS Score

6.3

Solution

Update the library to its latest stable release, if not possible backport the fix commit 2f082ec31261f556969160143ba94875d783971a

Mitigations

Acknowledgements

Raffaele Bova of Nozomi Networks

Nozomi Threat Intelligence

Nozomi Networks Labs curates threat and vulnerability insights that are continuously fed into the Nozomi Networks platform to ensure our sensors can detect existing and emerging threats and vulnerabilities that threaten customers environments.

Learn more

Latest Labs Blogs

Breaking the Encryption: Analyzing the AutomationDirect CLICK Plus PLC Protocol 

Read

Lights Out: How One Tiny Message Can Crash Your Shelly Pro 4PM and Lock You Out of Your Smart Home

Read

Hacking the Engineer’s Workstation: Compromising AutomationDirect Productivity Suite to Breach the OT Perimeter

Read
View All

Take the next step.

Discover how easy it is to identify and respond to cyber threats by automating your OT and IoT asset discovery, inventory, and management.