CVE-2010-4645

high

Description

strtod.c, as used in the zend_strtod function in PHP 5.2 before 5.2.17 and 5.3 before 5.3.5, and other products, allows context-dependent attackers to cause a denial of service (infinite loop) via a certain floating-point value in scientific notation, which is not properly handled in x87 FPU registers, as demonstrated using 2.2250738585072011e-308.

References

https://exchange.xforce.ibmcloud.com/vulnerabilities/64470

http://www.vupen.com/english/advisories/2011/0198

http://www.vupen.com/english/advisories/2011/0077

http://www.vupen.com/english/advisories/2011/0066

http://www.vupen.com/english/advisories/2011/0060

http://www.ubuntu.com/usn/USN-1042-1

http://www.redhat.com/support/errata/RHSA-2011-0196.html

http://www.redhat.com/support/errata/RHSA-2011-0195.html

http://www.openwall.com/lists/oss-security/2023/05/14/3

http://www.openwall.com/lists/oss-security/2011/01/06/5

http://www.openwall.com/lists/oss-security/2011/01/05/8

http://www.exploringbinary.com/php-hangs-on-numeric-value-2-2250738585072011e-308/

http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/Zend/zend_strtod.c?r1=266327&r2=307095&pathrev=307095

http://support.apple.com/kb/HT5002

http://slackware.com/security/viewer.php?l=slackware-security&y=2011&m=slackware-security.484686

http://secunia.com/advisories/43189

http://secunia.com/advisories/43051

http://secunia.com/advisories/42843

http://secunia.com/advisories/42812

http://marc.info/?l=bugtraq&m=133469208622507&w=2

http://marc.info/?l=bugtraq&m=133226187115472&w=2

http://lists.fedoraproject.org/pipermail/package-announce/2011-January/053355.html

http://lists.fedoraproject.org/pipermail/package-announce/2011-January/053333.html

http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html

http://hal.archives-ouvertes.fr/docs/00/28/14/29/PDF/floating-point-article.pdf

Details

Source: Mitre, NVD

Published: 2011-01-11

Updated: 2024-11-21

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High