cve.bz

CVE-2026-78161 warmcat libwebsockets: Out-of-bounds Write

5.5 mediumEPSS 0.4%

Medium (5.5) in warmcat libwebsockets. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

5.5 medium
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 3.1

7.3 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 35th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-08-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-78161 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-78161?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-78161?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-78161 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
warmcat libwebsockets4.5.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13libwebsockets4.3.5-1+deb13u2DEBIAN-CVE-2026-78161
Debian14libwebsockets4.3.5-6DEBIAN-CVE-2026-78161
Ubuntu26.04:LTSlibwebsockets4.3.5-3ubuntu1.1UBUNTU-CVE-2026-78161 USN-8822-1
UbuntuPro:20.04:LTSlibwebsockets3.2.1-3ubuntu0.1~esm2USN-8822-1
UbuntuPro:22.04:LTSlibwebsockets4.0.20-2ubuntu1.1+esm1USN-8822-1
UbuntuPro:24.04:LTSlibwebsockets4.3.3-1.1ubuntu0.1~esm2UBUNTU-CVE-2026-78161 USN-8822-1
Alpaquita23, 25libwebsockets4.3.10-r1BELL-CVE-2026-78161
Alpaquitastreamlibwebsockets4.3.10-r2BELL-CVE-2026-78161

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

A vulnerability was found in libwebsockets 4.5.0 only. This vulnerability in libwebsockets, an out-of-bounds write in the LECP CBOR Recording component, does not affect Red Hat products. The vulnerable code is not present in the versions of libwebsockets shipped with Red Hat offerings.

ProductPackageStateAdvisory
A-MQ Interconnect 1libwebsocketsNot affected
Red Hat OpenStack Platform 16.2libwebsocketsNot affected
Red Hat OpenStack Platform 17.1libwebsocketsNot affected
Red Hat Satellite 6libwebsocketsNot affected
Red Hat Service Interconnect 2libwebsocketsNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-78161.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON