CVE-2004-0835Mysql Vulnerability
MySQL 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 table instead of the target table in an ALTER TABLE RENAME operation, which could allow attackers to conduct unauthorized activities.
Published Mar 23, 2004 · Updated Mar 9, 2026 · Also known as DEBIAN-CVE-2004-0835, DEBIAN-CVE-2004-0836, DEBIAN-CVE-2004-0837, DSA-562-2
Key Facts
Patch immediately- CVE-2004-0835 is a high-severity vulnerability (CVSS 7.5 v2) affecting Mysql, Debian Linux.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 22% probability of exploitation in the next 30 days.
- Fixed versions are available, including Mysql 3.23.49-8.8, Mysql 4.1.2, oracle mysql 3.23.59.
- Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Scores
CVSS v2
7.5
AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS (30-day exploit likelihood)
22%
Higher than 97.6% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
40/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
1
Reports of active use
Advisories And Exploit References
- advisoryhttp://lists.mysql.com/internals/13073
- advisoryRHSA-2004:597
- advisoryRHSA-2004:611
- advisory1011606
- advisorymysql-alter-restriction-bypass(17666)
- advisoryhttp://www.mysql.org/doc/refman/4.1/en/news-4-0-19.html
Description
MySQL 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 table instead of the target table in an ALTER TABLE RENAME operation, which could allow attackers to conduct unauthorized activities.
Affected Products
4 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| MysqlMysql | See advisory | 4.1.2 |
| Debian LinuxDebian | 3.0 | n/a |
Patched Releases
Mysql
3.23.49-8.8, 4.1.2
oracle mysql
3.23.59
Timeline
Publicly disclosed
Mar 23, 2004
Last updated
Mar 9, 2026
References
- advisorylists.mysql.com · 13073
- advisoryRHSA-2004:597
- advisoryRHSA-2004:611
- advisory1011606
- advisorymysql-alter-restriction-bypass(17666)
FAQ
Common Questions.
MySQL 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 table instead of the target table in an ALTER TABLE RENAME operation, which could allow attackers to conduct unauthorized activities.
Affected: Mysql; Debian Linux versions 3.0. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Mysql 3.23.49-8.8, Mysql 4.1.2, oracle mysql 3.23.59.
Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Is CVE-2004-0835 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo