Out-of-bounds Write Affecting warmcat/libwebsockets package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (18th 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-13645014
  • published21 Oct 2025
  • disclosed20 Oct 2025
  • creditUnknown

Introduced: 20 Oct 2025

NewCVE-2025-11680  (opens in a new tab)
CWE-787  (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 Out-of-bounds Write via the lws_upng_decode function when the WS_WITH_UPNG flag is enabled during compilation and the HTML display stack is used. An attacker can cause a crash or potentially execute arbitrary code by enticing a user to visit a malicious website containing a crafted PNG file with a large width value, leading to an integer overflow that affects heap allocation size.

Note: This is only exploitable if the LWS_WITH_UPNG flag is enabled and the HTML display stack is in use.

CVSS Base Scores

version 4.0
version 3.1