HIGH 7.5

CVE-2026-55204: HAProxy Null Pointer Dereference Denial of Service Vulnerability

HAProxy versions through 3.4.0 contain a vulnerability that allows attackers to crash HAProxy worker processes by exploiting how the software handles HTTP/2 header compression under memory constraints. When HAProxy's internal memory pool becomes full, the software fails to properly check whether a memory cleanup operation succeeded before attempting to use its results, leading to a crash. An attacker can remotely trigger this condition by sending specially crafted HTTP/2 requests, causing denial of service without needing authentication or special privileges.

Source data · NVD / CISA · public domain

CVSS
3.1 · 7.5 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses (CWE)
CWE-476
Affected products
1 configuration(s)
Published / Modified
2026-06-18 / 2026-07-14

NVD description (verbatim)

HAProxy through 3.4.0, fixed in commit 9a6d1fe, contains a null pointer dereference vulnerability in hpack_dht_insert() within src/hpack-tbl.c that fails to validate the return value of hpack_dht_defrag() when the memory pool is exhausted. An attacker can trigger HPACK dynamic table insertions under memory pressure to dereference a NULL pointer and crash HAProxy worker processes, causing denial of service.

2 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-55204 is a null pointer dereference flaw in HAProxy's HPACK (HTTP/2 header compression) dynamic table implementation. The vulnerability exists in the hpack_dht_insert() function within src/hpack-tbl.c, where the return value of hpack_dht_defrag() is not validated after invocation. When the memory pool is exhausted, hpack_dht_defrag() may return NULL, but the calling code proceeds to dereference this pointer without checking. This occurs during HPACK dynamic table insertions under memory pressure, resulting in a null pointer dereference that crashes the affected worker process. The issue is classified as CWE-476 (Null Pointer Dereference) and affects HAProxy through version 3.4.0, with the fix available in commit 9a6d1fe.

Business impact

This vulnerability enables denial-of-service attacks against HAProxy deployments, directly impacting application availability. Because HAProxy commonly serves as a load balancer or reverse proxy for critical infrastructure, a successful attack can disrupt service to downstream applications and APIs. The attack requires no authentication and can be executed remotely over the network, making it accessible to unauthenticated attackers. While the vulnerability does not enable data theft or system compromise, the availability impact is substantial for organizations relying on HAProxy for traffic distribution or SSL/TLS termination.

Affected systems

HAProxy versions up to and including 3.4.0 are affected. Organizations running HAProxy should verify their deployed version and determine whether they are within the affected range. The fix is available in commit 9a6d1fe and should be incorporated into subsequent stable releases; verify against the vendor advisory for patched version numbers and release dates.

Exploitability

This vulnerability is highly exploitable. The attack has a network vector with low attack complexity, requires no privileges or user interaction, and can be triggered by sending malicious HTTP/2 requests with carefully crafted HPACK dynamic table operations. The attacker does not need any special position or knowledge of the target system beyond network reachability to HAProxy. The primary barrier to exploitation is discovering or crafting the precise sequence of HPACK operations needed to exhaust the memory pool and trigger the null dereference, but this is a solvable reverse-engineering problem. The impact is immediate and visible: worker process crashes and service interruption.

Remediation

Immediate action should focus on upgrading HAProxy to a patched version that includes commit 9a6d1fe or later. Organizations unable to patch immediately should consider implementing network-level controls such as rate-limiting HTTP/2 requests or implementing request filtering to mitigate the memory exhaustion condition that triggers the vulnerability. Load balancing configurations that distribute traffic across multiple HAProxy instances can reduce the impact of individual process crashes, though this does not prevent exploitation. Monitoring for unusual spikes in HAProxy worker process crashes may help detect active exploitation attempts.

Patch guidance

Upgrade HAProxy to a stable release that includes the fix from commit 9a6d1fe. Verify the exact patched version number against the vendor advisory, as patch releases vary by HAProxy release branch. After patching, perform testing in a staging environment to confirm compatibility with your configuration and traffic patterns before deploying to production. Ensure that any custom HAProxy configurations or modules are re-validated following the upgrade.

Detection guidance

Monitor HAProxy logs and worker process exit codes for patterns consistent with crashes or segmentation faults. Enable verbose logging if available to capture details around the time of crashes. On Unix/Linux systems, check system logs (e.g., syslog, dmesg) for core dump or segfault messages associated with HAProxy worker processes. Network-based detection is challenging but possible by monitoring for rapid HTTP/2 requests with repeated or malformed HPACK dynamic table insertions followed by connection drops. Alert on any unexpected loss of HAProxy worker processes or sudden traffic handling degradation.

Why prioritize this

This vulnerability merits urgent attention due to the combination of a CVSS score of 7.5 (HIGH), remote exploitability, no authentication requirement, and direct impact on application availability. HAProxy's role as a critical infrastructure component makes its availability essential. The low barrier to exploitation and the ease of triggering denial of service make this a probable target for opportunistic attackers. Organizations should treat patching this vulnerability as a priority security task.

Risk score, explained

The CVSS 3.1 score of 7.5 reflects a HIGH severity rating driven by the network attack vector, low complexity, and high availability impact. The vulnerability does not compromise confidentiality or integrity, which moderates the score below critical levels. However, the complete lack of authentication or user interaction requirements, combined with the immediate and obvious impact (service outage), makes this a practical, high-impact threat in real-world deployments.

Frequently asked questions

Does this vulnerability allow an attacker to read or modify data passing through HAProxy?

No. This vulnerability causes a denial of service through process crashes and does not enable data theft, eavesdropping, or tampering. The vulnerability affects the availability of the service, not its confidentiality or integrity.

Can I mitigate this vulnerability without patching if I disable HTTP/2 support?

Yes, disabling HTTP/2 on HAProxy would prevent exploitation of this HPACK-specific vulnerability. However, this may not be practical for organizations relying on HTTP/2 for performance or client compatibility. Patching is the recommended remediation.

What happens when this vulnerability is exploited?

When exploited, a single HAProxy worker process crashes due to a null pointer dereference. In configurations using multiple worker processes, the crash affects only one worker; other workers continue operating. However, the overall processing capacity is reduced, and repeated exploitation can crash multiple workers, leading to significant service degradation.

Are there any workarounds besides disabling HTTP/2 or upgrading?

Temporary workarounds include implementing aggressive rate-limiting on HTTP/2 requests, configuring network firewall rules to limit request rates, or placing a Web Application Firewall (WAF) in front of HAProxy to detect and block malicious HPACK sequences. However, these are stop-gap measures; patching is the definitive solution.

This analysis is based on the vulnerability information available as of the published date and represents the professional judgment of security analysts. Specific patch version numbers, release dates, and affected product versions should be verified against official vendor advisories and security bulletins. Organizations must conduct their own risk assessment and testing before deploying patches. This document does not constitute legal advice or a guarantee of security. No exploit code or weaponized proof-of-concept is provided or implied in this analysis. Source: NVD (public-domain), retrieved 2026-07-27. Analysis generated by SEC.co (claude-haiku-4-5).