CVE-2025-11678

Stack-based Buffer Overflow in libwebsockets DNS response parsing

State
Published
Severity
7.5 High
Published
Oct 20, 2025
Updated
Oct 20, 2025
Reserved
Oct 13, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.5 HighCVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NNozomi

Weaknesses

  • CWE-121 Stack-based Buffer Overflow

Affected Products

ProductVersions
libwebsocketwarmcat
  • 4.0 through 4.4.2Affected
  • 4.0 through 4.3.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.