| Name | CVE-2025-11678 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1118746 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| libwebsockets (PTS) | bookworm | 4.1.6-3 | vulnerable |
| trixie (security), trixie | 4.3.5-1+deb13u3 | fixed |
| forky, sid | 4.3.5-7 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bookworm] - libwebsockets <postponed> (Minor issue, feature not compiled)
https://libwebsockets.org/git/libwebsockets/commit?id=2bb9598562b37c942ba5b04bcde3f7fdf66a9d3a
Incomplete fix in 4.0.20-2+deb11u1: patch with syntax error not built,
requires `cmake -DLWS_WITH_SYS_ASYNC_DNS=1`