Skip to content

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

HighCVSS 7.5 EPSS 0.29%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

6 packages: 5 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
debian/libwebsockets(Debian 12) = 4.1.6-3; = 4.1.6-3.1; = 4.3.2-1; = 4.3.2-2 +14 more No fix listed No fix yet
debian/libwebsockets(Debian 13) < 4.3.5-1+deb13u1; = 4.3.5-1 4.3.5-1+deb13u1 Fixed
debian/libwebsockets(Debian 14) < 4.3.5-3; = 4.3.5-1; = 4.3.5-2 4.3.5-3 Fixed
ubuntu/libwebsockets(Ubuntu 22.04) < 4.0.20-2ubuntu1.1 4.0.20-2ubuntu1.1 Fixed
ubuntu/libwebsockets(Ubuntu 24.04) < 4.3.3-1.1ubuntu0.1~esm1 4.3.3-1.1ubuntu0.1~esm1 Fixed
warmcat libwebsocket >= 4.0, <= 4.3.6; >= 4.0, <= 4.4.2 after 4.3.6, 4.4.2 Fixed

Affected products

ProductAffected versionsFixed in
debian/libwebsockets(Debian:12) All versions No fix listed
debian/libwebsockets(Debian:12) = 4.1.6-3 No fix listed
debian/libwebsockets(Debian:12) = 4.1.6-3.1 No fix listed
debian/libwebsockets(Debian:12) = 4.3.2-1 No fix listed
debian/libwebsockets(Debian:12) = 4.3.2-2 No fix listed
debian/libwebsockets(Debian:12) = 4.3.2-3 No fix listed
debian/libwebsockets(Debian:12) = 4.3.2-4 No fix listed
debian/libwebsockets(Debian:12) = 4.3.3-1 No fix listed
debian/libwebsockets(Debian:12) = 4.3.3-1.1 No fix listed
debian/libwebsockets(Debian:12) = 4.3.3-1.1~exp1 No fix listed
debian/libwebsockets(Debian:12) = 4.3.5-1 No fix listed
debian/libwebsockets(Debian:12) = 4.3.5-2 No fix listed
debian/libwebsockets(Debian:12) = 4.3.5-3 No fix listed
debian/libwebsockets(Debian:12) = 4.3.5-4 No fix listed
debian/libwebsockets(Debian:12) = 4.3.5-4.1 No fix listed
debian/libwebsockets(Debian:12) = 4.3.5-5 No fix listed
debian/libwebsockets(Debian:12) = 4.3.5-6 No fix listed
debian/libwebsockets(Debian:12) = 4.3.5-7 No fix listed
debian/libwebsockets(Debian:13) < 4.3.5-1+deb13u1 4.3.5-1+deb13u1
debian/libwebsockets(Debian:13) = 4.3.5-1 No fix listed
debian/libwebsockets(Debian:14) < 4.3.5-3 4.3.5-3
debian/libwebsockets(Debian:14) = 4.3.5-1 No fix listed
debian/libwebsockets(Debian:14) = 4.3.5-2 No fix listed
warmcat libwebsocket >= 4.0, <= 4.4.2 No fix listed
warmcat libwebsocket >= 4.0, <= 4.3.6 No fix listed
Show 2 more
ProductAffected versionsFixed in
ubuntu/libwebsockets(Ubuntu:22.04) < 4.0.20-2ubuntu1.1 4.0.20-2ubuntu1.1
ubuntu/libwebsockets(Ubuntu:24.04) < 4.3.3-1.1ubuntu0.1~esm1 4.3.3-1.1ubuntu0.1~esm1

References