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…
CVE-2004-0836 affects 20 listed versions of Oracle MySQL in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Oracle MySQL
20 of 221 listed versions are affected. Fixed in 4.0.21, 3.23.49. The newest release, 26.10.0, is not affected.
4.0.20 4.0.19 4.0.18 4.0.17 4.0.16 4.0.15 4.0.14 4.0.13 3.23.48 3.23.47 3.22.32 3.22.30 3.22.29 3.22.28 3.22.27 3.22.26 3.22 3.21 3.20.32a 3.20
What it is
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).
AV:N/AC:L/Au:N/C:C/I:C/A:C (NVD)
Published by MITRE on 3 November 2004. Last changed 16 June 2026.
Sources
Check one version you run: look CVE-2004-0836 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.