CVE-2007-2692
MEDIUM · CVSS 6.0EPSS 1.9%EU EUVD
The mysql_change_db function in MySQL 5.0.x before 5.0.40 and 5.1.x before 5.1.18 does not restore THD::db_access privileges when returning from SQL SECURITY INVOKER stored routines, which allows remote authenticated users to gain privileges.
Key facts
- CVSS score
- 6.0 (v2.0)
- Severity
- MEDIUM
- CVSS vector
AV:N/AC:M/Au:S/C:P/I:P/A:P- EPSS score
- 1.9% (80th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2007-2684)
- Published
- May 16, 2007
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2007-2684 in the EU Vulnerability Database. Last updated in EUVD on August 7, 2024.
View on the EU Vulnerability DatabaseAffected products
- mysql / mysql
- mysql / mysql
- mysql / mysql
- mysql / mysql
- mysql / mysql
- mysql / mysql
- mysql / mysql
- mysql / mysql
- mysql / mysql
- mysql / mysql
- mysql / mysql
- mysql / mysql
- mysql / mysql
- mysql / mysql
- mysql / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
- oracle / mysql
References
- http://bugs.mysql.com/bug.php?id=27337
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-18.html
- http://lists.mysql.com/announce/470
- http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html
- http://osvdb.org/34765
- http://secunia.com/advisories/25301(Vendor Advisory)
- http://secunia.com/advisories/26073
- http://secunia.com/advisories/26430
- http://secunia.com/advisories/27823
- http://secunia.com/advisories/28637
- http://secunia.com/advisories/28838
- http://secunia.com/advisories/29443
- http://secunia.com/advisories/30351
- http://www.debian.org/security/2007/dsa-1413
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:028
- http://www.redhat.com/support/errata/RHSA-2007-0894.html
- http://www.redhat.com/support/errata/RHSA-2008-0364.html
- http://www.securityfocus.com/archive/1/473874/100/0/threaded
- http://www.securityfocus.com/bid/24011
- http://www.securitytracker.com/id?1018070
- http://www.ubuntu.com/usn/usn-588-1
- http://www.vupen.com/english/advisories/2007/1804
- https://exchange.xforce.ibmcloud.com/vulnerabilities/34348
- https://issues.rpath.com/browse/RPL-1536
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9166
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain