Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2007-5969: MySQL Community Server 5.0.x before 5.0.51, Enterprise Server 5.0.x before 5.0.52, Server 5.1.x before 5.1.23,

59
This week
HIGH 7.1WATCHLISTDOWNGRADEUPGRADEDOWNGRADE

CVE-2007-5969 is a high-severity flaw (CVSS 7.1) affecting mysql server, community server, mysql enterprise server. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

MySQL Community Server 5.0.x before 5.0.51, Enterprise Server 5.0.x before 5.0.52, Server 5.1.x before 5.1.23, and Server 6.0.x before 6.0.4, when a table relies on symlinks created through explicit DATA DIRECTORY and INDEX DIRECTORY options, allows remote authenticated users to overwrite system table information and gain privileges via a RENAME TABLE statement that changes the symlink to point to an existing file.

Why this priority

  • High severity
  • EPSS top 3%: very likely to be exploited
  • Public exploit reference
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score7.1 (High)
EPSS exploit chance14.3% (top 3%)
CISA exploited listNo
WeaknessCWE-264
Published2007-12-10
Last modified2026-06-16
Publisher (CNA): MITRE · Vendor: mysql

Share: LinkedIn · X · Reddit

Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

mysql mysql server DOWNGRADE
Affected: 5.1.22 · 6.0 · 6.0.1 · 6.0.2 · 6.0.3
Fixed in: no fixed release known
Safe to downgrade to: a release before 5.1.22
1. Check installed version
apt-cache policy mysql-server || rpm -q mysql-server || mysql-server --version
2. No fixed release: DOWNGRADE to a release before 5.1.22 (Debian / Ubuntu)
apt-cache madison mysql-server sudo apt install mysql-server=<VERSION_BEFORE_5.1.22> sudo apt-mark hold mysql-server
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list mysql-server sudo dnf downgrade mysql-server-<VERSION_BEFORE_5.1.22> sudo dnf versionlock add mysql-server
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
mysql community server UPGRADE
Affected: <= 5.0.50 · 5.0.41 · 5.0.44 · 5.0.45
Fixed in: newer than 5.0.50
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy community-server || rpm -q community-server || community-server --version
2. UPGRADE to newer than 5.0.50 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade community-server
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade community-server
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
mysql mysql enterprise server DOWNGRADE
Affected: 5.0.50
Fixed in: no fixed release known
Safe to downgrade to: a release before 5.0.50
1. Check installed version
apt-cache policy mysql-enterprise-server || rpm -q mysql-enterprise-server || mysql-enterprise-server --version
2. No fixed release: DOWNGRADE to a release before 5.0.50 (Debian / Ubuntu)
apt-cache madison mysql-enterprise-server sudo apt install mysql-enterprise-server=<VERSION_BEFORE_5.0.50> sudo apt-mark hold mysql-enterprise-server
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list mysql-enterprise-server sudo dnf downgrade mysql-enterprise-server-<VERSION_BEFORE_5.0.50> sudo dnf versionlock add mysql-enterprise-server
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2007-5969?

mysql server: downgrade or apply the listed mitigation; community server: upgrade to newer than 5.0.50; mysql enterprise server: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2007-5969 being exploited?

CVE-2007-5969 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2007-5969 affect?

CVE-2007-5969 affects mysql server, community server, mysql enterprise server. Severity is high (CVSS 7.1). MySQL Community Server 5.0.x before 5.0.51, Enterprise Server 5.0.x before 5.0.52, Server 5.1.x before 5.1.23, and Server 6.0.x before 6.0.4, when a table relies on symlinks created through explicit DATA DIRECTORY and INDEX DIRECTORY option

How urgent is CVE-2007-5969?

Priority 59/100. High severity; EPSS top 3%: very likely to be exploited; Public exploit reference; On your watchlist

Software pages

MySQL vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.