CVE Catalog

CVE-2026-19773

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Summary

libwebsockets contains an out-of-bounds write vulnerability in HTTP/2 HPACK path header parsing. The lack of proper validation of user-supplied data results in a write past the end of an allocated buffer.

Risk Assessment

A remote, unauthenticated attacker can execute arbitrary code in the context of the current process. This can lead to full compromise of the affected service.

Recommendation

Update libwebsockets to a version containing the fix (ZDI-CAN-31036). If immediate patching is not possible, consider restricting network access to services using this library.

Other vulnerabilities in libwebsockets

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS