CVE-2025-11678
Stack-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.
Attack profile
How easy it is to exploit
- Attack vector
- Adjacent network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Passive
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.5
Stack-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.
- Record
CVE-2025-11678- CVSS 4.0
- 7.5 High
CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - Weakness
- CWE-121
- Updated
- 2026-11-02
EUVDEUVD-2025-35057
7.5
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.
- Record
EUVD-2025-35057- CVSS 4.0
- 7.5 High
CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-2g39-f45w-2fcm
7.5
Stack-based Buffer Overflow in lws_adns_parse_label in warmcat libwebsockets allows, when the...
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.
- Record
GHSA-2g39-f45w-2fcm- CVSS 4.0
- 7.5 High
CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Weakness
- CWE-121
- Updated
- 2026-11-02
NVD
7.5
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.
- Record
CVE-2025-11678- CVSS 4.0
- 7.5 High
CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Weakness
- CWE-121
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-11678
7.5
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.
- Record
DEBIAN-CVE-2025-11678- CVSS 4.0
- 7.5 High
CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
OSVOESA-2025-2611
7.6
libwebsockets security update
Libwebsockets (LWS) is a flexible, lightweight pure C library for implementing modern network protocols easily with a tiny footprint, using a nonblocking event loop.
Security Fix(es):
Use After Free vulnerability exists in the WebSocket server implementation in lws_handshake_server in warmcat libwebsockets. In specific configurations where the user provides a callback function that handles LWS_CALLBACK_HTTP_CONFIRM_UPGRADE, an attacker may achieve denial of service.(CVE-2025-11677)
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.(CVE-2025-11678)
- Record
OESA-2025-2611- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L - Updated
- 2026-11-02
OSVRHSA-2025:22969
7.6
Red Hat Security Advisory: Red Hat OpenStack Platform 17.1 (libwebsockets) security update
- Record
RHSA-2025:22969- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-11678
7.5
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.
- Record
UBUNTU-CVE-2025-11678- CVSS 4.0
- 7.5 High
CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - Updated
- 2026-11-02
OSVUSN-8024-1 No score
libwebsockets vulnerabilities
Raffaele Bova discovered that Libwebsockets incorrectly handled memory when the upgrade header is not valid in the WebSocket server. An attacker could possibly use this issue to cause a denial of service. (CVE-2025-11677)
Raffaele Bova discovered that Libwebsockets did not properly check the size of the destination buffer in the async-dns component. An attacker could possibly use this issue to cause applications to crash, leading to a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2025-11678)
- Record
USN-8024-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libwebsocketsAlpaquita:23 |
4.3.2-r1 up to 4.3.10-r0 | 4.3.10-r0 |
libwebsocketsAlpaquita:25 |
4.3.5-r2 up to 4.3.10-r0 | 4.3.10-r0 |
libwebsocketsAlpaquita:stream |
4.3.1-r0 up to 4.3.10-r0 | 4.3.10-r0 |
libwebsocketsDebian:12 |
All versions, plus listed versions 4.1.6-34.1.6-3.14.3.2-14.3.2-24.3.2-3 Show 12 moreShow less4.3.2-44.3.3-14.3.3-1.14.3.3-1.1~exp14.3.5-14.3.5-24.3.5-34.3.5-44.3.5-4.14.3.5-54.3.5-64.3.5-7 |
None known |
libwebsocketsDebian:13 |
before 4.3.5-1+deb13u1, plus listed versions 4.3.5-1 |
4.3.5-1+deb13u1 |
libwebsocketsDebian:14 |
before 4.3.5-3, plus listed versions 4.3.5-14.3.5-2 |
4.3.5-3 |
libwebsocketsDebian:11 |
before 4.0.20-2+deb11u1, plus listed versions 4.0.20-2 |
4.0.20-2+deb11u1 |
libwebsocketsopenEuler:22.03-LTS-SP4 |
before 4.3.0-7.oe2203sp4 | 4.3.0-7.oe2203sp4 |
libwebsocketsopenEuler:24.03-LTS |
before 4.3.3-4.oe2403sp2 | 4.3.3-4.oe2403sp2 |
libwebsocketsopenEuler:24.03-LTS-SP1 |
before 4.3.3-4.oe2403sp1 | 4.3.3-4.oe2403sp1 |
Show 11 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libwebsocketsopenEuler:24.03-LTS-SP2 |
before 4.3.3-4.oe2403sp2 | 4.3.3-4.oe2403sp2 |
libwebsocketsopenEuler:20.03-LTS-SP4 |
before 4.3.0-7.oe2003sp4 | 4.3.0-7.oe2003sp4 |
libwebsocketsopenEuler:22.03-LTS-SP3 |
before 4.3.0-7.oe2203sp3 | 4.3.0-7.oe2203sp3 |
libwebsocketsRed Hat:openstack:17.1::el9 |
before 0:4.3.0-2.el9ost | 0:4.3.0-2.el9ost |
libwebsockets-debuginfoRed Hat:openstack:17.1::el9 |
before 0:4.3.0-2.el9ost | 0:4.3.0-2.el9ost |
libwebsockets-debugsourceRed Hat:openstack:17.1::el9 |
before 0:4.3.0-2.el9ost | 0:4.3.0-2.el9ost |
libwebsockets-devel-debuginfoRed Hat:openstack:17.1::el9 |
before 0:4.3.0-2.el9ost | 0:4.3.0-2.el9ost |
libwebsocketsUbuntu:22.04:LTS |
before 4.0.20-2ubuntu1.1, plus listed versions 4.0.20-24.0.20-2ubuntu1 |
4.0.20-2ubuntu1.1 |
libwebsocketsUbuntu:Pro:24.04:LTS |
before 4.3.3-1.1ubuntu0.1~esm1, plus listed versions 4.3.2-44.3.3-14.3.3-1.1build14.3.3-1.1build24.3.3-1.1build3 |
4.3.3-1.1ubuntu0.1~esm1 |
libwebsocketsUbuntu:25.10 |
All versions, plus listed versions 4.3.5-1 |
None known |
libwebsocketsUbuntu:Pro:20.04:LTS |
before 3.2.1-3ubuntu0.1~esm1, plus listed versions 2.0.3-3build13.2.1-3 |
3.2.1-3ubuntu0.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-11678 is a high vulnerability (CVSS 7.5) in Warmcat Libwebsocket, published October 20, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.29%, the 21st percentile. Fixed in libwebsockets 4.3.10-r0.
References
libwebsockets.org/git/libwebsockets/commit?id=2bb9598562b37c942ba5b04bcde3f7fdf66a9d3a
nozominetworks.com/labs/vulnerability-advisories-cve-2025-11678
nvd.nist.gov/vuln/detail/CVE-2025-11678
github.com/advisories/GHSA-2g39-f45w-2fcm
docs.bell-sw.com/security/cves/CVE-2025-11678
security-tracker.debian.org/tracker/CVE-2025-11678
Show 11 moreShow less
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2611
nvd.nist.gov/vuln/detail/CVE-2025-11677
access.redhat.com/errata/RHSA-2025:22969
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2405139
security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_22969.json
access.redhat.com/security/cve/CVE-2025-11678
cve.org/CVERecord?id=CVE-2025-11678
ubuntu.com/security/CVE-2025-11678
ubuntu.com/security/notices/USN-8024-1
ubuntu.com/security/CVE-2025-11677