<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Cbor - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/cbor/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Mon, 24 Aug 2026 01:40:32 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/cbor/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Remote Code Execution via Out-of-Bounds Write in libwebsockets LECP Component</title><link>https://feed.craftedsignal.io/briefs/2026-08-libwebsockets-oob/</link><pubDate>Mon, 24 Aug 2026 01:40:32 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-libwebsockets-oob/</guid><description>An out-of-bounds write vulnerability in the libwebsockets LECP CBOR recording function (CVE-2026-78161) allows remote attackers to trigger memory corruption via crafted CBOR data.</description><content:encoded><![CDATA[<p>A memory corruption vulnerability has been identified in the warmcat libwebsockets library, specifically within the LECP (Lightweight Embedded CBOR Parser) component. The flaw exists in the report_raw_cbor function located in lib/misc/lecp.c in version 4.5.0. An attacker can exploit this vulnerability remotely by supplying a specially crafted CBOR payload to an application utilizing the libwebsockets library. This manipulation results in an out-of-bounds write, which may lead to application instability, service disruption, or potentially arbitrary code execution depending on the memory layout and the implementation of the host application. A proof-of-concept exploit has been made public, increasing the risk of exploitation for unpatched systems. Organizations utilizing libwebsockets 4.5.0 should prioritize updating to a patched version or applying the official vendor commit 1d44554a1bb262db63ff4e240152a9deecd99054.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker performs reconnaissance to identify services or applications utilizing the libwebsockets library version 4.5.0.</li>
<li>The attacker crafts a malicious CBOR (Concise Binary Object Representation) payload designed to trigger the out-of-bounds write in the report_raw_cbor function.</li>
<li>The attacker transmits the payload to the target application via the established web socket or network interface.</li>
<li>The libwebsockets library receives the data and passes it to the lecp_parse function for processing within the LECP component.</li>
<li>The function report_raw_cbor performs an insecure write operation due to insufficient bounds checking on the CBOR input.</li>
<li>The out-of-bounds write corrupts adjacent memory regions within the application process space.</li>
<li>The attacker leverages the corrupted memory state to achieve a crash or redirect application execution flow.</li>
<li>Final objective achieved, typically resulting in Denial of Service (DoS) or Remote Code Execution (RCE).</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-78161 allows a remote, unauthenticated attacker to cause memory corruption in systems using libwebsockets 4.5.0. Given the library's prevalence in embedded devices and networked applications, this poses a high risk to availability and system integrity. While the severity is documented as high (CVSS 7.3), the real-world impact depends on the specific host application's memory protections and the attacker's ability to weaponize the memory corruption for reliable execution.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Apply the official patch identified by commit 1d44554a1bb262db63ff4e240152a9deecd99054 to all instances of libwebsockets 4.5.0 immediately.</li>
<li>Identify applications within the environment that dynamically link against libwebsockets 4.5.0 and schedule emergency patching.</li>
<li>Monitor network traffic for anomalous CBOR payloads if the environment has known exposure of internal services using this library to the internet.</li>
<li>Review development build pipelines to ensure static compilation of libwebsockets does not include the vulnerable 4.5.0 version.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>vulnerability</category><category>remote-code-execution</category><category>cbor</category></item></channel></rss>