warmcat libwebsockets LECP CBOR Recording lecp.c report_raw_cbor out-of-bounds write
warmcat libwebsockets
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| warmcat libwebsockets |
| No fix yet |
Original 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.
From the CVE record · VulDB
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_writeExploit
- github.com/biniamf/pocs/blob/main/libwebsockets-lecp-lecp_parse-cbor_pos_oob_write/poc_lecp_cbor_pos_oob.cExploit
- github.com/warmcat/libwebsockets/commit/1d44554a1bb262db63ff4e240152a9deecd99054Patch
- github.com/warmcat/libwebsockets
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78161.json
- nvd.nist.gov/vuln/detail/CVE-2026-78161