CVE-2025-11678
JSON

7.5high

Stack-based Buffer Overflow in libwebsockets DNS response parsing

Severity
7.5high CVSS:4.0 by Nozomi
Exploit likelihood
0.28% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Nozomi

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

Product or packageVersionsReported by
warmcat libwebsocketfrom 4.0 up to 4.4.2, from 4.0 up to 4.3.6CVE List

Classification

CWE-121

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Desbordamiento de búfer basado en pila en lws_adns_parse_label en warmcat libwebsockets permite, cuando la bandera LWS_WITH_SYS_ASYNC_DNS está habilitada durante la compilación, desbordar la label_stack, cuando el atacante es capaz de esnifar una solicitud DNS para elaborar una respuesta con un id coincidente que contenga una etiqueta más larga que el máximo.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-11678 changed 2025-10-20CVE Terms of Use
NVDCVE-2025-11678 changed 2026-10-08Public domain