CVE-2026-19773libwebsockets
Remote Code Execution in libwebsockets via HPACK Buffer Overflow
Critical 9.8 No auth needed
Follow: this CVE · libwebsockets · libwebsockets We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Sep 15, 2026
- Updated
- Sep 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
libwebsockets contains an out-of-bounds write vulnerability in HTTP/2 HPACK path header parsing. An unauthenticated remote attacker can send specially crafted data to write past the end of an allocated buffer, enabling arbitrary code execution in the context of the affected process.
Show the original NVD text
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.
What to do
No patch data
Check vendor advisories and apply security patches when available. Review the fix commit in the libwebsockets repository.
- Apply the vendor's security update for libwebsockets.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- libwebsockets · libwebsockets
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.