The check_connection function in sql_parse.cc in MySQL 4.0.x up to 4.0.26, 4.1.x up to 4.1.18, and 5.0.x up to 5.0.20 allows remote attackers to read portions of memory via a username without a trailing null byte, which causes a buffer over-read.
Severity
Medium 5.0
Published
5 May 2006
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Exploit chance
36% in the next 30 daysHigher than 98% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · No login needed
Attacker can
Read some data
CVSS vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
Sources
NVD
Affected software
Software
Affected versions
MySQLServers and applications · cpe:a:oracle:mysql