CVE-2026-78161
warmcat libwebsockets LECP CBOR Recording lecp.c report_raw_cbor out-of-bounds write
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
6.9
warmcat libwebsockets LECP CBOR Recording lecp.c report_raw_cbor out-of-bounds write
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.
- Record
CVE-2026-78161- CVSS 4.0
- 6.9 Medium
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 - CVSS 3.1
- 7.3 High
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 - CVSS 3.0
- 7.3 High
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 - CVSS 2.0
- 7.5
AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C - Weakness
- CWE-787, CWE-119
- Updated
- 2026-11-02
EUVDEUVD-2026-64685
6.9
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.
- Record
EUVD-2026-64685- CVSS 4.0
- 6.9 Medium
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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-83xp-6qr9-g946
5.5
A vulnerability was found in warmcat libwebsockets 4.5.0. Impacted is the function...
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.
- Record
GHSA-83xp-6qr9-g946- CVSS 4.0
- 5.5 Medium
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 - CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-119
- Updated
- 2026-11-02
NVD
5.5
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.
- Record
CVE-2026-78161- CVSS 4.0
- 5.5 Medium
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 - CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-119, CWE-787
- Updated
- 2026-11-02
OSVBELL-CVE-2026-78161
7.3
- Record
BELL-CVE-2026-78161- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSV
5.5
warmcat libwebsockets LECP CBOR Recording lecp.c report_raw_cbor out-of-bounds write
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.
- Record
CVE-2026-78161- CVSS 4.0
- 5.5 Medium
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 - Weakness
- CWE-119, CWE-787
- Updated
- 2026-11-02
Show 4 moreShow less
OSVDEBIAN-CVE-2026-78161
5.5
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.
- Record
DEBIAN-CVE-2026-78161- CVSS 4.0
- 5.5 Medium
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 - Updated
- 2026-11-02
OSVOESA-2026-4076
7.3
libwebsockets security update
Libwebsockets (LWS) is a flexible, lightweight pure C library for implementing modern network protocols easily with a tiny footprint, using a nonblocking event loop.
Security Fix(es):
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.(CVE-2026-19773)
A 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)
- Record
OESA-2026-4076- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-78161
5.5
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.
- Record
UBUNTU-CVE-2026-78161- CVSS 4.0
- 5.5 Medium
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 - CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUSN-8822-1 No score
libwebsockets vulnerabilities
It was discovered that Libwebsockets incorrectly handled certain SSH protocol messages in its SSH protocol handler. A remote attacker could possibly use this issue to cause Libwebsockets to consume excessive resources, resulting in a denial of service. (CVE-2026-10650)
It was discovered that Libwebsockets incorrectly handled certain malformed CBOR data. A remote attacker could possibly use this issue to cause Libwebsockets to crash, resulting in a denial of service, or execute arbitrary code. This issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-78161)
- Record
USN-8822-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libwebsocketsAlpaquita:23 |
4.3.2-r1 up to 4.3.10-r1 | 4.3.10-r1 |
libwebsocketsAlpaquita:25 |
4.3.5-r2 up to 4.3.10-r1 | 4.3.10-r1 |
libwebsocketsAlpaquita:stream |
4.3.1-r0 up to 4.3.10-r2 | 4.3.10-r2 |
libwebsocketsDebian:13 |
before 4.3.5-1+deb13u2, plus listed versions 4.3.5-14.3.5-1+deb13u1 |
4.3.5-1+deb13u2 |
libwebsocketsDebian:14 |
before 4.3.5-6, plus listed versions 4.3.5-14.3.5-24.3.5-34.3.5-44.3.5-4.14.3.5-5 |
4.3.5-6 |
libwebsocketsopenEuler:24.03-LTS-SP1 |
before 4.3.3-8.oe2403sp1 | 4.3.3-8.oe2403sp1 |
libwebsocketsopenEuler:24.03-LTS-SP3 |
before 4.3.3-8.oe2403sp3 | 4.3.3-8.oe2403sp3 |
libwebsocketsopenEuler:24.03-LTS-SP4 |
before 4.3.3-8.oe2403sp4 | 4.3.3-8.oe2403sp4 |
libwebsocketsopenEuler:20.03-LTS-SP4 |
before 4.3.0-11.oe2003sp4 | 4.3.0-11.oe2003sp4 |
libwebsocketsopenEuler:22.03-LTS-SP4 |
before 4.3.0-11.oe2203sp4 | 4.3.0-11.oe2203sp4 |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libwebsocketsUbuntu:Pro:24.04:LTS |
before 4.3.3-1.1ubuntu0.1~esm2, plus listed versions 4.3.2-44.3.3-14.3.3-1.1build14.3.3-1.1build24.3.3-1.1build34.3.3-1.1ubuntu0.1~esm1 |
4.3.3-1.1ubuntu0.1~esm2 |
libwebsocketsUbuntu:26.04:LTS |
before 4.3.5-3ubuntu1.1, plus listed versions 4.3.5-14.3.5-34.3.5-3ubuntu1 |
4.3.5-3ubuntu1.1 |
libwebsocketsUbuntu:Pro:20.04:LTS |
before 3.2.1-3ubuntu0.1~esm2, plus listed versions 2.0.3-3build13.2.1-33.2.1-3ubuntu0.1~esm1 |
3.2.1-3ubuntu0.1~esm2 |
libwebsocketsUbuntu:Pro:22.04:LTS |
before 4.0.20-2ubuntu1.1+esm1, plus listed versions 4.0.20-24.0.20-2ubuntu14.0.20-2ubuntu1.1 |
4.0.20-2ubuntu1.1+esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-78161 is a medium vulnerability (CVSS 6.9) in Warmcat Libwebsockets, published August 24, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.40%, the 34th percentile. Fixed in libwebsockets 4.3.10-r1.
References
vuldb.com/vuln/394543
vuldb.com/vuln/394543/cti
vuldb.com/cve/CVE-2026-78161
vuldb.com/submit/883225
github.com/biniamf/pocs/tree/main/libwebsockets-lecp-lecp_parse-cbor_pos_oob_write
github.com/biniamf/pocs/blob/main/libwebsockets-lecp-lecp_parse-cbor_pos_oob_write/poc_lecp_cbor_pos_oob.c
Show 13 moreShow less
github.com/warmcat/libwebsockets/commit/1d44554a1bb262db63ff4e240152a9deecd99054
github.com/warmcat/libwebsockets
nvd.nist.gov/vuln/detail/CVE-2026-78161
github.com/advisories/GHSA-83xp-6qr9-g946
docs.bell-sw.com/security/cves/CVE-2026-78161
github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78161.json
security-tracker.debian.org/tracker/CVE-2026-78161
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-4076
nvd.nist.gov/vuln/detail/CVE-2026-19773
ubuntu.com/security/CVE-2026-78161
cve.org/CVERecord?id=CVE-2026-78161
ubuntu.com/security/notices/USN-8822-1
ubuntu.com/security/CVE-2026-10650