{"id":"CVE-2004-0836","aliases":["DSA-562-2","EUVD-2004-0834","GHSA-6f26-27c8-j6cv"],"status":"published","title":"Buffer overflow in the mysql_real_connect function in MySQL 4.x before 4.0.21, and 3.x before 3...","description":"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":{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.09801,"percentile":0.95575,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-119"],"published":"2004-10-11T00:00:00Z","modified":"2026-06-16T22:06:29Z","affected":[{"source":"osv","ecosystem":"Debian:3.0","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.23.49-8.8"}]}],"bundled":3}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"oracle","product":"mysql"}],"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2004-611.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/10981","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://www.debian.org/security/2004/dsa-562","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory"]},{"url":"http://marc.info/?l=bugtraq\u0026m=110140517515735\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Mailing List","Third Party Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17047","tags":["vdb-entry","x_refsource_XF","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://secunia.com/advisories/12305/","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory"]},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000892","tags":["vendor-advisory","x_refsource_CONECTIVA","x_transferred","Broken Link"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-597.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Patch","Vendor Advisory"]},{"url":"http://www.ciac.org/ciac/bulletins/p-018.shtml","tags":["third-party-advisory","government-resource","x_refsource_CIAC","x_transferred","Broken Link"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200410-22.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory"]},{"url":"http://www.trustix.org/errata/2004/0054/","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred","Vendor Advisory"]},{"url":"http://lists.mysql.com/internals/14726","tags":["x_refsource_MISC","x_transferred","Vendor Advisory"]},{"url":"http://bugs.mysql.com/bug.php?id=4017","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0836"},{"url":"http://secunia.com/advisories/12305"},{"url":"http://www.trustix.org/errata/2004/0054"},{"url":"https://github.com/advisories/GHSA-6f26-27c8-j6cv"}],"sources":{"cve":[{"id":"CVE-2004-0836","description":"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).","status":"published","published":"2004-10-16T04:00:00Z","modified":"2024-08-08T00:31:47.56Z","updated_at":"2026-11-02T14:34:54.758165Z"}],"euvd":[{"id":"EUVD-2004-0834","description":"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).","status":"published","published":"2004-10-16T04:00:00Z","modified":"2024-08-08T00:31:47Z","updated_at":"2026-11-03T01:15:17.778038Z"}],"ghsa":[{"id":"GHSA-6f26-27c8-j6cv","title":"Buffer overflow in the mysql_real_connect function in MySQL 4.x before 4.0.21, and 3.x before 3...","description":"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).","status":"published","published":"2022-04-29T02:58:27Z","modified":"2025-04-03T04:02:49Z","cwes":["CWE-119"],"updated_at":"2026-11-02T15:00:39.470148Z"}],"nvd":[{"id":"CVE-2004-0836","description":"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).","status":"published","published":"2004-11-03T05:00:00Z","modified":"2026-06-16T22:06:29.247Z","cvss":[{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:00:51.000028Z"}],"osv":[{"id":"DSA-562-2","title":"mysql - several vulnerabilities","status":"published","published":"2004-10-11T00:00:00Z","modified":"2026-03-09T02:11:29.584683Z","updated_at":"2026-11-02T15:46:17.892347Z"}]}}
