CVE-2005-2558
Stack-based buffer overflow in the init_syms function in MySQL 4.0 before 4.0.25, 4.1 before 4.1...
Stack-based buffer overflow in the init_syms function in MySQL 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta allows remote authenticated users who can create user-defined functions to execute arbitrary code via a long function_name field.
Exploit likelihood
What each source reports
NVD Score used
4.6
Stack-based buffer overflow in the init_syms function in MySQL 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta allows remote authenticated users who can create user-defined functions to execute arbitrary code via a long function_name field.
- Record
CVE-2005-2558- CVSS 2.0
- 4.6 Medium
AV:L/AC:L/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
CVE List No score
Stack-based buffer overflow in the init_syms function in MySQL 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta allows remote authenticated users who can create user-defined functions to execute arbitrary code via a long function_name field.
- Record
CVE-2005-2558- Updated
- 2026-11-02
EUVDEUVD-2005-2559 No score
Stack-based buffer overflow in the init_syms function in MySQL 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta allows remote authenticated users who can create user-defined functions to execute arbitrary code via a long function_name field.
- Record
EUVD-2005-2559- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-qxmx-9x27-fp8j No score
Stack-based buffer overflow in the init_syms function in MySQL 4.0 before 4.0.25, 4.1 before 4.1...
Stack-based buffer overflow in the init_syms function in MySQL 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta allows remote authenticated users who can create user-defined functions to execute arbitrary code via a long function_name field.
- Record
GHSA-qxmx-9x27-fp8j- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mysqlDebian:3.0 |
before 3.23.49-8.14, plus listed versions 3.23.49-8.103.23.49-8.113.23.49-8.133.23.49-8.83.23.49-8.9 |
3.23.49-8.14 |
mysql-dfsg-4.1Debian:3.1 |
before 4.1.11a-4sarge2, plus listed versions 4.1.11a-44.1.11a-4sarge1 |
4.1.11a-4sarge2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2005-2558 is a medium vulnerability (CVSS 4.6) in Mysql, published August 16, 2005. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.33%, the 83rd percentile. Fixed in mysql 3.23.49-8.14.
References
debian.org/security/2005/dsa-831
exchange.xforce.ibmcloud.com/vulnerabilities/21737
mandriva.com/security/advisories?name=MDKSA-2005:163
lists.grok.org.uk/pipermail/full-disclosure/2005-August/035845.html
ubuntu.com/usn/usn-180-2
ubuntu.com/usn/usn-180-1
Show 14 moreShow less
novell.com/linux/security/advisories/2005_21_sr.html
debian.org/security/2005/dsa-833
debian.org/security/2005/dsa-829
secunia.com/advisories/20381
securityfocus.com/bid/14509
sunsolve.sun.com/search/document.do?assetkey=1-26-236703-1
redhat.com/archives/fedora-legacy-announce/2006-January/msg00005.html
appsecinc.com/resources/alerts/mysql/2005-002.html
marc.info?l=bugtraq&m=112354450412427&w=2
vupen.com/english/advisories/2008/1326/references
secunia.com/advisories/17027
secunia.com/advisories/29847
nvd.nist.gov/vuln/detail/CVE-2005-2558
github.com/advisories/GHSA-qxmx-9x27-fp8j