Out-of-bounds Write Affecting libwebsockets package, versions <3.2.1-3ubuntu0.1~esm3


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.65% (49th 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-UBUNTU2004-LIBWEBSOCKETS-19866324
  • published1 Oct 2026
  • disclosed15 Sept 2026

Introduced: 15 Sep 2026

NewCVE-2026-19773  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 libwebsockets to version 3.2.1-3ubuntu0.1~esm3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libwebsockets package and not the libwebsockets package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

libwebsockets HTTP/2 HPACK Path Header Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of libwebsockets. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the parsing of HTTP/2 HPACK path header. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-31036.