CVEfocus › CVE database › CVE-2025-11678

CVE-2025-11678Stack-based Buffer Overflow in libwebsockets DNS response parsing

CVSS 7.5 HighEPSS 0.3% (higher than 17% of CVEs)Published 2025-10-20Updated 2025-10-20Assigner: Nozomi

Stack-based Buffer Overflow in lws_adns_parse_label in warmcat libwebsockets allows, when the LWS_WITH_SYS_ASYNC_DNS flag is enabled during compilation, to overflow the label_stack, when the attacker is able to sniff a DNS request in order to craft a response with a matching id containing a label longer than the maximum.

CWE-121

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
2Fix 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-11678
Ubuntu 24.04libwebsocketsFix pending4.3.3-1.1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2025-11678
Ubuntu 22.04libwebsocketsFixed4.0.20-2ubuntu1.1UBUNTU-CVE-2025-11678
Debian 14libwebsocketsFixed4.3.5-3DEBIAN-CVE-2025-11678
Debian 13libwebsocketsFixed4.3.5-1+deb13u1DEBIAN-CVE-2025-11678
Debian 12libwebsocketsFix pendingDEBIAN-CVE-2025-11678

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 2bb9598562b37c942ba5b04bcde3f7fdf66a9d3a

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.