Stack-based Buffer Overflow Affecting warmcat/libwebsockets package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-WARMCATLIBWEBSOCKETS-13645009
  • published21 Oct 2025
  • disclosed20 Oct 2025
  • creditUnknown

Introduced: 20 Oct 2025

NewCVE-2025-11678  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow via the lws_adns_parse_label function when the LWS_WITH_SYS_ASYNC_DNS flag is enabled during compilation. An attacker can execute arbitrary code or cause a crash by crafting a malicious DNS response with a label longer than the allowed maximum that matches a sniffed DNS request id.

Note: This is only exploitable if the LWS_WITH_SYS_ASYNC_DNS compilation flag is enabled.

CVSS Base Scores

version 4.0
version 3.1