A vulnerability was found in warmcat libwebsockets 4.5.0. Impacted is the function reportrawcbor 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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78161.json",
"cwe_ids": [
"CWE-119",
"CWE-787"
],
"cna_assigner": "VulDB"
}[
{
"id": "CVE-2026-78161-75493f2c",
"target": {
"function": "lecp_parse",
"file": "lib/misc/lecp.c"
},
"deprecated": false,
"digest": {
"function_hash": "20202142571052205829753458882689707487",
"length": 10252.0
},
"signature_version": "v1",
"source": "https://github.com/warmcat/libwebsockets/commit/1d44554a1bb262db63ff4e240152a9deecd99054",
"signature_type": "Function"
},
{
"id": "CVE-2026-78161-7ac0b2f0",
"target": {
"function": "report_raw_cbor",
"file": "lib/misc/lecp.c"
},
"deprecated": false,
"digest": {
"function_hash": "65864091482555991527210941033341749404",
"length": 227.0
},
"signature_version": "v1",
"source": "https://github.com/warmcat/libwebsockets/commit/1d44554a1bb262db63ff4e240152a9deecd99054",
"signature_type": "Function"
},
{
"id": "CVE-2026-78161-a431107a",
"target": {
"file": "lib/misc/lecp.c"
},
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"293336959863681589821278390228489802029",
"147818705718954066784780679426977248202",
"278500515919508856726592087884787418700",
"158956048387682890682892585988907474254",
"332503147478371451261019873994211125563",
"308914038376979422299268544412370881740",
"45413060396040575632965538988741081520",
"182213923548219382721795721312777241303",
"337578691801299456732853191210114399037",
"251695709048339312555951863339086853521",
"119206182354761663649017734836238781651",
"294422414310524342446426351585321439741",
"134106007634041345075517273121436794173",
"63891085159422660300913889567012208352"
]
},
"signature_version": "v1",
"source": "https://github.com/warmcat/libwebsockets/commit/1d44554a1bb262db63ff4e240152a9deecd99054",
"signature_type": "Line"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-78161.json"
"2026-08-27T19:14:11Z"