HOMEVULNERABILITIESCVE-2005-2558
MEDIUM

CVE-2005-2558

NVD-CWE-OtherPublished: August 16, 2005· Updated: Jun 16, 2026

4.6
CVSS v3.1

Official Description

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.

NVD Source

Technical Analysis

CVE-2005-2558 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityP
IntegrityP
AvailabilityP
AV:L/AC:L/Au:N/C:P/I:P/A:P

Affected Vendors & Products

mysql1 product(s)
mysql
Oracle1 product(s)
mysql
Source: NVD CPE · 34 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (38)

Quick Facts

CVE IDCVE-2005-2558
CVSS Score4.6 / 10
SeverityMEDIUM
CISA KEVNo
Affected2 vendor(s)
PublishedAug 16, 2005

Related CVEs (NVD-CWE-Other)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2005-2558 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.