CVE-2012-2942
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
5.353%
chance of exploitation in the next 30 days
higher than 92.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Timeline
- 2012-05-27Published by the CNA20:00 UTC
Affected products
| Vendor | Product |
|---|---|
| haproxy | haproxy |
References
- http://secunia.com/advisories/49261
- http://security.gentoo.org/glsa/glsa-201301-02.xml
- http://www.debian.org/security/2013/dsa-2711
- http://www.ubuntu.com/usn/USN-1800-1
- 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://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
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75777
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2012-2942'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2012-2942'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2012-2942'curl 'https://api.contrastcyber.com/cve_products/CVE-2012-2942'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).