CVE-2004-0835 in Debian Linux and 2 more products
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.
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 3.0 |
| Mysql | Mysql | ≥ 4.1.0, ≤ 4.1.2 ≥ 5.0.0, ≤ 5.0.1 |
| Oracle | Mysql | > 3.20, < 3.23.59 ≥ 4.0.0, < 4.0.19 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2004-0835 |
|---|---|
| BreachSpider ID | BS-2004-GLOBAL-159109-H |
| CVSS vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Published | 2004-11-03 |
| Last modified | 2026-04-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
MySQL versions prior to 3.23.59, 4.0.19, 4.1.2, and 5.0.1 are vulnerable to an unauthorized activity exploit due to incorrect rights checking during an ALTER TABLE RENAME operation.
An attacker with CREATE/INSERT rights on the original table but not on the target table can exploit this vulnerability to rename the table, potentially gaining unauthorized access or modifying data.
Questions
What is CVE-2004-0835?
MySQL versions prior to 3.23.59, 4.0.19, 4.1.2, and 5.0.1 are vulnerable to an unauthorized activity exploit due to incorrect rights checking during an ALTER TABLE RENAME operation.
What is the CVSS score for CVE-2004-0835?
CVE-2004-0835 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 23.1%.
Is CVE-2004-0835 actively exploited?
Public exploit available for CVE-2004-0835. Exploitation risk elevated.
How do I remediate CVE-2004-0835?
Priority: HIGH. Advisory: http://bugs.mysql.com/bug.php?id=3270 PSIRT: [email protected]
What systems are affected by CVE-2004-0835?
CVE-2004-0835 affects Debian Debian Linux; Mysql Mysql; Oracle Mysql.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-16.