Skip to content
OpenAdvisories
Medium · 6.3 CVE-2025-11677 EUVD-2025-35045GHSA-fpc8-25p9-jfmr

Use After Free in libwebsockets WebSocket server

Published Oct 20, 2025 · Updated Oct 24, 2025 · Assigned by Nozomi

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.

Affected products

VendorProductAffectedFixed
warmcat libwebsockets 3 – ≤ 4.4.1,4.3.6 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libwebsockets 4.3.5-3 —
Debian 13 libwebsockets 4.3.5-1+deb13u1 —
Debian 12 libwebsockets No fix yet —
Debian 11 libwebsockets 4.0.20-2+deb11u1 DLA-4373-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 libwebsockets No fix yet —
Ubuntu 22.04 LTS libwebsockets 4.0.20-2ubuntu1.1 USN-8024-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS libwebsockets 4.3.3-1.1ubuntu0.1~esm1 USN-8024-1
Ubuntu Pro 20.04 LTS libwebsockets 3.2.1-3ubuntu0.1~esm1 USN-8024-1

Advisories 2

References