{"id":"CVE-2026-78161","aliases":["BELL-CVE-2026-78161","DEBIAN-CVE-2026-78161","EUVD-2026-64685","GHSA-83xp-6qr9-g946","OESA-2026-4076","UBUNTU-CVE-2026-78161","USN-8822-1"],"status":"published","title":"warmcat libwebsockets LECP CBOR Recording lecp.c report_raw_cbor out-of-bounds write","description":"A vulnerability was found in warmcat libwebsockets 4.5.0. Impacted is the function report_raw_cbor of the file lib/misc/lecp.c of the component LECP CBOR Recording. The manipulation results in out-of-bounds write. The attack can be launched remotely. The exploit has been made public and could be used. The patch is identified as 1d44554a1bb262db63ff4e240152a9deecd99054. It is best practice to apply a patch to resolve this issue.","severity":{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00405,"percentile":0.35259,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119","CWE-787"],"published":"2026-08-24T00:45:08Z","modified":"2026-10-28T11:12:23Z","fixes":[{"ecosystem":"Alpaquita:23","package":"libwebsockets","fixed_in":["4.3.10-r1"],"sources":["osv"]},{"ecosystem":"Alpaquita:25","package":"libwebsockets","fixed_in":["4.3.10-r1"],"sources":["osv"]},{"ecosystem":"Alpaquita:stream","package":"libwebsockets","fixed_in":["4.3.10-r2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libwebsockets","fixed_in":["4.3.5-1+deb13u2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libwebsockets","fixed_in":["4.3.5-6"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"libwebsockets","fixed_in":["4.3.3-1.1ubuntu0.1~esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:26.04:LTS","package":"libwebsockets","fixed_in":["4.3.5-3ubuntu1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpaquita:23","package":"libwebsockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.3.2-r1"},{"fixed":"4.3.10-r1"}]}]},{"source":"osv","ecosystem":"Alpaquita:25","package":"libwebsockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.3.5-r2"},{"fixed":"4.3.10-r1"}]}]},{"source":"osv","ecosystem":"Alpaquita:stream","package":"libwebsockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.3.1-r0"},{"fixed":"4.3.10-r2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libwebsockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.5-1+deb13u2"}]}],"versions":["4.3.5-1","4.3.5-1+deb13u1"]},{"source":"osv","ecosystem":"Debian:14","package":"libwebsockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.5-6"}]}],"versions":["4.3.5-1","4.3.5-2","4.3.5-3","4.3.5-4","4.3.5-4.1","4.3.5-5"]},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP1","package":"libwebsockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.3-8.oe2403sp1"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP3","package":"libwebsockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.3-8.oe2403sp3"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP4","package":"libwebsockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.3-8.oe2403sp4"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP4","package":"libwebsockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.0-11.oe2003sp4"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP4","package":"libwebsockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.0-11.oe2203sp4"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"libwebsockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.3-1.1ubuntu0.1~esm2"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libwebsockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.5-3ubuntu1.1"}]}],"versions":["4.3.5-1","4.3.5-3","4.3.5-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"libwebsockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.1-3ubuntu0.1~esm2"}]}],"versions":["2.0.3-3build1","3.2.1-3","3.2.1-3ubuntu0.1~esm1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"libwebsockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.20-2ubuntu1.1+esm1"}]}],"versions":["4.0.20-2","4.0.20-2ubuntu1","4.0.20-2ubuntu1.1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"libwebsockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.3-1.1ubuntu0.1~esm2"}]}],"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"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libwebsockets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.5-3ubuntu1.1"}]}],"versions":["4.3.5-1","4.3.5-3","4.3.5-3ubuntu1"],"bundled":2}],"products":[{"vendor":"warmcat","product":"libwebsockets"}],"references":[{"url":"https://vuldb.com/vuln/394543","tags":["vdb-entry","technical-description","advisory"]},{"url":"https://vuldb.com/vuln/394543/cti","tags":["signature","permissions-required","report"]},{"url":"https://vuldb.com/cve/CVE-2026-78161","tags":["third-party-advisory","advisory"]},{"url":"https://vuldb.com/submit/883225","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/biniamf/pocs/tree/main/libwebsockets-lecp-lecp_parse-cbor_pos_oob_write","tags":["exploit","evidence"]},{"url":"https://github.com/biniamf/pocs/blob/main/libwebsockets-lecp-lecp_parse-cbor_pos_oob_write/poc_lecp_cbor_pos_oob.c","tags":["exploit","evidence"]},{"url":"https://github.com/warmcat/libwebsockets/commit/1d44554a1bb262db63ff4e240152a9deecd99054","tags":["patch","fix"]},{"url":"https://github.com/warmcat/libwebsockets/","tags":["product","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78161","tags":["advisory"]},{"url":"https://github.com/warmcat/libwebsockets"},{"url":"https://github.com/advisories/GHSA-83xp-6qr9-g946"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2026-78161","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78161.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-78161","tags":["advisory"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-4076","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-19773","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-78161","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-78161","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8822-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-10650","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-78161","title":"warmcat libwebsockets LECP CBOR Recording lecp.c report_raw_cbor out-of-bounds write","description":"A vulnerability was found in warmcat libwebsockets 4.5.0. Impacted is the function report_raw_cbor of the file lib/misc/lecp.c of the component LECP CBOR Recording. The manipulation results in out-of-bounds write. The attack can be launched remotely. The exploit has been made public and could be used. The patch is identified as 1d44554a1bb262db63ff4e240152a9deecd99054. It is best practice to apply a patch to resolve this issue.","status":"published","published":"2026-08-24T00:45:08.842Z","modified":"2026-08-24T17:22:31.257Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium","assessor":"cna"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","level":"high","assessor":"cna"},{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","level":"high","assessor":"cna"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C","assessor":"cna"}],"cwes":["CWE-787","CWE-119"],"updated_at":"2026-11-02T13:34:59.78118Z"}],"euvd":[{"id":"EUVD-2026-64685","description":"A vulnerability was found in warmcat libwebsockets 4.5.0. Impacted is the function report_raw_cbor of the file lib/misc/lecp.c of the component LECP CBOR Recording. The manipulation results in out-of-bounds write. The attack can be launched remotely. The exploit has been made public and could be used. The patch is identified as 1d44554a1bb262db63ff4e240152a9deecd99054. It is best practice to apply a patch to resolve this issue.","status":"published","published":"2026-08-24T00:45:08Z","modified":"2026-08-24T17:22:31Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium"}],"updated_at":"2026-11-02T18:01:34.563496Z"}],"ghsa":[{"id":"GHSA-83xp-6qr9-g946","title":"A vulnerability was found in warmcat libwebsockets 4.5.0. Impacted is the function...","description":"A vulnerability was found in warmcat libwebsockets 4.5.0. Impacted is the function report_raw_cbor of the file lib/misc/lecp.c of the component LECP CBOR Recording. The manipulation results in out-of-bounds write. The attack can be launched remotely. The exploit has been made public and could be used. The patch is identified as 1d44554a1bb262db63ff4e240152a9deecd99054. It is best practice to apply a patch to resolve this issue.","status":"published","published":"2026-08-24T03:31:05Z","modified":"2026-08-24T03:31:09Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"},{"version":"4.0","score":5.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:10:52.810585Z"}],"nvd":[{"id":"CVE-2026-78161","description":"A vulnerability was found in warmcat libwebsockets 4.5.0. Impacted is the function report_raw_cbor of the file lib/misc/lecp.c of the component LECP CBOR Recording. The manipulation results in out-of-bounds write. The attack can be launched remotely. The exploit has been made public and could be used. The patch is identified as 1d44554a1bb262db63ff4e240152a9deecd99054. It is best practice to apply a patch to resolve this issue.","status":"published","published":"2026-08-24T01:16:57.36Z","modified":"2026-10-12T16:10:00.22Z","cvss":[{"version":"4.0","score":5.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"secondary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"secondary"}],"cwes":["CWE-119","CWE-787"],"updated_at":"2026-11-02T14:12:41.018848Z"}],"osv":[{"id":"BELL-CVE-2026-78161","status":"published","published":"2026-09-03T06:05:30.206768Z","modified":"2026-10-02T07:15:04.234646793Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T15:28:26.041478Z"},{"id":"CVE-2026-78161","title":"warmcat libwebsockets LECP CBOR Recording lecp.c report_raw_cbor out-of-bounds write","description":"A vulnerability was found in warmcat libwebsockets 4.5.0. Impacted is the function report_raw_cbor of the file lib/misc/lecp.c of the component LECP CBOR Recording. The manipulation results in out-of-bounds write. The attack can be launched remotely. The exploit has been made public and could be used. The patch is identified as 1d44554a1bb262db63ff4e240152a9deecd99054. It is best practice to apply a patch to resolve this issue.","status":"published","published":"2026-08-24T00:45:08.842Z","modified":"2026-10-28T11:12:23.490463148Z","cvss":[{"version":"4.0","score":5.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium"}],"cwes":["CWE-119","CWE-787"],"updated_at":"2026-11-02T15:45:17.44708Z"},{"id":"DEBIAN-CVE-2026-78161","description":"A vulnerability was found in warmcat libwebsockets 4.5.0. Impacted is the function report_raw_cbor of the file lib/misc/lecp.c of the component LECP CBOR Recording. The manipulation results in out-of-bounds write. The attack can be launched remotely. The exploit has been made public and could be used. The patch is identified as 1d44554a1bb262db63ff4e240152a9deecd99054. It is best practice to apply a patch to resolve this issue.","status":"published","published":"2026-08-24T01:16:57.36Z","modified":"2026-10-13T09:47:26.279614514Z","cvss":[{"version":"4.0","score":5.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-11-02T15:46:03.502256Z"},{"id":"OESA-2026-4076","title":"libwebsockets security update","description":"Libwebsockets (LWS) is a flexible, lightweight pure C library for implementing modern network protocols easily with a tiny footprint, using a nonblocking event loop.\r\n\r\nSecurity Fix(es):\n\nlibwebsockets 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.\n\nThe 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.(CVE-2026-19773)\n\nA vulnerability classified as critical was found in warmcat libwebsockets 4.5.0. The vulnerability is in the function report_raw_cbor in lib/misc/lecp.c when handling LECP CBOR recordings. This issue allows an out-of-bounds write (CWE-787), which could affect confidentiality, integrity, and availability. A proof-of-concept exploit is available.(CVE-2026-78161)","status":"published","published":"2026-09-25T01:28:08Z","modified":"2026-09-25T01:45:10.370172076Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T15:52:47.643553Z"},{"id":"UBUNTU-CVE-2026-78161","description":"A vulnerability was found in warmcat libwebsockets 4.5.0. Impacted is the function report_raw_cbor of the file lib/misc/lecp.c of the component LECP CBOR Recording. The manipulation results in out-of-bounds write. The attack can be launched remotely. The exploit has been made public and could be used. The patch is identified as 1d44554a1bb262db63ff4e240152a9deecd99054. It is best practice to apply a patch to resolve this issue.","status":"published","published":"2026-08-24T01:16:00Z","modified":"2026-09-28T11:30:41.707023546Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"},{"version":"4.0","score":5.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium"}],"updated_at":"2026-11-02T16:57:18.015985Z"},{"id":"USN-8822-1","title":"libwebsockets vulnerabilities","description":"It was discovered that Libwebsockets incorrectly handled certain SSH\nprotocol messages in its SSH protocol handler. A remote attacker could\npossibly use this issue to cause Libwebsockets to consume excessive\nresources, resulting in a denial of service. (CVE-2026-10650)\n\nIt was discovered that Libwebsockets incorrectly handled certain malformed\nCBOR data. A remote attacker could possibly use this issue to cause\nLibwebsockets to crash, resulting in a denial of service, or execute\narbitrary code. This issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04\nLTS. (CVE-2026-78161)","status":"published","published":"2026-09-25T02:39:11Z","modified":"2026-09-28T11:42:43.847664856Z","updated_at":"2026-11-02T16:58:26.907654Z"}]}}
