CVE-2002-1374 in Oracle Mysql and 2 more products
The COM_CHANGE_USER command in MySQL 3.x before 3.23.54, and 4.x before 4.0.6, allows remote attackers to gain privileges via a brute force attack using a one-character password, which causes MySQL to only compare the provided password against the first character of the real password.
Affects 3 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Oracle | Mysql | 3.22.26 3.22.27 3.22.28 3.22.29 3.22.30 3.22.32+41 more3.23.2 3.23.3 3.23.4 3.23.5 3.23.8 3.23.9 3.23.10 3.23.23 3.23.24 3.23.25 3.23.26 3.23.27 3.23.28 3.23.29 3.23.30 3.23.31 3.23.34 3.23.36 3.23.37 3.23.38 3.23.39 3.23.40 3.23.41 3.23.42 3.23.43 3.23.44 3.23.45 3.23.46 3.23.47 3.23.48 3.23.49 3.23.50 3.23.51 3.23.52 3.23.53 3.23.53a 4.0.0 4.0.1 4.0.2 4.0.3 4.0.5a |
| Symantec Veritas | Netbackup Advanced Reporter | 3.4 4.5 4.5_fp1 4.5_fp2 4.5_fp3 4.5_mp1+2 more4.5_mp2 4.5_mp3 |
| Symantec Veritas | Netbackup Global Data Manager | 4.5 4.5_fp1 4.5_fp2 4.5_fp3 4.5_mp1 4.5_mp2+1 more4.5_mp3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
The COM_CHANGE_USER command in MySQL 3.x before 3.23.54, and 4.x before 4.0.6, allows remote attackers to gain privileges via a brute force attack using a one-character password, which causes MySQL to only compare the provided password against the first character of the real password.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2002-1374 |
|---|---|
| BreachSpider ID | BS-2002-GLOBAL-169812-H |
| CVSS vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Published | 2002-12-23 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in MySQL versions 3.x before 3.23.54 and 4.x before 4.0.6 allows remote attackers to gain elevated privileges through a brute force attack using a one-character password.
The vulnerability lies in the COM_CHANGE_USER command, where MySQL only compares the first character of the provided password against the first character of the actual password, enabling attackers to guess the first character and potentially gain unauthorized access.
Questions
What is CVE-2002-1374?
A vulnerability in MySQL versions 3.x before 3.23.54 and 4.x before 4.0.6 allows remote attackers to gain elevated privileges through a brute force attack using a one-character password.
What is the CVSS score for CVE-2002-1374?
CVE-2002-1374 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 20.5%.
Is CVE-2002-1374 actively exploited?
Public exploit available for CVE-2002-1374. Exploitation risk elevated.
How do I remediate CVE-2002-1374?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2002-1374?
CVE-2002-1374 affects Oracle Mysql; Symantec Veritas Netbackup Advanced Reporter, Netbackup Global Data Manager.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Oracle","product":"Mysql","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.