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
- Severity: Medium (CVSS 2.0 base score 5.1)
- EPSS exploit prediction: 5% (92nd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Haproxy
- Published:
- Last modified:
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
- http://haproxy.1wt.eu/#news
- http://haproxy.1wt.eu/download/1.4/src/CHANGELOG
- http://haproxy.1wt.eu/git?p=haproxy-1.4.git%3Ba=commit%3Bh=30297cb17147a8d339eb160226bcc08c91d9530b
- http://secunia.com/advisories/49261
- http://security.gentoo.org/glsa/glsa-201301-02.xml
- http://www.debian.org/security/2013/dsa-2711
- http://www.openwall.com/lists/oss-security/2012/05/23/12
- http://www.openwall.com/lists/oss-security/2012/05/23/15
- http://www.openwall.com/lists/oss-security/2012/05/28/1
- http://www.securityfocus.com/bid/53647
- http://www.ubuntu.com/usn/USN-1800-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75777
Affected products (1)
- cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:*
More vulnerabilities in Haproxy
- CVE-2019-19330 — Critical (CVSS 9.8): The HTTP/2 implementation in HAProxy before 2.0.10 mishandles headers, as demonstrated by carriage return (CR, ASCII…
- CVE-2023-25725 — Critical (CVSS 9.1): HAProxy before 2.7.3 may allow a bypass of access control because HTTP/1 headers are inadvertently lost in some…
- CVE-2020-11100 — High (CVSS 8.8): In hpack_dht_insert in hpack-tbl.c in the HPACK decoder in HAProxy 1.8 through 2.x before 2.1.4, a remote attacker can…
- CVE-2023-45539 — High (CVSS 8.2): HAProxy before 2.8.2 accepts # as part of the URI component, which might allow remote attackers to obtain sensitive…
- CVE-2026-55204 — High (CVSS 7.5): HAProxy through 3.4.0, fixed in commit 9a6d1fe, contains a null pointer dereference vulnerability in…
- CVE-2026-55203 — High (CVSS 7.5): HAProxy through 3.4.0, fixed in commit 5985276, contains an integer overflow vulnerability in the fcgi_conn structure's…
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.