{"id":"CVE-2007-2583","aliases":["DSA-1413-1","EUVD-2007-2576","GHSA-hf23-jpgj-4fhg","RHSA-2008:0364"],"status":"published","title":"The in_decimal::set function in item_cmpfunc.cc in MySQL before 5.0.40, and 5.1 before 5.1.18...","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.","severity":{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.11309,"percentile":0.96004,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2007-05-09T22:00:00Z","modified":"2026-06-26T12:18:26Z","exploits":[{"source":"exploitdb","id":"EDB-30020","title":"MySQL 5.0.x - IF Query Handling Remote Denial of Service","type":"dos","platform":"linux","date":"2013-12-04","verified":true,"url":"https://www.exploit-db.com/exploits/30020"}],"affected":[{"source":"osv","ecosystem":"Debian:4.0","package":"mysql-dfsg-5.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.32-7etch3"}]}],"versions":["5.0.32-7etch1","5.0.32-7etch3~bpo31+1"],"bundled":6},{"source":"osv","ecosystem":"Debian:3.1","package":"mysql-dfsg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.24-10sarge3"}]}],"versions":["4.0.24-10","4.0.24-10sarge1","4.0.24-10sarge2"],"bundled":6},{"source":"osv","ecosystem":"Debian:3.1","package":"mysql-dfsg-4.1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.11a-4sarge8"}]}],"versions":["4.1.11a-4","4.1.11a-4sarge1","4.1.11a-4sarge2","4.1.11a-4sarge3","4.1.11a-4sarge4","4.1.11a-4sarge5","4.1.11a-4sarge7"],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.45-7.el5"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.45-7.el5"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.45-7.el5"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.45-7.el5"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"mysql-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.45-7.el5"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"mysql-test","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.45-7.el5"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.45-7.el5"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.45-7.el5"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.45-7.el5"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.45-7.el5"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.45-7.el5"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.45-7.el5"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"mysql-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.45-7.el5"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"mysql-test","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.45-7.el5"}]}],"bundled":10}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"debian_linux"},{"vendor":"oracle","product":"mysql"}],"references":[{"url":"http://www.vupen.com/english/advisories/2007/1731","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory"]},{"url":"http://secunia.com/advisories/27823","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://secunia.com/advisories/25196","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory"]},{"url":"http://secunia.com/advisories/25188","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"https://issues.rpath.com/browse/RPL-1356","tags":["x_refsource_CONFIRM","x_transferred","Broken Link"]},{"url":"http://secunia.com/advisories/25389","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.trustix.org/errata/2007/0017/","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred","Broken Link"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/34232","tags":["vdb-entry","x_refsource_XF","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://security.gentoo.org/glsa/glsa-200705-11.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory"]},{"url":"http://bugs.mysql.com/bug.php?id=27513","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Vendor Advisory"]},{"url":"http://www.exploit-db.com/exploits/30020","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://secunia.com/advisories/25946","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/23911","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","Vendor Advisory"]},{"url":"http://www.debian.org/security/2007/dsa-1413","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Patch","Third Party Advisory"]},{"url":"http://lists.mysql.com/commits/23685","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://usn.ubuntu.com/528-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:139","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","Third Party Advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9930","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","Third Party Advisory"]},{"url":"http://secunia.com/advisories/30351","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://secunia.com/advisories/27155","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.osvdb.org/34734","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","Broken Link"]},{"url":"http://secunia.com/advisories/25255","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://secunia.com/advisories/28838","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0364.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Vendor Advisory"]},{"url":"http://packetstormsecurity.com/files/124295/MySQL-5.0.x-Denial-Of-Service.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-2583","tags":["advisory"]},{"url":"https://usn.ubuntu.com/528-1"},{"url":"http://www.trustix.org/errata/2007/0017"},{"url":"https://github.com/advisories/GHSA-hf23-jpgj-4fhg"},{"url":"https://access.redhat.com/errata/RHSA-2008:0364","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#low","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=194613","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=202246","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=216427","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=232603","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=240813","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=241688","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=241689","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=248553","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=254012","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=256501","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=349121","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=434264","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=435391","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2008/rhsa-2008_0364.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2006-0903","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-0903","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-0903","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2006-4031","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-4031","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-4031","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2006-4227","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-4227","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-4227","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2006-7232","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-7232","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-7232","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-1420","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-1420","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1420","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-2583","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-2583","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-2691","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-2691","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-2691","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-2692","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-2692","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-2692","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-3781","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-3781","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-3781","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-3782","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-3782","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-3782","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2007-2583","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.","status":"published","published":"2007-05-09T22:00:00Z","modified":"2024-08-07T13:42:33.419Z","updated_at":"2026-11-02T13:32:23.14582Z"}],"euvd":[{"id":"EUVD-2007-2576","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.","status":"published","published":"2007-05-09T22:00:00Z","modified":"2024-08-07T13:42:33Z","updated_at":"2026-11-03T01:38:20.462017Z"}],"ghsa":[{"id":"GHSA-hf23-jpgj-4fhg","title":"The in_decimal::set function in item_cmpfunc.cc in MySQL before 5.0.40, and 5.1 before 5.1.18...","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.","status":"published","published":"2022-05-01T18:05:10Z","modified":"2025-04-09T03:42:26Z","updated_at":"2026-11-02T15:00:53.859901Z"}],"nvd":[{"id":"CVE-2007-2583","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.","status":"published","published":"2007-05-10T00:19:00Z","modified":"2026-06-16T22:39:52.963Z","cvss":[{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:01:15.696607Z"}],"osv":[{"id":"DSA-1413-1","title":"mysql - multiple","status":"published","published":"2007-11-26T00:00:00Z","modified":"2026-03-09T01:01:23.546491Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"RHSA-2008:0364","title":"Red Hat Security Advisory: mysql security and bug fix update","status":"published","published":"2024-09-15T17:10:10Z","modified":"2026-06-26T12:18:26.552621736Z","updated_at":"2026-11-02T15:52:59.70892Z"}]}}
