All vulnerabilities

Servers and applications

CVE-2005-0709

MySQL 4.0.23 and earlier, and 4.1.x up to 4.1.10, allows remote authenticated users with INSERT and DELETE privileges to execute arbitrary code by using CREATE FUNCTION to access libc calls, as demonstrated by using strcat, on_exit, and exit.

Severity
Medium 4.6
Published
2 May 2005
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Exploit chance
18% in the next 30 daysHigher than 97% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Code injection (CWE-94)
Attack
Needs local access · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:L/AC:L/Au:N/C:P/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
MySQLServers and applications · cpe:a:oracle:mysql
  • Version 4.1.5
  • Version 4.1.4
  • Version 4.1.3-beta
  • Version 4.1.2-alpha
All 31 release lines
  • Version 3.23.49
  • Version 4.0.0
  • Version 4.0.1
  • Version 4.0.2
  • Version 4.0.3
  • Version 4.0.4
  • Version 4.0.5
  • Version 4.0.5a
  • Version 4.0.6
  • Version 4.0.7
  • Version 4.0.7-gamma
  • Version 4.0.8
  • Version 4.0.8-gamma
  • Version 4.0.9
  • Version 4.0.9-gamma
  • Version 4.0.10
  • Version 4.0.11
  • Version 4.0.11-gamma
  • Version 4.0.12
  • Version 4.0.13
  • Version 4.0.14
  • Version 4.0.15
  • Version 4.0.18
  • Version 4.0.20
  • Version 4.0.21
  • Version 4.0.23
  • Version 4.1.0-alpha
  • Version 4.1.2-alpha
  • Version 4.1.3-beta
  • Version 4.1.4
  • Version 4.1.5

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2005-0709
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2005-0709