<?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/"><channel><title>Haproxy - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/haproxy/</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>Thu, 18 Jun 2026 17:24:14 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/haproxy/feed.xml" rel="self" type="application/rss+xml"/><item><title>CVE-2026-55204: HAProxy Null Pointer Dereference Leads to Denial of Service</title><link>https://feed.craftedsignal.io/briefs/2026-06-cve-2026-55204-haproxy-dos/</link><pubDate>Thu, 18 Jun 2026 17:24:14 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-06-cve-2026-55204-haproxy-dos/</guid><description>An unauthenticated attacker can exploit CVE-2026-55204, a null pointer dereference vulnerability in HAProxy through version 3.4.0, by triggering excessive HPACK dynamic table insertions under memory pressure, causing HAProxy worker processes to crash and resulting in a denial of service.</description><content:encoded><![CDATA[<p>HAProxy through version 3.4.0 is affected by CVE-2026-55204, a null pointer dereference vulnerability residing in the <code>hpack_dht_insert()</code> function within <code>src/hpack-tbl.c</code>. This flaw occurs because the function fails to validate the return value of <code>hpack_dht_defrag()</code> when the memory pool is exhausted. An unauthenticated attacker can exploit this by sending specially crafted HTTP/2 requests that trigger excessive HPACK dynamic table insertions. By intentionally inducing memory pressure, the attacker forces <code>hpack_dht_defrag()</code> to return a NULL pointer, which <code>hpack_dht_insert()</code> then attempts to dereference. This action crashes HAProxy worker processes, leading to a denial of service for all services fronted by the vulnerable HAProxy instance. The vulnerability was fixed in commit <code>9a6d1fe</code>.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Attacker crafts malicious HTTP/2 request</strong>: An unauthenticated attacker sends specifically designed HTTP/2 requests targeting a vulnerable HAProxy instance.</li>
<li><strong>Request triggers HPACK dynamic table insertions</strong>: The crafted request's headers are designed to cause numerous HPACK dynamic table insertions within the HAProxy worker process.</li>
<li><strong>Memory pressure induced</strong>: These excessive insertions consume memory, leading to memory pressure on the targeted HAProxy worker process.</li>
<li><strong><code>hpack_dht_defrag()</code> returns NULL</strong>: Under severe memory exhaustion, the <code>hpack_dht_defrag()</code> function, called by <code>hpack_dht_insert()</code>, fails to allocate memory and returns a NULL pointer.</li>
<li><strong>Null pointer dereference occurs</strong>: The <code>hpack_dht_insert()</code> function proceeds without validating the NULL return value, attempting to dereference this invalid pointer.</li>
<li><strong>HAProxy worker process crashes</strong>: This dereference results in a critical error, causing the targeted HAProxy worker process to unexpectedly terminate.</li>
<li><strong>Denial of Service</strong>: Repeated exploitation of this vulnerability leads to cascading crashes of HAProxy worker processes, rendering the HAProxy instance unable to process legitimate requests and causing a denial of service for all services it fronts.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-55204 results in a denial of service for services load-balanced or proxied by the vulnerable HAProxy instance. This can lead to severe business disruption, including website or application unavailability, financial losses due to interrupted services, and reputational damage. While no specific victim counts are detailed, any organization utilizing affected HAProxy versions as a critical infrastructure component is at risk. The impact is primarily on system availability, with no direct impact on confidentiality or integrity unless other systems rely on HAProxy's functionality in a critical security path.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Immediately <strong>patch</strong> HAProxy installations by updating to a version containing the fix for CVE-2026-55204, specifically referencing commit <code>9a6d1fe</code> or later versions.</li>
<li>Deploy the Sigma rule &quot;Detects HAProxy Process Crashes (CVE-2026-55204 Impact)&quot; to monitor for unexpected <code>haproxy</code> process terminations.</li>
<li>Implement the Sigma rule &quot;Detects High Rate of HAProxy 5xx Errors&quot; to identify unusual spikes in server-side HTTP errors, which may indicate a denial-of-service condition or ongoing exploitation.</li>
<li>Configure HAProxy to limit HTTP/2 header sizes and HPACK dynamic table sizes to reduce the attack surface for memory exhaustion attacks, if applicable to your configuration.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>denial-of-service</category><category>vulnerability</category><category>HAProxy</category><category>CVE-2026-55204</category></item><item><title>CVE-2026-55203 HAProxy Integer Overflow in FastCGI Handling</title><link>https://feed.craftedsignal.io/briefs/2026-06-cve-2026-55203-haproxy-integer-overflow/</link><pubDate>Thu, 18 Jun 2026 17:23:08 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-06-cve-2026-55203-haproxy-integer-overflow/</guid><description>An integer overflow vulnerability (CVE-2026-55203) in HAProxy through version 3.4.0 allows malicious FastCGI backends to desynchronize the FCGI framing parser, leading to request routing errors, response smuggling, or memory safety issues.</description><content:encoded><![CDATA[<p>CVE-2026-55203 impacts HAProxy versions up to and including 3.4.0, stemming from an integer overflow within the <code>fcgi_conn</code> structure's <code>drl</code> field. This vulnerability is triggered when HAProxy receives a FastCGI record from a backend where <code>contentLength</code> is precisely 65535 and <code>paddingLength</code> is 1 or more. Under these specific conditions, the <code>drl</code> field wraps to 0, causing HAProxy to misinterpret subsequent data as new FastCGI record headers. This desynchronization of the FCGI framing parser enables malicious FastCGI backends to manipulate HAProxy's internal state, potentially resulting in request routing errors, response smuggling, or various memory safety issues. Organizations utilizing HAProxy as a reverse proxy for FastCGI applications are particularly susceptible, making immediate patching crucial.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker establishes or compromises a FastCGI backend service configured to communicate with a vulnerable HAProxy instance.</li>
<li>The malicious FastCGI backend constructs and sends a specially crafted FastCGI record to HAProxy.</li>
<li>The crafted FastCGI record includes a <code>contentLength</code> value of 65535 and a <code>paddingLength</code> of 1 or more.</li>
<li>HAProxy receives and attempts to process this record, triggering an integer overflow in the <code>fcgi_conn</code> structure's <code>drl</code> field, causing the field to wrap to 0.</li>
<li>Due to the <code>drl</code> field's incorrect value, HAProxy misinterprets the subsequent data stream from the backend as new FastCGI record headers.</li>
<li>This misinterpretation desynchronizes HAProxy's internal FastCGI framing parser, leading to incorrect consumption of subsequent records.</li>
<li>The desynchronization allows the attacker to control HAProxy's processing, potentially leading to request routing errors (e.g., client request routed to wrong backend), response smuggling (e.g., appending arbitrary content to legitimate responses), or various memory safety issues (e.g., crashes, arbitrary code execution).</li>
<li>The ultimate objective is achieved, ranging from data manipulation, unauthorized access, to denial of service or remote code execution depending on the specific memory safety issue exploited.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The successful exploitation of CVE-2026-55203 can lead to severe consequences, with a CVSS v3.1 Base Score of 7.5. Primary impacts include the desynchronization of HAProxy's FastCGI parser, enabling attackers to cause request routing errors, potentially redirecting user traffic to unintended services or malicious content. More critically, it can facilitate response smuggling, where attackers can inject arbitrary data or even entire unauthorized responses into a legitimate client's connection. Furthermore, the underlying integer overflow can lead to various memory safety issues, potentially resulting in HAProxy crashes, denial-of-service, information disclosure, or even remote code execution, undermining the stability and security of the proxy layer.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Patch CVE-2026-55203 immediately by updating HAProxy to a version beyond 3.4.0 (e.g., 3.4.1 or later containing commit 5985276).</li>
<li>Deploy the Sigma rule &quot;CVE-2026-55203 - Detect HAProxy FCGI Parsing Errors&quot; to your SIEM to identify internal errors indicative of attempted exploitation.</li>
<li>Deploy the Sigma rule &quot;CVE-2026-55203 - Detect High Volume of HAProxy 5xx Errors&quot; to monitor for unusual spikes in server-side errors that could signal instability or routing issues caused by exploitation.</li>
<li>Enable comprehensive logging for HAProxy and its FastCGI backends, including detailed error messages, to facilitate investigation.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>vulnerability</category><category>haproxy</category><category>fastcgi</category><category>integer-overflow</category><category>webserver</category><category>proxy</category></item></channel></rss>