Servers and applications
CVE-2007-2692
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.
- Severity
- Medium 6.0
- Published
- 16 May 2007
- Last changed
- 16 Jun 2026
- Added to UpHeron
- 21 Oct 2026
- Exploit chance
- 1.9% in the next 30 daysHigher than 79% of CVEs. EPSS by FIRST, 12 Nov 2026
- Attack
- Over the network · Needs a login
- Attacker can
- Read some data · Change some data · Slow it down
- CVSS vector
AV:N/AC:M/Au:S/C:P/I:P/A:P- Sources
- NVD
Affected software
| Software | Affected versions |
|---|---|
MySQLServers and applications · cpe:a:oracle:mysql |
All 33 release lines
|