Stack-based buffer overflow in libwebsockets - CVE-2025-11678
Published: November 3, 2025
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the lws_adns_parse_label() function in lib/system/async-dns/async-dns-parse.c. A remote unauthenticated attacker can trigger a stack-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
openEuler
Ubuntu
libwebsockets (Ubuntu package)
libwebsockets (Red Hat package)
libwebsockets
libwebsockets-debuginfo
libwebsockets-debugsource
libwebsockets-devel
libwebsockets-help
Red Hat OpenStack
How to mitigate CVE-2025-11678
libwebsockets (Red Hat package) - update to 4.3.0-2.el9ost
libwebsockets - update to 4.3.0-7
libwebsockets-debuginfo - update to 4.3.0-7
libwebsockets-debugsource - update to 4.3.0-7
libwebsockets-devel - update to 4.3.0-7
libwebsockets-help - update to 4.3.0-7
Red Hat OpenStack - update to 17.1