Home / Mysql / Mysql / CVE-2007-2691
CVE-2007-2691: is it exploited, and which versions of Mysql are affected and fixed?
CVE-2007-2691 is a vulnerability in Mysql. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: mysql through 4.1.22, mysql from 5.0 before 5.0.42, mysql from 5.1 before 5.1.18 and 5 more (NVD). Fixed in 5.0.42 and 5.1.18 (NVD). Severity: Medium (4.9, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:52 UTC.
What is CVE-2007-2691?
MySQL before 4.1.23, 5.0.x before 5.0.42, and 5.1.x before 5.1.18 does not require the DROP privilege for RENAME TABLE statements, which allows remote authenticated users to rename arbitrary tables.
From the CVE record by mitre, last updated August 7, 2024, 13:49 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mysql | mysql | through 4.1.22 | application |
| mysql | mysql | from 5.0 before 5.0.42 | application |
| mysql | mysql | from 5.1 before 5.1.18 | application |
| debian | debian linux | 3.1 | operating system |
| debian | debian linux | 4.0 | operating system |
| canonical | ubuntu linux | 6.06 | operating system |
| canonical | ubuntu linux | 6.10 | operating system |
| canonical | ubuntu linux | 7.04 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 22:40 UTC.
How severe is CVE-2007-2691?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.9 | CVSS 2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2007-2691 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.85% probability of exploitation activity in the next 30 days, percentile 87.1 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- http://bugs.mysql.com/bug.php?id=27515 x_refsource_MISC
- 27823 third-party-advisory, x_refsource_SECUNIA
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-18.html x_refsource_CONFIRM
- RHSA-2007:0894 vendor-advisory, x_refsource_REDHAT
- 26073 third-party-advisory, x_refsource_SECUNIA
- 31681 vdb-entry, x_refsource_BID
- 1018069 vdb-entry, x_refsource_SECTRACK
- 31226 third-party-advisory, x_refsource_SECUNIA
- [announce] 20070712 MySQL Community Server 5.0.45 has been released! mailing-list, x_refsource_MLIST
- ADV-2007-1804 vdb-entry, x_refsource_VUPEN
- RHSA-2008:0768 vendor-advisory, x_refsource_REDHAT
- mysql-renametable-weak-security(34347) vdb-entry, x_refsource_XF
- 25946 third-party-advisory, x_refsource_SECUNIA
- 20070717 rPSA-2007-0143-1 mysql mysql-bench mysql-server mailing-list, x_refsource_BUGTRAQ
- 24016 vdb-entry, x_refsource_BID
- 25301 third-party-advisory, x_refsource_SECUNIA
- DSA-1413 vendor-advisory, x_refsource_DEBIAN
- 34766 vdb-entry, x_refsource_OSVDB
- https://issues.rpath.com/browse/RPL-1536 x_refsource_CONFIRM
- 32222 third-party-advisory, x_refsource_SECUNIA
- USN-528-1 vendor-advisory, x_refsource_UBUNTU
- MDKSA-2007:139 vendor-advisory, x_refsource_MANDRIVA
- 30351 third-party-advisory, x_refsource_SECUNIA
- 27155 third-party-advisory, x_refsource_SECUNIA
- 26430 third-party-advisory, x_refsource_SECUNIA
- ADV-2008-2780 vdb-entry, x_refsource_VUPEN
- 28838 third-party-advisory, x_refsource_SECUNIA
- SUSE-SR:2008:003 vendor-advisory, x_refsource_SUSE
- RHSA-2008:0364 vendor-advisory, x_refsource_REDHAT
- APPLE-SA-2008-10-09 vendor-advisory, x_refsource_APPLE
- http://support.apple.com/kb/HT3216 x_refsource_CONFIRM
- oval:org.mitre.oval:def:9559 vdb-entry, signature, x_refsource_OVAL
When was it published, and where is the official record?
- Reserved
- May 15, 2007
- Published
- May 16, 2007, 01:00 UTC
- CVE record updated
- August 7, 2024, 13:49 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:40 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:52 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Mysql?
- Oct 27, 2017CVE-2017-15945 Mariadb: incorrect permissions on a critical resource
- Apr 16, 2015CVE-2015-2575 Debian Linux: improper access control
- Mar 28, 2013CVE-2013-1492 Mysql: memory corruption (buffer overflow)
- Mar 28, 2013CVE-2012-0553 Mysql: memory corruption (buffer overflow)
- Dec 21, 2012CVE-2012-0882 Oracle Mysql: memory corruption (buffer overflow)
- Aug 17, 2012CVE-2012-2749 Mysql: n/a
- Aug 17, 2012CVE-2012-2102 Mysql: memory corruption (buffer overflow)
- Aug 17, 2012CVE-2009-5026 Mysql: SQL injection
Questions about CVE-2007-2691
Is CVE-2007-2691 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 2.85% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Mysql are affected by CVE-2007-2691?
mysql through 4.1.22, mysql from 5.0 before 5.0.42, mysql from 5.1 before 5.1.18, debian linux 3.1, debian linux 4.0, ubuntu linux 6.06 and 2 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2007-2691?
5.0.42 and 5.1.18, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2007-2691?
Medium (4.9, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2007-2691?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.