{"id":"UBUNTU-CVE-2026-114550","details":"libwebsockets MQTT Protocol PUBACK Packet Handling 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 handling of PUBACK packets. 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-31039.","modified":"2026-11-05T11:45:52.071710794Z","published":"2026-11-04T00:17:00Z","upstream":["CVE-2026-114550"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-114550"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-114550"},{"type":"REPORT","url":"https://github.com/warmcat/libwebsockets/commit/c9e8e1834d7f13038c82963086b90e2ee9c5b44c"},{"type":"REPORT","url":"https://www.zerodayinitiative.com/advisories/ZDI-26-792/"}],"affected":[{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libwebsockets?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-1","1.6.0-3","1.6.0-4","1.6.0-5","1.6.1-1","1.7.0-1ubuntu1","1.7.0-2","1.7.1-1","1.7.1-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libwebsockets-test-server","binary_version":"1.7.1-1ubuntu0.1~esm1"},{"binary_name":"libwebsockets-test-server-common","binary_version":"1.7.1-1ubuntu0.1~esm1"},{"binary_name":"libwebsockets7","binary_version":"1.7.1-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114550.json"}},{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libwebsockets?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.3-3","2.0.3-3build1","2.0.3-3ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libwebsockets-test-server","binary_version":"2.0.3-3ubuntu0.1~esm1"},{"binary_version":"2.0.3-3ubuntu0.1~esm1","binary_name":"libwebsockets-test-server-common"},{"binary_name":"libwebsockets8","binary_version":"2.0.3-3ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114550.json"}},{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libwebsockets?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.3-3build1","3.2.1-3","3.2.1-3ubuntu0.1~esm1","3.2.1-3ubuntu0.1~esm2","3.2.1-3ubuntu0.1~esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"libwebsockets-test-server","binary_version":"3.2.1-3ubuntu0.1~esm3"},{"binary_name":"libwebsockets-test-server-common","binary_version":"3.2.1-3ubuntu0.1~esm3"},{"binary_name":"libwebsockets15","binary_version":"3.2.1-3ubuntu0.1~esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114550.json"}},{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/libwebsockets?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.20-2","4.0.20-2ubuntu1","4.0.20-2ubuntu1.1","4.0.20-2ubuntu1.1+esm1","4.0.20-2ubuntu1.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libwebsockets-test-server","binary_version":"4.0.20-2ubuntu1.1+esm2"},{"binary_name":"libwebsockets-test-server-common","binary_version":"4.0.20-2ubuntu1.1+esm2"},{"binary_name":"libwebsockets16","binary_version":"4.0.20-2ubuntu1.1+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114550.json"}},{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/libwebsockets?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.2-4","4.3.3-1","4.3.3-1.1build1","4.3.3-1.1build2","4.3.3-1.1build3","4.3.3-1.1ubuntu0.1~esm1","4.3.3-1.1ubuntu0.1~esm2","4.3.3-1.1ubuntu0.1~esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"libwebsockets-evlib-ev","binary_version":"4.3.3-1.1ubuntu0.1~esm3"},{"binary_name":"libwebsockets-evlib-glib","binary_version":"4.3.3-1.1ubuntu0.1~esm3"},{"binary_name":"libwebsockets-evlib-uv","binary_version":"4.3.3-1.1ubuntu0.1~esm3"},{"binary_version":"4.3.3-1.1ubuntu0.1~esm3","binary_name":"libwebsockets-test-server"},{"binary_name":"libwebsockets-test-server-common","binary_version":"4.3.3-1.1ubuntu0.1~esm3"},{"binary_version":"4.3.3-1.1ubuntu0.1~esm3","binary_name":"libwebsockets19t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114550.json"}},{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/libwebsockets?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.5-3ubuntu1","4.3.5-4.1","4.3.5-5","4.3.5-5ubuntu1","4.3.5-5ubuntu2","4.3.5-7ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libwebsockets-evlib-ev","binary_version":"4.3.5-7ubuntu1"},{"binary_name":"libwebsockets-evlib-glib","binary_version":"4.3.5-7ubuntu1"},{"binary_name":"libwebsockets-evlib-uv","binary_version":"4.3.5-7ubuntu1"},{"binary_name":"libwebsockets-test-server","binary_version":"4.3.5-7ubuntu1"},{"binary_name":"libwebsockets-test-server-common","binary_version":"4.3.5-7ubuntu1"},{"binary_name":"libwebsockets19t64","binary_version":"4.3.5-7ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114550.json"}},{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/libwebsockets?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.5-1","4.3.5-3","4.3.5-3ubuntu1","4.3.5-3ubuntu1.1","4.3.5-3ubuntu1.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libwebsockets-evlib-ev","binary_version":"4.3.5-3ubuntu1.2+esm1"},{"binary_version":"4.3.5-3ubuntu1.2+esm1","binary_name":"libwebsockets-evlib-glib"},{"binary_name":"libwebsockets-evlib-uv","binary_version":"4.3.5-3ubuntu1.2+esm1"},{"binary_name":"libwebsockets-test-server","binary_version":"4.3.5-3ubuntu1.2+esm1"},{"binary_version":"4.3.5-3ubuntu1.2+esm1","binary_name":"libwebsockets-test-server-common"},{"binary_version":"4.3.5-3ubuntu1.2+esm1","binary_name":"libwebsockets19t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114550.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}