All vulnerabilities

Servers and applications

CVE-2004-0836

Buffer overflow in the mysql_real_connect function in MySQL 4.x before 4.0.21, and 3.x before 3.23.49, allows remote DNS servers to cause a denial of service and possibly execute arbitrary code via a DNS response with a large address length (h_length).

Severity
High 10.0
Published
3 Nov 2004
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
3.23.49, 4.0.21
Exploit chance
9.8% in the next 30 daysHigher than 95% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Memory buffer errors (CWE-119)
Attack
Over the network · No login needed
Attacker can
Read data · Change data · Take it down
CVSS vector
AV:N/AC:L/Au:N/C:C/I:C/A:C
Sources
NVD

Affected software

SoftwareAffected versions
MySQLServers and applications · cpe:a:oracle:mysql
  • From 3.20 before 3.23.49
  • From 4.0.0 before 4.0.21

References

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