Vulnerability · Published Oct 20, 2025 · Assigned by Nozomi

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

High 7.5

In plain English

A high-severity stack buffer overflow in libwebsocket from warmcat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)7.5High
Exploit odds (30 days)0.3%top 78.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libwebsocketsno fix listedDEBIAN-CVE-2025-11678
Debian:13libwebsockets4.3.5-1+deb13u1DEBIAN-CVE-2025-11678
Debian:14libwebsockets4.3.5-3DEBIAN-CVE-2025-11678
Ubuntu:22.04:LTSlibwebsockets4.0.20-2ubuntu1.1USN-8024-1
Ubuntu:22.04:LTSlibwebsockets4.0.20-2ubuntu1.1UBUNTU-CVE-2025-11678
Ubuntu:25.10libwebsocketsno fix listedUBUNTU-CVE-2025-11678

Affected products (as reported)

VendorProductVersions
warmcat libwebsocket 4.0 – through 4.4.24.0 – through 4.3.6

Weakness: CWE-121 · Vector: 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

References