← Vulnerability feed

Vulnerability record · CVE-2003-0780 · published 22 September 2003

CVE-2003-0780: MySQL get_salt_from_password buffer overflow allows code execution

Mysql · Mysql

MySQL 4.0.14 and earlier, plus 3.23.x, contain a buffer overflow in get_salt_from_password in sql_acl.cc. An attacker with ALTER TABLE privileges can supply an overly long Password field to trigger the overflow. Because the flaw is in core privilege-handling code, successful exploitation can compromise the database server process.

9.0 CVSS 2.0 High EPSS 78% · top 0.4%
9.0CVSS 2.0 base score
78%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
22References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

Buffer overflow in get_salt_from_password from sql_acl.cc for MySQL 4.0.14 and earlier, and 3.23.x, allows attackers with ALTER TABLE privileges to execute arbitrary code via a long Password field.

AV:N/AC:L/Au:S/C:C/I:C/A:C

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityThe flaw allows authenticated code execution with a very high EPSS score and public exploit references, though it requires ALTER TABLE privileges and affects only legacy MySQL versions.

What it is

MySQL 4.0.14 and earlier, plus 3.23.x, contain a buffer overflow in get_salt_from_password in sql_acl.cc. An attacker with ALTER TABLE privileges can supply an overly long Password field to trigger the overflow. Because the flaw is in core privilege-handling code, successful exploitation can compromise the database server process.

Impact

An attacker with ALTER TABLE privileges can execute arbitrary code with the privileges of the MySQL server, leading to full compromise of the database host. This can expose or destroy all data managed by that server.

Attack surface

The flaw is reached over the network through MySQL's normal SQL interface by issuing an ALTER TABLE statement with a crafted long Password value. It requires an authenticated account that holds ALTER TABLE privileges; no user interaction beyond sending the SQL statement is needed.

Exploitation

The record is not listed in CISA KEV, but EPSS is very high at 0.78367 (99.56th percentile), and a reference is tagged Exploit, indicating public exploit material exists. No ransomware group usage is documented.

What to do

  • Upgrade MySQL to a fixed release; apply the vendor patches referenced by Debian DSA-381 and Red Hat RHSA-2003-281/282.
  • Restrict ALTER TABLE privileges to only trusted administrative accounts and review existing grants.
  • Limit network exposure of MySQL to trusted hosts and use firewalls or bind-address controls.
  • Monitor for and remove any unnecessary accounts that can issue ALTER TABLE statements.

Detection

  • Audit MySQL general query logs for ALTER TABLE statements containing unusually long Password values.
  • Alert on ALTER TABLE activity from accounts that do not normally perform schema changes.
  • Monitor MySQL server processes for unexpected child processes or outbound connections after schema changes.
  • Review database account privileges for unnecessary ALTER TABLE grants.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2003-0780 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2012-2750Oracle mysql vulnerabilityUnspecified vulnerability in MySQL 5.5.x before 5.5.23 has unknown impact and attack vectors related to a "Security Fix", aka Bug #59533. NOTE: this …EPSS 3.6%10.0CVE-2005-3625Easy software products cups vulnerabilityXpdf, as used in products such as gpdf, kpdf, pdftohtml, poppler, teTeX, CUPS, libextractor, and others, allows attackers to cause a denial of servic…EPSS 3.8%10.0CVE-2004-0882Samba vulnerabilityBuffer overflow in the QFILEPATHINFO request handler in Samba 3.0.x through 3.0.7 may allow remote attackers to execute arbitrary code via a TRANSACT…EPSS 14%10.0CVE-2004-0902Mozilla vulnerabilityMultiple heap-based buffer overflows in Mozilla Firefox before the Preview Release, Mozilla before 1.7.3, and Thunderbird before 0.8 allow remote att…EPSS 10%10.0CVE-2004-0903Mozilla vulnerabilityStack-based buffer overflow in the writeGroup function in nsVCardObj.cpp for Mozilla Firefox before the Preview Release, Mozilla before 1.7.3, and Th…EPSS 9.7%10.0CVE-2004-1011Carnegie mellon university cyrus imap server vulnerabilityStack-based buffer overflow in Cyrus IMAP Server 2.2.4 through 2.2.8, with the imapmagicplus option enabled, allows remote attackers to execute arbit…EPSS 5.8%10.0CVE-2004-1012Carnegie mellon university cyrus imap server vulnerabilityThe argument parser of the PARTIAL command in Cyrus IMAP Server 2.2.6 and earlier allows remote authenticated users to execute arbitrary code via a c…EPSS 6.0%10.0CVE-2004-1013Carnegie mellon university cyrus imap server vulnerabilityThe argument parser of the FETCH command in Cyrus IMAP Server 2.2.x through 2.2.8 allows remote authenticated users to execute arbitrary code via cer…EPSS 5.8%

Source: NIST National Vulnerability Database (record CVE-2003-0780), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.