CVEfocus › CVE database › CVE-2025-11677

CVE-2025-11677Use After Free in libwebsockets WebSocket server

CVSS 6.3 MediumEPSS 0.5% (higher than 34% of CVEs)Published 2025-10-20Updated 2025-10-24Assigner: Nozomi

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.

CWE-416

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
3Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10libwebsocketsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-11677
Ubuntu 24.04libwebsocketsFix pending4.3.3-1.1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2025-11677
Ubuntu 22.04libwebsocketsFixed4.0.20-2ubuntu1.1UBUNTU-CVE-2025-11677
Ubuntu 20.04libwebsocketsFix pending3.2.1-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2025-11677
Debian 14libwebsocketsFixed4.3.5-3DEBIAN-CVE-2025-11677
Debian 13libwebsocketsFixed4.3.5-1+deb13u1DEBIAN-CVE-2025-11677
Debian 12libwebsocketsFix pendingDEBIAN-CVE-2025-11677

What the vendor says

As published in the CVE record by Nozomi, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.