Every CVE Search/ Get API key

CVE-2025-11678

Stack-based Buffer Overflow in libwebsockets DNS response parsing

7.5 HighFix available

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

0.29%Up 0.3 points since Oct 21, 2025
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
libwebsockets
Alpaquita:23
4.3.2-r1 up to 4.3.10-r0
4.3.10-r0
libwebsockets
Alpaquita:25
4.3.5-r2 up to 4.3.10-r0
4.3.10-r0
libwebsockets
Alpaquita:stream
4.3.1-r0 up to 4.3.10-r0
4.3.10-r0
libwebsockets
Debian: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 less
4.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
libwebsockets
Debian:13
before 4.3.5-1+deb13u1, plus listed versions
4.3.5-1
4.3.5-1+deb13u1
libwebsockets
Debian:14
before 4.3.5-3, plus listed versions
4.3.5-14.3.5-2
4.3.5-3
libwebsockets
Debian:11
before 4.0.20-2+deb11u1, plus listed versions
4.0.20-2
4.0.20-2+deb11u1
libwebsockets
openEuler:22.03-LTS-SP4
before 4.3.0-7.oe2203sp4
4.3.0-7.oe2203sp4
libwebsockets
openEuler:24.03-LTS
before 4.3.3-4.oe2403sp2
4.3.3-4.oe2403sp2
libwebsockets
openEuler:24.03-LTS-SP1
before 4.3.3-4.oe2403sp1
4.3.3-4.oe2403sp1
Show 11 moreShow less
Affected packages
PackageAffectedFixed
libwebsockets
openEuler:24.03-LTS-SP2
before 4.3.3-4.oe2403sp2
4.3.3-4.oe2403sp2
libwebsockets
openEuler:20.03-LTS-SP4
before 4.3.0-7.oe2003sp4
4.3.0-7.oe2003sp4
libwebsockets
openEuler:22.03-LTS-SP3
before 4.3.0-7.oe2203sp3
4.3.0-7.oe2203sp3
libwebsockets
Red Hat:openstack:17.1::el9
before 0:4.3.0-2.el9ost
0:4.3.0-2.el9ost
libwebsockets-debuginfo
Red Hat:openstack:17.1::el9
before 0:4.3.0-2.el9ost
0:4.3.0-2.el9ost
libwebsockets-debugsource
Red Hat:openstack:17.1::el9
before 0:4.3.0-2.el9ost
0:4.3.0-2.el9ost
libwebsockets-devel-debuginfo
Red Hat:openstack:17.1::el9
before 0:4.3.0-2.el9ost
0:4.3.0-2.el9ost
libwebsockets
Ubuntu:22.04:LTS
before 4.0.20-2ubuntu1.1, plus listed versions
4.0.20-24.0.20-2ubuntu1
4.0.20-2ubuntu1.1
libwebsockets
Ubuntu: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
libwebsockets
Ubuntu:25.10
All versions, plus listed versions
4.3.5-1
None known
libwebsockets
Ubuntu: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

History
RecordedChangedSources
first indexedCVE 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

Show 11 moreShow less
MoveEnter Open