CVE-2006-7232: sql_select.cc in MySQL 5.0.x before 5.0.32 and 5.1.x before 5.1.14 allows remote authenticated users to cause a denial of service (crash)…
Noroxi assessment
Priority: Monitor (action score 15/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.9% (FIRST EPSS); higher than 80.7% of all records.
- Fixed version: mysql (Red Hat:enterprise_linux:5::client_workstation) 0:5.0.45-7.el5; mysql-bench (Red Hat:enterprise_linux:5::client_workstation) 0:5.0.45-7.el5; mysql-debuginfo (Red Hat:enterprise_linux:5::client_workstation) 0:5.0.45-7.el5.
Low priority for now. Upgrade to mysql (Red Hat:enterprise_linux:5::client_workstation) 0:5.0.45-7.el5; mysql-bench (Red Hat:enterprise_linux:5::client_workstation) 0:5.0.45-7.el5; mysql-debuginfo (Red Hat:enterprise_linux:5::client_workstation) 0:5.0.45-7.el5 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
Primary sources: NVD · CVE.org · FIRST EPSS
sql_select.cc in MySQL 5.0.x before 5.0.32 and 5.1.x before 5.1.14 allows remote authenticated users to cause a denial of service (crash) via an EXPLAIN SELECT FROM on the INFORMATION_SCHEMA table, as originally demonstrated using ORDER BY.
- Published
- Dec 31, 2006
- Updated
- Jun 16, 2026
- EPSS
- 1.9% · 80th percentile
- CWE
- CWE-89
Report tools
Action score
15
Low priority for now.
- CVSS
- 14 / 40 · 3.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 1.9%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is MySQL on your server exposed to the internet?Run a port scan
Is your version affected? Check itNoroxi 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.
| Vendor | Product | CPE |
|---|---|---|
| mysql | mysql | cpe:2.3:a:mysql:mysql |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Using mysql? Add it to your stack and be the first to know about CVEs like this one. (MySQL)
Is MySQL on your server exposed to the internet?
The free port scanner finds the open ports on your server and matches the service versions it can read against known vulnerabilities. No account needed.
Run a port scanAffected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- mysql mysql5.0 and later · before 5.0.32
- mysql mysql5.1 and later · before 5.1.14
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Red Hat:enterprise_linux:5::client_workstation | mysql | before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-bench | before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-debuginfo | before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-devel | before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-server | before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-test | before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
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…61This 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…60This 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
Published before and after this one in the same product
- ← EarlierCVE-2006-4227Aug 18, 2006 · MySQL before 5.0.25 and 5.1 before 5.1.12 evaluates arguments of suid routines in the security context of the routine's definer instead of…30Monitor
- ← EarlierCVE-2006-4380Aug 28, 2006 · MySQL before 4.1.13 allows local users to cause a denial of service (persistent replication slave crash) via a query with multiupdate and…8Monitor
- Later →CVE-2007-1420Mar 12, 2007 · MySQL 5.x before 5.0.36 allows local users to cause a denial of service (database crash) by performing information_schema table subselects…8Monitor
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 |
|---|---|---|
| red hat:mysql | 0:5.0.45-7.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:mysql-bench | 0:5.0.45-7.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:mysql-debuginfo | 0:5.0.45-7.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:mysql-devel | 0:5.0.45-7.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:mysql-server | 0:5.0.45-7.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:mysql-test | 0:5.0.45-7.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
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.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- P · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- P
Weakness class (CWE)
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')CVSS vector
AV:N/AC:M/Au:S/C:N/I:N/A:P
nvd-primary
Root cause
The query text is built by concatenating user input. The database cannot tell where the data ends and the command begins.
The bug in code
The whole CWE-89 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const owner = req.query.owner;
const rows = await db.query(
"SELECT * FROM files WHERE owner = '" + owner + "'"
);Fixed
const owner = req.query.owner;
const rows = await db.query(
"SELECT * FROM files WHERE owner = $1",
[owner]
);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Expanding Control over the Operating System from the DatabaseCAPEC-470Very High
- SQL InjectionCAPEC-66likelihood: High · High
- Blind SQL InjectionCAPEC-7likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- dev.mysql.com/doc/refman/5.0/en/releasenotes-es-5-0-32.html
- dev.mysql.com/doc/refman/5.1/en/news-5-1-14.html
- lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html
- secunia.com/advisories/29443
- secunia.com/advisories/30351
- secunia.com/advisories/31687
- www.redhat.com/support/errata/RHSA-2008-0364.html
- www.securityfocus.com/bid/28351
- www.ubuntu.com/usn/usn-588-1
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11720
Vendor advisories and official records. Exploit/PoC links are deliberately left out.