Skip to content

CVE-2026-19773 libwebsockets HTTP/2 HPACK Path Header Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability

CriticalCVSS 9.8 EPSS 0.83%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
UbuntuDebianRed Hat

Description

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.

Upgrade path

9 packages: 5 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
debian/libwebsockets(Debian 12) = 4.1.6-3; = 4.1.6-3.1; = 4.3.2-1; = 4.3.2-2 +14 more No fix listed No fix yet
redhat/libwebsockets(Red Hat amq_interconnect 1) All versions No fix listed No fix yet
redhat/libwebsockets(Red Hat service_interconnect 2) All versions No fix listed No fix yet
debian/libwebsockets(Debian 13) < 4.3.5-1+deb13u3; = 4.3.5-1; = 4.3.5-1+deb13u1; = 4.3.5-1+deb13u2 4.3.5-1+deb13u3 Fixed
debian/libwebsockets(Debian 14) < 4.3.5-7; = 4.3.5-1; = 4.3.5-2; = 4.3.5-3 +4 more 4.3.5-7 Fixed
ubuntu/libwebsockets(Ubuntu 22.04) < 4.0.20-2ubuntu1.1+esm2 4.0.20-2ubuntu1.1+esm2 Fixed
ubuntu/libwebsockets(Ubuntu 24.04) < 4.3.3-1.1ubuntu0.1~esm3 4.3.3-1.1ubuntu0.1~esm3 Fixed
ubuntu/libwebsockets(Ubuntu 26.04) < 4.3.5-3ubuntu1.2+esm1 4.3.5-3ubuntu1.2+esm1 Fixed
libwebsockets = b4b5aed3903eaff09cd76a410f69bbe5dff66f8e No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
libwebsockets = b4b5aed3903eaff09cd76a410f69bbe5dff66f8e No fix listed
redhat/libwebsockets(Red Hat:amq_interconnect:1) All versions No fix listed
redhat/libwebsockets(Red Hat:openstack:16.2) All versions No fix listed
redhat/libwebsockets(Red Hat:openstack:17.1) All versions No fix listed
redhat/libwebsockets(Red Hat:service_interconnect:2) All versions No fix listed
debian/libwebsockets(Debian:12) All versions No fix listed
debian/libwebsockets(Debian:12) = 4.1.6-3 No fix listed
debian/libwebsockets(Debian:12) = 4.1.6-3.1 No fix listed
debian/libwebsockets(Debian:12) = 4.3.2-1 No fix listed
debian/libwebsockets(Debian:12) = 4.3.2-2 No fix listed
debian/libwebsockets(Debian:12) = 4.3.2-3 No fix listed
debian/libwebsockets(Debian:12) = 4.3.2-4 No fix listed
debian/libwebsockets(Debian:12) = 4.3.3-1 No fix listed
debian/libwebsockets(Debian:12) = 4.3.3-1.1 No fix listed
debian/libwebsockets(Debian:12) = 4.3.3-1.1~exp1 No fix listed
debian/libwebsockets(Debian:12) = 4.3.5-1 No fix listed
debian/libwebsockets(Debian:12) = 4.3.5-2 No fix listed
debian/libwebsockets(Debian:12) = 4.3.5-3 No fix listed
debian/libwebsockets(Debian:12) = 4.3.5-4 No fix listed
debian/libwebsockets(Debian:12) = 4.3.5-4.1 No fix listed
debian/libwebsockets(Debian:12) = 4.3.5-5 No fix listed
debian/libwebsockets(Debian:12) = 4.3.5-6 No fix listed
debian/libwebsockets(Debian:12) = 4.3.5-7 No fix listed
debian/libwebsockets(Debian:13) < 4.3.5-1+deb13u3 4.3.5-1+deb13u3
debian/libwebsockets(Debian:13) = 4.3.5-1 No fix listed
Show 13 more
ProductAffected versionsFixed in
debian/libwebsockets(Debian:13) = 4.3.5-1+deb13u1 No fix listed
debian/libwebsockets(Debian:13) = 4.3.5-1+deb13u2 No fix listed
debian/libwebsockets(Debian:14) < 4.3.5-7 4.3.5-7
debian/libwebsockets(Debian:14) = 4.3.5-1 No fix listed
debian/libwebsockets(Debian:14) = 4.3.5-2 No fix listed
debian/libwebsockets(Debian:14) = 4.3.5-3 No fix listed
debian/libwebsockets(Debian:14) = 4.3.5-4 No fix listed
debian/libwebsockets(Debian:14) = 4.3.5-4.1 No fix listed
debian/libwebsockets(Debian:14) = 4.3.5-5 No fix listed
debian/libwebsockets(Debian:14) = 4.3.5-6 No fix listed
ubuntu/libwebsockets(Ubuntu:22.04) < 4.0.20-2ubuntu1.1+esm2 4.0.20-2ubuntu1.1+esm2
ubuntu/libwebsockets(Ubuntu:24.04) < 4.3.3-1.1ubuntu0.1~esm3 4.3.3-1.1ubuntu0.1~esm3
ubuntu/libwebsockets(Ubuntu:26.04) < 4.3.5-3ubuntu1.2+esm1 4.3.5-3ubuntu1.2+esm1

References