CVE-2004-0836

Summary

CVECVE-2004-0836
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2004-11-03 05:00:00 UTC
Updated2025-04-03 01:03:51 UTC
DescriptionBuffer 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).

Risk And Classification

Primary CVSS: v2.0 10 from [email protected]

AV:N/AC:L/Au:N/C:C/I:C/A:C

Problem Types: CWE-119 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:N/AC:L/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Oracle Mysql All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
MySQL Bugs: #4017: mysql_real_connect buffer overflow af854a3a-2127-422b-91ae-364da2661108 bugs.mysql.com Exploit, Vendor Advisory
redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Patch, Vendor Advisory
P-018: Red Hat Update MySQL Packages Fix Security Issues and Bugs af854a3a-2127-422b-91ae-364da2661108 www.ciac.org Broken Link
'[USN-32-1] mysql vulnerabilities' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info Mailing List, Third Party Advisory
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Patch, Vendor Advisory
Home - Conectiva af854a3a-2127-422b-91ae-364da2661108 distro.conectiva.com.br Broken Link
Secunia - Advisories - MySQL "mysql_real_connect()" Function Buffer Overflow Vulnerability af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com Third Party Advisory, VDB Entry
Gentoo Linux Documentation -- MySQL: Multiple vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.gentoo.org Third Party Advisory
MySQL Lists: internals: bk commit into 3.23 tree (1.1425) af854a3a-2127-422b-91ae-364da2661108 lists.mysql.com Vendor Advisory
www.trustix.org/errata/2004/0054 af854a3a-2127-422b-91ae-364da2661108 www.trustix.org Vendor Advisory
Debian -- Security Information -- DSA-562-1 mysql af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
MySQL Mysql_real_connect Function Potential Remote Buffer Overflow Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report