Read the docs
TI-2007-02495 Aliases CVE-2007-2583GHSA-hf23-jpgj-4fhg

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

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 6

CPEVersionsRoleVendor
cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*before 5.0.40; 5.1 – 5.1.17VulnerableOracle
cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:*3.1VulnerableDebian
cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*4.0VulnerableDebian
cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:*6.06VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:*6.10VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*7.04VulnerableCanonical
  • 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 Low
    mysql 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 →

ProductStatusPlan 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

  1. 2026-10-02 Threatist record created from CVE-2007-2583
  2. 2026-10-03 Alias added: GHSA-hf23-jpgj-4fhg

References

Sources