CVE-2010-4645
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
PHP 5.3.2 - 'zend_strtod()' Floating-Point Value Denial of Service
Application impact
References
- http://bugs.php.net/53632
- http://hal.archives-ouvertes.fr/docs/00/28/14/29/PDF/floating-point-article.pdf
- http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/053333.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/053355.html
- http://marc.info/?l=bugtraq&m=133226187115472&w=2
- http://marc.info/?l=bugtraq&m=133469208622507&w=2
- http://secunia.com/advisories/42812
- http://secunia.com/advisories/42843
- http://secunia.com/advisories/43051
- http://secunia.com/advisories/43189
- http://slackware.com/security/viewer.php?l=slackware-security&y=2011&m=slackware-security.484686
- http://support.apple.com/kb/HT5002
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/Zend/zend_strtod.c?r1=266327&r2=307095&pathrev=307095
- http://www.exploringbinary.com/php-hangs-on-numeric-value-2-2250738585072011e-308/
- http://www.openwall.com/lists/oss-security/2011/01/05/2
- http://www.openwall.com/lists/oss-security/2011/01/05/8
- http://www.openwall.com/lists/oss-security/2011/01/06/5
- http://www.openwall.com/lists/oss-security/2023/05/14/3
- http://www.redhat.com/support/errata/RHSA-2011-0195.html
- http://www.redhat.com/support/errata/RHSA-2011-0196.html
- http://www.securityfocus.com/bid/45668
- http://www.ubuntu.com/usn/USN-1042-1
- http://www.vupen.com/english/advisories/2011/0060
- http://www.vupen.com/english/advisories/2011/0066
CWEs
CWE-189
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.