CVE-2003-1331 Memory corruption in n/a

Medium 4.0 Published Updated

Local attackers can execute arbitrary code via a stack-based buffer overflow in the MySQL client library using a long socket name.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2003-1331?

CVE-2003-1331 is a medium-severity memory corruption vulnerability in Oracle Mysql, published on 25 Jun 2007. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Which versions are affected by CVE-2003-1331?

It affects 1 product.

Products include Oracle Mysql.

How do I fix CVE-2003-1331?

No fix has been published for CVE-2003-1331 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2003-1331 being exploited?

There is no known exploitation of CVE-2003-1331 in the wild and no public exploit code.

All Oracle Mysql vulnerabilities

Sources

Also known as GHSA-w3vj-p2cf-85rg.

Is CVE-2003-1331 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free