The in_decimal::set function in item_cmpfunc.cc in MySQL before 5.0.40, and 5.1 before…
Priority LOW 32Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
Summary
The in_decimal::set function in item_cmpfunc.cc in MySQL before 5.0.40, and 5.1 before 5.1.18-beta, allows context-dependent attackers to cause a denial of service (crash) via a crafted IF clause that results in a divide-by-zero error and a NULL pointer dereference.
Why it matters now
EPSS 0.11309 96th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* | before 5.0.40; 5.1 – 5.1.17 | Vulnerable | Oracle |
| cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:* | 3.1 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:* | 6.06 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:* | 6.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* | 7.04 | Vulnerable | Canonical |
- cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* Versions before 5.0.40; 5.1 – 5.1.17 Vulnerable ·Oracle
- cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:* Versions 3.1 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·Debian
- cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:* Versions 6.06 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:* Versions 6.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* Versions 7.04 Vulnerable ·Canonical
Remediation
Red Hat 1 advisory
- RHSA-2008:0364 Released 2008-05-20 · Red Hat rating Lowmysql security and bug fix update
- Red Hat Enterprise Linux (v. 5 server) mysql-5.0.45-7.el5, mysql-5.0.45-7.el5.i386, mysql-5.0.45-7.el5.ia64 +17
- Red Hat Enterprise Linux Desktop (v. 5 client) mysql-5.0.45-7.el5, mysql-5.0.45-7.el5.i386
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) mysql-5.0.45-7.el5, mysql-bench-5.0.45-7.el5, mysql-bench-5.0.45-7.el5.i386 +6
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2008:0364 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2008:0364 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2008:0364 |
Timeline
- 2026-10-02 Threatist record created from CVE-2007-2583
- 2026-10-03 Alias added: GHSA-hf23-jpgj-4fhg
References
Exploit 1
Patch 1
Advisory 11
Sources
- CVE-2007-2583 · CVE Program
- CVE-2007-2583 · NVD
- FIRST EPSS
- GHSA-hf23-jpgj-4fhg · GitHub Advisory Database · CC BY 4.0
- CVE-2007-2583 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences