CVE-2012-2942

CVE-2012-2942 is a medium-severity vulnerability in Haproxy with a CVSS 2.0 base score of 5.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.

Key facts

Description

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.

Frequently asked questions

What is 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.
How severe is CVE-2012-2942?
CVE-2012-2942 has a CVSS 2.0 base score of 5.1, rated medium severity.
Is CVE-2012-2942 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 5% (92nd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2012-2942?
CVE-2012-2942 affects Haproxy. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2012-2942?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2012-2942 published?
CVE-2012-2942 was published on 2012-05-27 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in Haproxy

All CVEs affecting Haproxy →

Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities

Browse all CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities →