CVE-2026-78161
published medium CVSS 4.0 · 6.9warmcat libwebsockets LECP CBOR Recording lecp.c report_raw_cbor out-of-bounds write
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| warmcat | — | libwebsockets4.5.0 | Affected | Not stated | VulDB |
| Ubuntu | noble | libwebsockets | Advisory build | 4.3.3-1.1ubuntu0.1~esm2 | USN-8822-1 |
| Ubuntu | resolute | libwebsockets | Advisory build | 4.3.5-3ubuntu1.1 | USN-8822-1 |
| Ubuntu | noble | libwebsockets-evlib-ev | Advisory build | 4.3.3-1.1ubuntu0.1~esm2 | USN-8822-1 |
| Ubuntu | noble | libwebsockets-evlib-glib | Advisory build | 4.3.3-1.1ubuntu0.1~esm2 | USN-8822-1 |
| Ubuntu | noble | libwebsockets-evlib-uv | Advisory build | 4.3.3-1.1ubuntu0.1~esm2 | USN-8822-1 |
| Ubuntu | noble | libwebsockets-test-server | Advisory build | 4.3.3-1.1ubuntu0.1~esm2 | USN-8822-1 |
| Ubuntu | noble | libwebsockets-test-server-common | Advisory build | 4.3.3-1.1ubuntu0.1~esm2 | USN-8822-1 |
Show 7 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | libwebsockets19t64 | Advisory build | 4.3.3-1.1ubuntu0.1~esm2 | USN-8822-1 |
| Ubuntu | resolute | libwebsockets-evlib-ev | Advisory build | 4.3.5-3ubuntu1.1 | USN-8822-1 |
| Ubuntu | resolute | libwebsockets-evlib-glib | Advisory build | 4.3.5-3ubuntu1.1 | USN-8822-1 |
| Ubuntu | resolute | libwebsockets-evlib-uv | Advisory build | 4.3.5-3ubuntu1.1 | USN-8822-1 |
| Ubuntu | resolute | libwebsockets-test-server | Advisory build | 4.3.5-3ubuntu1.1 | USN-8822-1 |
| Ubuntu | resolute | libwebsockets-test-server-common | Advisory build | 4.3.5-3ubuntu1.1 | USN-8822-1 |
| Ubuntu | resolute | libwebsockets19t64 | Advisory build | 4.3.5-3ubuntu1.1 | USN-8822-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.3 | high | VulDB · cna | 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 | — |
| 3.0 | 7.3 | high | VulDB · cna | 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 | — |
| 2.0 | 7.5 | high | VulDB · cna | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| warmcat | libwebsockets | 4.5.0 (affected) | VulDB · cna |
Weaknesses
2- CWE-787 Out-of-bounds Write
- CWE-119 Memory Corruption
References
8- https://github.com/biniamf/pocs/blob/main/libwebsockets-lecp-lecp_parse-cbor_pos_oob_write/poc_lecp_cbor_pos_oob.c
- https://github.com/biniamf/pocs/tree/main/libwebsockets-lecp-lecp_parse-cbor_pos_oob_write
- https://github.com/warmcat/libwebsockets/
- https://github.com/warmcat/libwebsockets/commit/1d44554a1bb262db63ff4e240152a9deecd99054
- CVE-2026-78161 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-78161
- Submit #883225 | warmcat libwebsockets 4.5.99-v4.5.0-508-gb4b5aed39 Out-of-bounds Write https://vuldb.com/submit/883225
- VDB-394543 | warmcat libwebsockets LECP CBOR Recording lecp.c report_raw_cbor out-of-bounds write https://vuldb.com/vuln/394543
- VDB-394543 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/394543/cti
Provider assertions
2VulDB · cna
warmcat libwebsockets LECP CBOR Recording lecp.c report_raw_cbor out-of-bounds write
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3284f23a56443d09775c932b714a18b7d70fb3442f06acc2c9f489b09651b031
- Ingested
- 23 Sep 2026, 09:33:02 UTC
- Source record
- Official CVE record