CVE-2025-11678Stack-based Buffer Overflow in libwebsockets DNS response parsing
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | libwebsockets | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-11678 | |
| Ubuntu 24.04 | libwebsockets | Fix pending | 4.3.3-1.1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-11678 |
| Ubuntu 22.04 | libwebsockets | Fixed | 4.0.20-2ubuntu1.1 | UBUNTU-CVE-2025-11678 |
| Debian 14 | libwebsockets | Fixed | 4.3.5-3 | DEBIAN-CVE-2025-11678 |
| Debian 13 | libwebsockets | Fixed | 4.3.5-1+deb13u1 | DEBIAN-CVE-2025-11678 |
| Debian 12 | libwebsockets | Fix pending | DEBIAN-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.
- warmcat libwebsocket: affected: 4.0 to 4.4.2, 4.0 to 4.3.6
Solution: Update the library to its latest stable release, if not possible backport the fix commit 2bb9598562b37c942ba5b04bcde3f7fdf66a9d3a
Vendor advisories:
- https://libwebsockets.org/git/libwebsockets/commit?id=2bb9598562b37c942ba5b04bcde3f7fdf66… (patch, vendor-advisory)
References
- https://libwebsockets.org/git/libwebsockets/commit?id=2bb9598562b37c942ba5b04bcde3f7fdf66a9d3a
- https://www.nozominetworks.com/labs/vulnerability-advisories-cve-2025-11678
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.