| Name | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1145789 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libwebsockets (PTS) | bookworm | 4.1.6-3 | fixed |
| trixie | 4.3.5-1+deb13u1 | vulnerable | |
| forky, sid | 4.3.5-6 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libwebsockets | source | bullseye | (not affected) | |||
| libwebsockets | source | bookworm | (not affected) | |||
| libwebsockets | source | (unstable) | 4.3.5-6 | 1145789 |
[trixie] - libwebsockets <no-dsa> (Minor issue; will be fixed via point release)
[bookworm] - libwebsockets <not-affected> (Vulnerable code introduced in v4.3.0)
[bullseye] - libwebsockets <not-affected> (Vulnerable code introduced in v4.3.0)
Introduced by: https://github.com/warmcat/libwebsockets/commit/dcaa0013b425882aa71cfb1a5b350d67b6717608 (v4.3.0)
Fixed by: https://github.com/warmcat/libwebsockets/commit/1d44554a1bb262db63ff4e240152a9deecd99054 (v5.0.0)
https://github.com/biniamf/pocs/tree/main/libwebsockets-lecp-lecp_parse-cbor_pos_oob_write