Buffer overflow in the mysql_real_connect function in MySQL 4.x before 4.0.21, and 3.x…
Priority MEDIUM 55CWE-119Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Complete · Complete · Complete
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
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).
Why it matters now
EPSS 0.09801 95th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Red Hat: 2 advisories
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 2 advisories
- RHSA-2004:611 Released 2004-10-27 · Red Hat rating Importantmysql-server security update
- Red Hat Desktop version 3 Extras
- RHSA-2004:597 Released 2004-10-20 · Red Hat rating Importantmysql security update
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1
- Red Hat Enterprise Linux ES version 2.1
- Red Hat Enterprise Linux WS version 2.1
- Red Hat Linux Advanced Workstation 2.1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 Extras | Fixed | RHSA-2004:611 |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed | RHSA-2004:597 |
| Red Hat Enterprise Linux ES version 2.1 | Fixed | RHSA-2004:597 |
| Red Hat Enterprise Linux WS version 2.1 | Fixed | RHSA-2004:597 |
| Red Hat Linux Advanced Workstation 2.1 | Fixed | RHSA-2004:597 |
Timeline
- 2026-10-02 Threatist record created from CVE-2004-0836
- 2026-10-03 Alias added: GHSA-6f26-27c8-j6cv
References
Sources
- CVE-2004-0836 · CVE Program
- CVE-2004-0836 · NVD
- FIRST EPSS
- GHSA-6f26-27c8-j6cv · GitHub Advisory Database · CC BY 4.0
- CVE-2004-0836 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences