Live threats

All CVEs / Haproxy

CVE-2012-2942Haproxy

Medium 5.1 No auth needed

Priority
46
CVSS 2.0
5.1
EPSS
5.4%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
May 27, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
AV:N/AC:H/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Haproxy.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
haproxyhaproxy≤ 1.4.20

Official sources

References

Links published by the sources. Open them with care.