CVE-2012-2942

Buffer overflow in the trash buffer in the header capture functionality in HAProxy before 1.4.21, when global.tune.bufsize is set to a value greater than the default and header rewriting is enabled, allows remote attackers to cause a denial of service and possibly execute arbitrary code via unspecified vectors.

Published: 2012-05-27 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-2942 is rated Moderate Risk (57.5/100): CVSS Medium severity, with high exploitation likelihood (EPSS 5.41%, 92th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. EPSS rose +5.20% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2012-2942

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.21% 5.41% +5.20%
2 2025-03-17 13.76% 0.21% -13.55%
3 2025-01-15 13.76%

Full EPSS history (9 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-2942

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.1 2.0 MEDIUM
AV:N/AC:H/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:H)
Exploitation requires uncommon or highly specific conditions.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
4.9 6.4 [email protected]

Weakness enumeration for CVE-2012-2942

OS Trackers for CVE-2012-2942

vendor priority summary link
debian not yet assigned CVE-2012-2942 not yet assigned priority: Debian including 1 source packages (haproxy), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2012-2942
gentoo high CVE-2012-2942: 1 GLSA(s) (201301-02), 1 atom(s) (net-proxy/haproxy); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2012-2942
ubuntu low CVE-2012-2942 low priority: Ubuntu including 1 source packages (haproxy), 8 status rows across 8 suites (hardy, lucid, natty, oneiric, precise, quantal, raring, upstream): released 5, ignored 3. https://ubuntu.com/security/CVE-2012-2942

Affected software / configurations for CVE-2012-2942

Vendor Product Version Raw CPE
haproxy haproxy <= 1.4.20 cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:*

References for CVE-2012-2942

cvelogic Threat Intelligence