CVE-2026-78161

Source
https://cve.org/CVERecord?id=CVE-2026-78161
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-78161.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-78161
Downstream
Published
2026-08-24T00:45:08.842Z
Modified
2026-08-27T19:14:11.439848Z
Severity
  • 5.5 (Medium) CVSS_V4 - 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 Calculator
Summary
warmcat libwebsockets LECP CBOR Recording lecp.c report_raw_cbor out-of-bounds write
Details

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.

Database specific
{
    "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"
}
References

Affected packages

Git / github.com/warmcat/libwebsockets

Affected ranges

Type
GIT
Repo
https://github.com/warmcat/libwebsockets
Events
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "4.5.0"
        },
        {
            "last_affected": "4.5.0"
        }
    ]
}

Affected versions

4.*
4.5.0
v4.*
v4.5.0

Database specific

vanir_signatures
[
    {
        "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"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-78161.json"
vanir_signatures_modified
"2026-08-27T19:14:11Z"