CVE-2012-2942 json
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 valu…
published 2012-05-27 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-2921
- cvss
- 5.1
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.4%
- EPSS 5.4% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- haproxy Debian 14, Debian 13, Debian 12 1.4.23-1
debian advisories DEBIAN-CVE-2012-2942
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-2942 updated cvss 5.1
haproxy: trash buffer overflow flaw can lead to arbitrary code execution
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
5.35% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.1 | AV:N/AC:H/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
security.gentoo.org
/glsa/glsa-201301-02.xml
vendor-advisory
-
debian.org
/security/2013/dsa-2711
vendor-advisory
-
ubuntu.com
/usn/USN-1800-1
vendor-advisory
-
secunia.com
/advisories/49261
third-party-advisory, vendor-advisory
-
openwall.com
/lists/oss-security/2012/05/28/1
mailing-list
-
openwall.com
/lists/oss-security/2012/05/23/15
mailing-list
-
exchange.xforce.ibmcloud.com
/vulnerabilities/75777
vdb-entry
-
securityfocus.com
/bid/53647
vdb-entry
- haproxy.1wt.eu /#news
- haproxy.1wt.eu /git?p=haproxy-1.4.git%3Ba=commit%3Bh=30297cb17147a8d339eb160226bcc08c91d9530b
-
openwall.com
/lists/oss-security/2012/05/23/12
mailing-list
- haproxy.1wt.eu /download/1.4/src/CHANGELOG
Sources
- CVE List CVE-2012-2942
- NVD CVE-2012-2942
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.