CVE-2007-2692

CVE-2007-2692 is a medium-severity vulnerability in Mysql with a CVSS 2.0 base score of 6.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

Description

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.

Frequently asked questions

What is 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.
How severe is CVE-2007-2692?
CVE-2007-2692 has a CVSS 2.0 base score of 6.0, rated medium severity.
Is CVE-2007-2692 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (77th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2007-2692?
CVE-2007-2692 primarily affects Mysql. In total, 48 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2007-2692?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2007-2692 published?
CVE-2007-2692 was published on 2007-05-16 and last updated on 2026-06-16.

References

Affected products (48)

More vulnerabilities in Mysql

All CVEs affecting Mysql →