Skip to content

CVE-2026-78161 warmcat libwebsockets LECP CBOR Recording lecp.c report_raw_cbor out-of-bounds write

MediumCVSS 6.9 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

5 packages: 4 fixed.

PackageAffectedFixed inStatus
debian/libwebsockets(Debian 13) < 4.3.5-1+deb13u2; = 4.3.5-1; = 4.3.5-1+deb13u1 4.3.5-1+deb13u2 Fixed
debian/libwebsockets(Debian 14) < 4.3.5-6; = 4.3.5-1; = 4.3.5-2; = 4.3.5-3 +3 more 4.3.5-6 Fixed
ubuntu/libwebsockets(Ubuntu 24.04) < 4.3.3-1.1ubuntu0.1~esm2 4.3.3-1.1ubuntu0.1~esm2 Fixed
ubuntu/libwebsockets(Ubuntu 26.04) < 4.3.5-3ubuntu1.1 4.3.5-3ubuntu1.1 Fixed
warmcat libwebsockets = 4.5.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
warmcat libwebsockets = 4.5.0 No fix listed
debian/libwebsockets(Debian:13) < 4.3.5-1+deb13u2 4.3.5-1+deb13u2
debian/libwebsockets(Debian:13) = 4.3.5-1 No fix listed
debian/libwebsockets(Debian:13) = 4.3.5-1+deb13u1 No fix listed
debian/libwebsockets(Debian:14) < 4.3.5-6 4.3.5-6
debian/libwebsockets(Debian:14) = 4.3.5-1 No fix listed
debian/libwebsockets(Debian:14) = 4.3.5-2 No fix listed
debian/libwebsockets(Debian:14) = 4.3.5-3 No fix listed
debian/libwebsockets(Debian:14) = 4.3.5-4 No fix listed
debian/libwebsockets(Debian:14) = 4.3.5-4.1 No fix listed
debian/libwebsockets(Debian:14) = 4.3.5-5 No fix listed
ubuntu/libwebsockets(Ubuntu:24.04) < 4.3.3-1.1ubuntu0.1~esm2 4.3.3-1.1ubuntu0.1~esm2
ubuntu/libwebsockets(Ubuntu:26.04) < 4.3.5-3ubuntu1.1 4.3.5-3ubuntu1.1

References