Multiple format string vulnerabilities in the dispatch_command function in libmysqld/sql_parse.cc in mysqld in MySQL 4.0.0 through 5.0.83 al
Multiple format string vulnerabilities in the dispatch_command function in libmysqld/sql_parse.cc in mysqld in MySQL 4.0.0 through 5.0.83 allow remote authenticated users to cause a denial of service (daemon crash) and possibly have unspecified other impact via format string specifiers in a database name in a (1) COM_CREATE_DB or (2) COM_DROP_DB request. NOTE: some of these details are obtained from third party information.
- Published
- Jul 13, 2009
- Updated
- Jun 16, 2026
- EPSS
- 10.6% · 96th percentile
- CWE
- CWE-134
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
37
Monitor
Low priority for now.
- CVSS
- 34 / 40 · 8.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 3 / 30 · 10.6%
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
Using mysql? Add it to your stack and be the first to know about CVEs like this one. (MySQL)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- mysql mysql4.1.0
- mysql mysql4.1.10
- mysql mysql4.1.12
- mysql mysql4.1.13
- mysql mysql4.1.14
- mysql mysql4.1.15
- mysql mysql4.1.2
- mysql mysql4.1.23
- mysql mysql4.1.3
- mysql mysql4.1.8
- mysql mysql5.0.0
- mysql mysql5.0.1
- mysql mysql5.0.10
- mysql mysql5.0.15
- mysql mysql5.0.16
- mysql mysql5.0.17
- mysql mysql5.0.2
- mysql mysql5.0.20
- mysql mysql5.0.22.1.0.1
- mysql mysql5.0.24
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:4.0 | mysql-dfsg-5.0 | before 5.0.32-7etch11 | 5.0.32-7etch11 |
| Debian:5.0 | mysql-dfsg-5.0 | before 5.0.51a-24+lenny2 | 5.0.51a-24+lenny2 |
| Red Hat:enterprise_linux:4::as | mysql | before 0:4.1.22-2.el4_8.3 | 0:4.1.22-2.el4_8.3 |
| Red Hat:enterprise_linux:4::as | mysql-bench | before 0:4.1.22-2.el4_8.3 | 0:4.1.22-2.el4_8.3 |
| Red Hat:enterprise_linux:4::as | mysql-debuginfo | before 0:4.1.22-2.el4_8.3 | 0:4.1.22-2.el4_8.3 |
| Red Hat:enterprise_linux:4::as | mysql-devel | before 0:4.1.22-2.el4_8.3 | 0:4.1.22-2.el4_8.3 |
| Red Hat:enterprise_linux:4::as | mysql-server | before 0:4.1.22-2.el4_8.3 | 0:4.1.22-2.el4_8.3 |
| Red Hat:enterprise_linux:5::client_workstation | mysql | before 0:5.0.77-3.el5 | 0:5.0.77-3.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-bench | before 0:5.0.77-3.el5 | 0:5.0.77-3.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-debuginfo | before 0:5.0.77-3.el5 | 0:5.0.77-3.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-devel | before 0:5.0.77-3.el5 | 0:5.0.77-3.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-server | before 0:5.0.77-3.el5 | 0:5.0.77-3.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-test | before 0:5.0.77-3.el5 | 0:5.0.77-3.el5 |
| Red Hat:rhel_application_stack:2 | httpd | before 0:2.2.13-2.el5s2 | 0:2.2.13-2.el5s2 |
| Red Hat:rhel_application_stack:2 | httpd-debuginfo | before 0:2.2.13-2.el5s2 | 0:2.2.13-2.el5s2 |
| Red Hat:rhel_application_stack:2 | httpd-devel | before 0:2.2.13-2.el5s2 | 0:2.2.13-2.el5s2 |
| Red Hat:rhel_application_stack:2 | httpd-manual | before 0:2.2.13-2.el5s2 | 0:2.2.13-2.el5s2 |
| Red Hat:rhel_application_stack:2 | mod_ssl | before 1:2.2.13-2.el5s2 | 1:2.2.13-2.el5s2 |
| Red Hat:rhel_application_stack:2 | mysql | before 0:5.0.84-2.el5s2 | 0:5.0.84-2.el5s2 |
| Red Hat:rhel_application_stack:2 | mysql-bench | before 0:5.0.84-2.el5s2 | 0:5.0.84-2.el5s2 |
| Red Hat:rhel_application_stack:2 | mysql-cluster | before 0:5.0.84-2.el5s2 | 0:5.0.84-2.el5s2 |
| Red Hat:rhel_application_stack:2 | mysql-debuginfo | before 0:5.0.84-2.el5s2 | 0:5.0.84-2.el5s2 |
| Red Hat:rhel_application_stack:2 | mysql-devel | before 0:5.0.84-2.el5s2 | 0:5.0.84-2.el5s2 |
| Red Hat:rhel_application_stack:2 | mysql-libs | before 0:5.0.84-2.el5s2 | 0:5.0.84-2.el5s2 |
+42
Same product
mysql: all recordsOther highest-scoring records for the same primary product.
- CVE-2004-0627The check_scramble_323 function in MySQL 4.1.x before 4.1.3, and 5.0, allows remote attackers to bypass authentication via a zero-length scr61This week
- CVE-2003-0780Buffer overflow in get_salt_from_password from sql_acl.cc for MySQL 4.0.14 and earlier, and 3.23.x, allows attackers with ALTER TABLE privil60This week
- CVE-2004-0628Stack-based buffer overflow in MySQL 4.1.x before 4.1.3, and 5.0, allows remote attackers to cause a denial of service (crash) and possibly 42Plan
- CVE-2006-1518Buffer overflow in the open_table function in sql_base.cc in MySQL 5.0.x up to 5.0.20 might allow remote attackers to execute arbitrary code38Monitor
- CVE-2004-0835MySQL 3.x before 3.23.59, 4.x before 4.0.19, 4.1.x before 4.1.2, and 5.x before 5.0.1, checks the CREATE/INSERT rights of the original table37Monitor
- CVE-2012-0882Buffer overflow in yaSSL, as used in MySQL 5.5.20 and possibly other versions including 5.5.x before 5.5.22 and 5.1.x before 5.1.62, allows 32Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:mysql-dfsg-5.0 | 5.0.32-7etch11 · Debian:4.0 | Package registry (OSV) |
| red hat:httpd | 0:2.2.13-2.el5s2 · Red Hat:rhel_application_stack:2 | Package registry (OSV) |
| red hat:httpd-debuginfo | 0:2.2.13-2.el5s2 · Red Hat:rhel_application_stack:2 | Package registry (OSV) |
| red hat:httpd-devel | 0:2.2.13-2.el5s2 · Red Hat:rhel_application_stack:2 | Package registry (OSV) |
| red hat:httpd-manual | 0:2.2.13-2.el5s2 · Red Hat:rhel_application_stack:2 | Package registry (OSV) |
| red hat:mod_ssl | 1:2.2.13-2.el5s2 · Red Hat:rhel_application_stack:2 | Package registry (OSV) |
| red hat:mysql | 0:5.0.77-3.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:mysql-bench | 0:5.0.77-3.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:mysql-cluster | 0:5.0.84-2.el5s2 · Red Hat:rhel_application_stack:2 | Package registry (OSV) |
| red hat:mysql-debuginfo | 0:5.0.77-3.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:mysql-devel | 0:5.0.77-3.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:mysql-server | 0:5.0.77-3.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:mysql-test | 0:5.0.77-3.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | dos | 2009-06-08 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoC-36 d
- Published
- TodayOct 6, 2026+6294 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
If successful
- Confidentiality
- C · data can be read
- Integrity
- C · data or configuration can be modified
- Availability
- C · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- C
- Integrity impact
- C
- Availability impact
- C
Weakness class (CWE)
CWE-134 · Use of Externally-Controlled Format StringCVSS vector
AV:N/AC:M/Au:S/C:C/I:C/A:C
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- www.redhat.com/support/errata/RHSA-2009-1289.html
- lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- secunia.com/advisories/35767
- secunia.com/advisories/36566
- secunia.com/advisories/38517
- securitytracker.com/id?1022533
- support.apple.com/kb/HT4077
- ubuntu.com/usn/usn-897-1
- www.mandriva.com/security/advisories?name=MDVSA-2009:179
- www.osvdb.org/55734
- www.redhat.com/support/errata/RHSA-2010-0110.html
- www.securityfocus.com/archive/1/504799/100/0/threaded
- www.ubuntu.com/usn/USN-1397-1
- www.vupen.com/english/advisories/2009/1857
- exchange.xforce.ibmcloud.com/vulnerabilities/51614
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11857
Vendor advisories and official records. Exploit/PoC links are deliberately left out.