All vulnerabilities

Servers and applications

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.

Severity
Medium 5.1
Published
27 May 2012
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Exploit chance
5.4% in the next 30 daysHigher than 92% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Memory buffer errors (CWE-119)
Attack
Over the network · Only under certain conditions · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:H/Au:N/C:P/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
HAProxyServers and applications · cpe:a:haproxy:haproxy
  • Every version up to 1.4.20

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2012-2942
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2012-2942