mysql: DoS via statement with crafted IF clause
Published May 9, 2007
4.0
MEDIUMCVSS 2.0
EPSS 11.31%
Description
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.
Affected products
No data.
Configuration 2
- 3.1
- 4.0
Configuration 3
- 6.06
- 6.10
- 7.04
No data.
Red Hat Enterprise Linux 5
mysql-0:5.0.45-7.el5
Fixed · RHSA-2008:0364
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | mysql-0:5.0.45-7.el5 | Fixed | RHSA-2008:0364 |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect mysql packages as shipped in Red Hat Enterprise Linux 2.1, 3, and 4.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:S/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 11.31% (0.11309) | 95.86th | v5 (v2026.06.15) |
| Jun 15, 2026 | 11.31% (0.11309) | 95.40th | v5 (v2026.06.15) |
| Dec 28, 2025 | 3.08% (0.03079) | 86.35th | v4 (v2025.03.14) |
| Dec 27, 2025 | 2.07% (0.02067) | 83.51th | v4 (v2025.03.14) |
| Oct 1, 2025 | 3.26% (0.03257) | 86.71th | v4 (v2025.03.14) |
| Jul 30, 2025 | 2.21% (0.02210) | 83.80th | v4 (v2025.03.14) |
| Mar 30, 2025 | 3.53% (0.03526) | 86.54th | v4 (v2025.03.14) |
| Mar 29, 2025 | 7.53% (0.07526) | 86.06th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.53% (0.03526) | 86.86th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.24% (0.00239) | 62.78th | v3 (v2023.03.01) |
| Mar 12, 2024 | 0.28% (0.00279) | 67.67th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.44% (0.00442) | 74.13th | v3 (v2023.03.01) |
| Nov 19, 2023 | 0.44% (0.00442) | 72.02th | v3 (v2023.03.01) |
| Jun 21, 2023 | 0.59% (0.00586) | 75.13th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.46% (0.00462) | 71.51th | v3 (v2023.03.01) |
| Mar 6, 2023 | 10.86% (0.10859) | 94.71th | v2 (v2022.01.01) |
| Apr 1, 2022 | 10.86% (0.10859) | 94.27th | v2 (v2022.01.01) |
| Feb 4, 2022 | 10.86% (0.10859) | 88.35th | v2 (v2022.01.01) |
No CWE recorded.
References (30)
- http://bugs.mysql.com/bug.php?id=27513 x_refsource_CONFIRMIssue TrackingVendor Advisory
- http://lists.mysql.com/commits/23685 x_refsource_CONFIRMVendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://packetstormsecurity.com/files/124295/MySQL-5.0.x-Denial-Of-Service.html x_refsource_MISCThird Party AdvisoryVDB Entry
- http://secunia.com/advisories/25188 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/25196 third-party-advisoryx_refsource_SECUNIAPatchVendor Advisory
- http://secunia.com/advisories/25255 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/25389 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/25946 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/27155 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/27823 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/28838 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/30351 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://security.gentoo.org/glsa/glsa-200705-11.xml vendor-advisoryx_refsource_GENTOOThird Party Advisory
- http://www.debian.org/security/2007/dsa-1413 vendor-advisoryx_refsource_DEBIANPatchThird Party Advisory
- http://www.exploit-db.com/exploits/30020 exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:139 vendor-advisoryx_refsource_MANDRIVAThird Party Advisory
- http://www.osvdb.org/34734 vdb-entryx_refsource_OSVDBBroken Link
- http://www.redhat.com/support/errata/RHSA-2008-0364.html vendor-advisoryx_refsource_REDHATVendor Advisory
- http://www.securityfocus.com/bid/23911 vdb-entryx_refsource_BIDThird Party AdvisoryVDB EntryVendor Advisory
- http://www.trustix.org/errata/2007/0017/ vendor-advisoryx_refsource_TRUSTIXBroken Link
- http://www.vupen.com/english/advisories/2007/1731 vdb-entryx_refsource_VUPENVendor Advisory
- https://access.redhat.com/security/cve/CVE-2007-2583 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=240813 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/34232 vdb-entryx_refsource_XFThird Party AdvisoryVDB Entry
- https://issues.rpath.com/browse/RPL-1356 x_refsource_CONFIRMBroken Link
- https://nvd.nist.gov/vuln/detail/CVE-2007-2583
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9930 vdb-entrysignaturex_refsource_OVALThird Party Advisory
- https://usn.ubuntu.com/528-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2007-2583
| Link | Providers | Tags |
|---|---|---|
| http://bugs.mysql.com/bug.php?id=27513 | x_refsource_CONFIRMIssue TrackingVendor Advisory | |
| http://lists.mysql.com/commits/23685 | x_refsource_CONFIRMVendor Advisory | |
| http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html | vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory | |
| http://packetstormsecurity.com/files/124295/MySQL-5.0.x-Denial-Of-Service.html | x_refsource_MISCThird Party AdvisoryVDB Entry | |
| http://secunia.com/advisories/25188 | third-party-advisoryx_refsource_SECUNIAVendor Advisory | |
| http://secunia.com/advisories/25196 | third-party-advisoryx_refsource_SECUNIAPatchVendor Advisory | |
| http://secunia.com/advisories/25255 | third-party-advisoryx_refsource_SECUNIAVendor Advisory | |
| http://secunia.com/advisories/25389 | third-party-advisoryx_refsource_SECUNIAVendor Advisory | |
| http://secunia.com/advisories/25946 | third-party-advisoryx_refsource_SECUNIAVendor Advisory | |
| http://secunia.com/advisories/27155 | third-party-advisoryx_refsource_SECUNIAVendor Advisory | |
| http://secunia.com/advisories/27823 | third-party-advisoryx_refsource_SECUNIAVendor Advisory | |
| http://secunia.com/advisories/28838 | third-party-advisoryx_refsource_SECUNIAVendor Advisory | |
| http://secunia.com/advisories/30351 | third-party-advisoryx_refsource_SECUNIAVendor Advisory | |
| http://security.gentoo.org/glsa/glsa-200705-11.xml | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| http://www.debian.org/security/2007/dsa-1413 | vendor-advisoryx_refsource_DEBIANPatchThird Party Advisory | |
| http://www.exploit-db.com/exploits/30020 | exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry | |
| http://www.mandriva.com/security/advisories?name=MDKSA-2007:139 | vendor-advisoryx_refsource_MANDRIVAThird Party Advisory | |
| http://www.osvdb.org/34734 | vdb-entryx_refsource_OSVDBBroken Link | |
| http://www.redhat.com/support/errata/RHSA-2008-0364.html | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| http://www.securityfocus.com/bid/23911 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB EntryVendor Advisory | |
| http://www.trustix.org/errata/2007/0017/ | vendor-advisoryx_refsource_TRUSTIXBroken Link | |
| http://www.vupen.com/english/advisories/2007/1731 | vdb-entryx_refsource_VUPENVendor Advisory | |
| https://access.redhat.com/security/cve/CVE-2007-2583 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=240813 | Issue Tracking | |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/34232 | vdb-entryx_refsource_XFThird Party AdvisoryVDB Entry | |
| https://issues.rpath.com/browse/RPL-1356 | x_refsource_CONFIRMBroken Link | |
| https://nvd.nist.gov/vuln/detail/CVE-2007-2583 | ||
| https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9930 | vdb-entrysignaturex_refsource_OVALThird Party Advisory | |
| https://usn.ubuntu.com/528-1/ | vendor-advisoryx_refsource_UBUNTUThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2007-2583 |
Change history (0)
No recorded changes yet.