Live threats

All CVEs / Haproxy

CVE-2018-20102Haproxy

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
4.2%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Dec 12, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-125
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

An out-of-bounds read in dns_validate_dns_response in dns.c was discovered in HAProxy through 1.8.14. Due to a missing check when validating DNS responses, remote attackers might be able read the 16 bytes corresponding to an AAAA record from the non-initialized part of the buffer, possibly accessing anything that was left on the stack, or even past the end of the 8193-byte buffer, depending on the value of accepted_payload_size.

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.8.14
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux18.10
redhatopenshift_container_platform3.11

Official sources

References

Links published by the sources. Open them with care.