Home / Mysql / Mysql / CVE-2007-6303
CVE-2007-6303: is it exploited, and which versions of Mysql are affected and fixed?
CVE-2007-6303 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, 08:38 UTC). Affected: mysql 5.0.0, mysql 5.0.1, mysql 5.0.2 and 26 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Low (3.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:52 UTC.
What is CVE-2007-6303?
MySQL 5.0.x before 5.0.51a, 5.1.x before 5.1.23, and 6.0.x before 6.0.4 does not update the DEFINER value of a view when the view is altered, which allows remote authenticated users to gain privileges via a sequence of statements including a CREATE SQL SECURITY DEFINER VIEW statement and an ALTER VIEW statement.
From the CVE record by mitre, last updated August 7, 2024, 16:02 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mysql | mysql | 5.0.0 | application |
| mysql | mysql | 5.0.1 | application |
| mysql | mysql | 5.0.2 | application |
| mysql | mysql | 5.0.3 | application |
| mysql | mysql | 5.0.4 | application |
| mysql | mysql | 5.0.5 | application |
| mysql | mysql | 5.0.5.0.21 | application |
| mysql | mysql | 5.0.10 | application |
| mysql | mysql | 5.0.15 | application |
| mysql | mysql | 5.0.16 | application |
| mysql | mysql | 5.0.17 | application |
| mysql | mysql | 5.0.20 | application |
| mysql | mysql | 5.0.22.1.0.1 | application |
| mysql | mysql | 5.0.24 | application |
| oracle | mysql | 5.0.41 | application |
| oracle | mysql | 5.1.1 | application |
| oracle | mysql | 5.1.2 | application |
| oracle | mysql | 5.1.10 | application |
| oracle | mysql | 5.1.11 | application |
| oracle | mysql | 5.1.12 | application |
| oracle | mysql | 5.1.13 | application |
| oracle | mysql | 5.1.14 | application |
| oracle | mysql | 5.1.15 | application |
| oracle | mysql | 5.1.16 | application |
| oracle | mysql | 5.1.17 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:47 UTC.
How severe is CVE-2007-6303?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.5 | CVSS 2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N | 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-6303 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.23% probability of exploitation activity in the next 30 days, percentile 83.3 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0040 x_refsource_CONFIRM
- http://lists.mysql.com/announce/502 x_refsource_CONFIRM
- GLSA-200804-04 vendor-advisory, x_refsource_GENTOO
- 29706 third-party-advisory, x_refsource_SECUNIA
- mysql-definer-value-privilege-escalation(38989) vdb-entry, x_refsource_XF
- 29443 third-party-advisory, x_refsource_SECUNIA
- MDVSA-2008:017 vendor-advisory, x_refsource_MANDRIVA
- https://issues.rpath.com/browse/RPL-2187 x_refsource_CONFIRM
- FEDORA-2007-4465 vendor-advisory, x_refsource_FEDORA
- RHSA-2007:1157 vendor-advisory, x_refsource_REDHAT
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-23.html x_refsource_CONFIRM
- ADV-2007-4198 vdb-entry, x_refsource_VUPEN
- FEDORA-2007-4471 vendor-advisory, x_refsource_FEDORA
- http://dev.mysql.com/doc/refman/5.0/en/releasenotes-es-5-0-52.html x_refsource_CONFIRM
- http://bugs.mysql.com/bug.php?id=29908 x_refsource_CONFIRM
- 26832 vdb-entry, x_refsource_BID
- 1019085 vdb-entry, x_refsource_SECTRACK
- 28025 third-party-advisory, x_refsource_SECUNIA
- http://dev.mysql.com/doc/refman/6.0/en/news-6-0-4.html x_refsource_CONFIRM
- 20080205 rPSA-2008-0040-1 mysql mysql-bench mysql-server mailing-list, x_refsource_BUGTRAQ
- 28838 third-party-advisory, x_refsource_SECUNIA
- USN-588-1 vendor-advisory, x_refsource_UBUNTU
- 28063 third-party-advisory, x_refsource_SECUNIA
- SUSE-SR:2008:003 vendor-advisory, x_refsource_SUSE
- 28739 third-party-advisory, x_refsource_SECUNIA
When was it published, and where is the official record?
- Reserved
- December 10, 2007
- Published
- December 10, 2007, 21:00 UTC
- CVE record updated
- August 7, 2024, 16:02 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:47 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:52 UTC; KEV December 3, 2026, 08: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-6303
Is CVE-2007-6303 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 2.23% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Mysql are affected by CVE-2007-6303?
mysql 5.0.0, mysql 5.0.1, mysql 5.0.2, mysql 5.0.3, mysql 5.0.4, mysql 5.0.5 and 23 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2007-6303?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2007-6303?
Low (3.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2007-6303?
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.