CVE-2003-1331: Oracle MySQL

Medium severity, CVSS 4.0. EPSS: 3.3% chance of exploitation in the next 30 days.

Stack-based buffer overflow in the mysql_real_connect function in the MySql client library (libmysqlclient) 4.0.13 and earlier allows local users to execute arbitrary code via a long socket name, a different vulnerability than CVE-2001-1453.

Affected products

  • Oracle MySQL: up to and including 4.0.9

Published 2003-12-31. Last modified 2026-06-16.