All reports
High

libwebsockets: Stack-based Buffer Overflow in libwebsockets

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-11678

Probability of exploitation in the next 30 days: 0.29%

FIRST EPSS · 2026-11-19

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.

A stack based buffer overflow flaw has been discovered in libwebsockets. The vulnerability allows an attacker that can inspect DNS requests made by the victim (e.g. being in the same wireless network) to forge a DNS response packet that overflows the stack and may lead to arbitrary code execution.