---
id: CVE-2026-78161
title: A vulnerability was found in warmcat libwebsockets 4.5.0
summary: >-
  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 launc…
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'
cwe:
  - CWE-119
  - CWE-787
published: '2026-08-24'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T16:10:00.220'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-78161'
references:
  - url: >-
      https://github.com/biniamf/pocs/blob/main/libwebsockets-lecp-lecp_parse-cbor_pos_oob_write/poc_lecp_cbor_pos_oob.c
    label: cna@vuldb.com
  - url: >-
      https://github.com/biniamf/pocs/tree/main/libwebsockets-lecp-lecp_parse-cbor_pos_oob_write
    label: cna@vuldb.com
  - url: 'https://github.com/warmcat/libwebsockets/'
    label: cna@vuldb.com
  - url: >-
      https://github.com/warmcat/libwebsockets/commit/1d44554a1bb262db63ff4e240152a9deecd99054
    label: cna@vuldb.com
  - url: 'https://vuldb.com/cve/CVE-2026-78161'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/submit/883225'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/394543'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/394543/cti'
    label: cna@vuldb.com
tags:
  - nvd
epss: 0.00405
epssPercentile: 0.32871
ingestedAt: '2026-10-12T16:57:59.898Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
