CVE-2010-4645 EXPLOIT
5.0
MEDIUM · CVSS 2.0 · EPSS 15.1% (pctl 97)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 5.0 (MEDIUM, v2.0) |
|---|---|
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| EPSS | 15.1% — more likely to be exploited than 97% of all CVEs |
| Weakness | CWE-189 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2011-01-11 |
| Last modified | 2026-06-16 |
Affected (1)
| Vendor | Product |
|---|---|
| php | php |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | PHP 5.3.2 - 'zend_strtod()' Floating-Point Value Denial of Service | 2011-01-03 |
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
→ the Explorer · watch your stack · NVD