Buffer overflow in the open_table function in sql_base.cc in MySQL 5.0.x up to 5.0.20 might allow remote attackers to execute arbitrary code
Noroxi assessment
Priority: Monitor (action score 38/100)
- Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 38.3% (FIRST EPSS); higher than 98.5% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: mysql (Debian:3.0) 3.23.49-8.15; mysql-dfsg (Debian:3.1) 4.0.24-10sarge2; mysql-dfsg-4.1 (Debian:3.1) 4.1.11a-4sarge3.
Low priority for now. Upgrade to mysql (Debian:3.0) 3.23.49-8.15; mysql-dfsg (Debian:3.1) 4.0.24-10sarge2; mysql-dfsg-4.1 (Debian:3.1) 4.1.11a-4sarge3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Buffer overflow in the open_table function in sql_base.cc in MySQL 5.0.x up to 5.0.20 might allow remote attackers to execute arbitrary code via crafted COM_TABLE_DUMP packets with invalid length values.
- Published
- May 5, 2006
- Updated
- Jun 16, 2026
- EPSS
- 38.4% · 99th percentile
- CWE
- —
Report tools
Action score
38
Monitor
Low priority for now.
- CVSS
- 26 / 40 · 6.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 12 / 30 · 38.4%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
Using mysql? Add it to your stack and be the first to know about CVEs like this one. (MySQL)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- mysql mysql5.0.1
- mysql mysql5.0.10
- mysql mysql5.0.15
- mysql mysql5.0.16
- mysql mysql5.0.17
- mysql mysql5.0.2
- mysql mysql5.0.20
- mysql mysql5.0.3
- mysql mysql5.0.4
- mysql mysql5.0.5
- oracle mysql5.0.0
- oracle mysql5.0.11
- oracle mysql5.0.12
- oracle mysql5.0.13
- oracle mysql5.0.14
- oracle mysql5.0.18
- oracle mysql5.0.19
- oracle mysql5.0.3
- oracle mysql5.0.6
- oracle mysql5.0.7
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:3.0 | mysql | before 3.23.49-8.15 | 3.23.49-8.15 |
| Debian:3.1 | mysql-dfsg | before 4.0.24-10sarge2 | 4.0.24-10sarge2 |
| Debian:3.1 | mysql-dfsg-4.1 | before 4.1.11a-4sarge3 | 4.1.11a-4sarge3 |
Same product
mysql: all recordsOther highest-scoring records for the same primary product.
- CVE-2004-0627The check_scramble_323 function in MySQL 4.1.x before 4.1.3, and 5.0, allows remote attackers to bypass authentication via a zero-length scr61This week
- CVE-2003-0780Buffer overflow in get_salt_from_password from sql_acl.cc for MySQL 4.0.14 and earlier, and 3.23.x, allows attackers with ALTER TABLE privil60This week
- CVE-2004-0628Stack-based buffer overflow in MySQL 4.1.x before 4.1.3, and 5.0, allows remote attackers to cause a denial of service (crash) and possibly 42Plan
- CVE-2009-2446Multiple format string vulnerabilities in the dispatch_command function in libmysqld/sql_parse.cc in mysqld in MySQL 4.0.0 through 5.0.83 al37Monitor
- CVE-2004-0835MySQL 3.x before 3.23.59, 4.x before 4.0.19, 4.1.x before 4.1.2, and 5.x before 5.0.1, checks the CREATE/INSERT rights of the original table37Monitor
- CVE-2012-0882Buffer overflow in yaSSL, as used in MySQL 5.5.20 and possibly other versions including 5.5.x before 5.5.22 and 5.1.x before 5.1.62, allows 32Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:mysql | 3.23.49-8.15 · Debian:3.0 | Package registry (OSV) |
| debian:mysql-dfsg | 4.0.24-10sarge2 · Debian:3.1 | Package registry (OSV) |
| debian:mysql-dfsg-4.1 | 4.1.11a-4sarge3 · Debian:3.1 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | remote | 2006-05-02 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoC-3 d
- Published
- TodayOct 14, 2026+7467 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
—
CVSS vector
AV:N/AC:L/Au:S/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- dev.mysql.com/doc/refman/5.0/en/news-5-0-21.html
- lists.suse.com/archive/suse-security-announce/2006-Jun/0011.html
- secunia.com/advisories/19929
- secunia.com/advisories/20241
- secunia.com/advisories/20253
- secunia.com/advisories/20333
- secunia.com/advisories/20457
- secunia.com/advisories/20762
- securityreason.com/securityalert/839
- securitytracker.com/id?1016016
- www.debian.org/security/2006/dsa-1071
- www.debian.org/security/2006/dsa-1073
- www.debian.org/security/2006/dsa-1079
- www.kb.cert.org/vuls/id/602457
- www.novell.com/linux/security/advisories/2006-06-02.html
- www.securityfocus.com/archive/1/432734/100/0/threaded
- www.securityfocus.com/bid/17780
- www.vupen.com/english/advisories/2006/1633
- www.wisec.it/vulns.php?page=8
Vendor advisories and official records. Exploit/PoC links are deliberately left out.