{"id":"UBUNTU-CVE-2026-78161","details":"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.","modified":"2026-09-02T19:36:50.017097575Z","published":"2026-08-24T01:16:00Z","upstream":["CVE-2026-78161"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-78161"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-78161"}],"affected":[{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libwebsockets?arch=source&distro=xenial"},"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"],"ecosystem_specific":{"binaries":[{"binary_version":"1.7.1-1","binary_name":"libwebsockets-test-server"},{"binary_name":"libwebsockets-test-server-common","binary_version":"1.7.1-1"},{"binary_name":"libwebsockets7","binary_version":"1.7.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78161.json"}},{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libwebsockets?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.3-3","2.0.3-3build1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.3-3build1","binary_name":"libwebsockets-test-server"},{"binary_name":"libwebsockets-test-server-common","binary_version":"2.0.3-3build1"},{"binary_name":"libwebsockets8","binary_version":"2.0.3-3build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78161.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"],"ecosystem_specific":{"binaries":[{"binary_version":"3.2.1-3ubuntu0.1~esm1","binary_name":"libwebsockets-test-server"},{"binary_name":"libwebsockets-test-server-common","binary_version":"3.2.1-3ubuntu0.1~esm1"},{"binary_version":"3.2.1-3ubuntu0.1~esm1","binary_name":"libwebsockets15"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78161.json"}},{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libwebsockets?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.20-2","4.0.20-2ubuntu1","4.0.20-2ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libwebsockets-test-server","binary_version":"4.0.20-2ubuntu1.1"},{"binary_name":"libwebsockets-test-server-common","binary_version":"4.0.20-2ubuntu1.1"},{"binary_name":"libwebsockets16","binary_version":"4.0.20-2ubuntu1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78161.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"],"ecosystem_specific":{"binaries":[{"binary_name":"libwebsockets-evlib-ev","binary_version":"4.3.3-1.1ubuntu0.1~esm1"},{"binary_name":"libwebsockets-evlib-glib","binary_version":"4.3.3-1.1ubuntu0.1~esm1"},{"binary_version":"4.3.3-1.1ubuntu0.1~esm1","binary_name":"libwebsockets-evlib-uv"},{"binary_name":"libwebsockets-test-server","binary_version":"4.3.3-1.1ubuntu0.1~esm1"},{"binary_name":"libwebsockets-test-server-common","binary_version":"4.3.3-1.1ubuntu0.1~esm1"},{"binary_name":"libwebsockets19t64","binary_version":"4.3.3-1.1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78161.json"}},{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libwebsockets?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.5-1","4.3.5-3","4.3.5-3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.3.5-3ubuntu1","binary_name":"libwebsockets-evlib-ev"},{"binary_name":"libwebsockets-evlib-glib","binary_version":"4.3.5-3ubuntu1"},{"binary_version":"4.3.5-3ubuntu1","binary_name":"libwebsockets-evlib-uv"},{"binary_version":"4.3.5-3ubuntu1","binary_name":"libwebsockets-test-server"},{"binary_name":"libwebsockets-test-server-common","binary_version":"4.3.5-3ubuntu1"},{"binary_name":"libwebsockets19t64","binary_version":"4.3.5-3ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78161.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}