Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
6.0
CVE-2010-1850: MySQL can let remote users run code via long names
CVE-2010-1850 · published 16 years ago
Summary
Versions 5.0 up to 5.0.91 and 5.1 before 5.1.47 are vulnerable to a buffer overflow when a remote user sends a very long table name in a COM_FIELD_LIST request. An attacker who can log in could cause the server to run whatever code they choose, potentially compromising the database. Update MySQL to a newer, patched version or restrict remote MySQL access until the upgrade is applied.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| mysql | mysql |
5.0.0 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.5.0.21 5.0.10 5.0.15 5.0.16 5.0.17 5.0.20 11 more version ranges
cpe:2.3:a:mysql:mysql:5.0.0:*:*:*:*:*:*:* |
| oracle | mysql |
5.0.0 5.0.3 5.0.6 5.0.7 5.0.8 5.0.9 5.0.11 5.0.12 5.0.13 5.0.14 5.0.18 5.0.19 50 more version ranges
cpe:2.3:a:oracle:mysql:5.0.0:alpha:*:*:*:*:*:* |
Original advisory text
Buffer overflow in MySQL 5.0 through 5.0.91 and 5.1 before 5.1.47 allows remote authenticated users to execute arbitrary code via a COM_FIELD_LIST command with a long table name.
Buffer overflow in MySQL 5.0 through 5.0.91 and 5.1 before 5.1.47 allows remote authenticated users to execute arbitrary code via a COM_FIELD_LIST command with a long table name.
References
- http://bugs.mysql.com/bug.php?id=53237
- http://dev.mysql.com/doc/refman/5.0/en/news-5-0-91.html
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-47.html
- http://lists.apple.com/archives/security-announce/2010//Nov/msg00000.html
- http://lists.opensuse.org/opensuse-security-announce/2010-10/msg00006.html
- http://securitytracker.com/id?1024033
- http://support.apple.com/kb/HT4435
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:107
- http://www.redhat.com/support/errata/RHSA-2010-0442.html
- http://www.ubuntu.com/usn/USN-1397-1
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3...
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3...
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker partial control (estimated)
Severity
6.0
Medium
Type
CWE-119Buffer Overflow
Timeline
Published8 Jun 2010
Updated29 Sep 2026
First seen29 Sep 2026
Sources
CVE-2010-1850 · NVD
Track software like this
Free during beta