CVE-2010-4645 json
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 a…
published 2011-01-11 15 y ago modified 2026-06-16 4 mo ago also EUVD-2010-4610
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 15.1%
- EPSS 15.1% chance of exploitation in 30 days, percentile 96%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- php53 RHEL 5 5.3.3-1.el5_6.1
- php53-gd RHEL 5 5.3.3-1.el5_6.1
- php53-cli RHEL 5 5.3.3-1.el5_6.1
- php53-dba RHEL 5 5.3.3-1.el5_6.1
- php53-pdo RHEL 5 5.3.3-1.el5_6.1
- php53-xml RHEL 5 5.3.3-1.el5_6.1
- php53-imap RHEL 5 5.3.3-1.el5_6.1
- php53-intl RHEL 5 5.3.3-1.el5_6.1
red hat advisories RHSA-2011:0196RHSA-2011:0195
- php7 openSUSE Tumbleweed 7.0.14-1.4
- php5 openSUSE Tumbleweed 5.6.28-1.1
- php8 openSUSE Tumbleweed 8.0.11-1.1
opensuse advisories openSUSE-SU-2024:10290-1openSUSE-SU-2024:10344-1openSUSE-SU-2024:11169-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2010-4645 updated cvss 5.0
php: hang on numeric value 2.2250738585072011e-308 with x87 fpu
-
Red Hat Enterprise Linux (v. 5.6.z server) php53 5.3.3-1.el5_6.1, php53-gd 5.3.3-1.el5_6.1, php53-cli 5.3.3-1.el5_6.1, php53-dba 5.3.3-1.el5_6.1, php53-pdo 5.3.3-1.el5_6.1, php53-xml 5.3.3-1.el5_6.1, +14 morefixed: vendor fix RHSA-2011:0196
-
Red Hat Enterprise Linux Desktop Optional (v. 6) php 5.3.2-6.el6_0.1, php-gd 5.3.2-6.el6_0.1, php-cli 5.3.2-6.el6_0.1, php-dba 5.3.2-6.el6_0.1, php-pdo 5.3.2-6.el6_0.1, php-xml 5.3.2-6.el6_0.1, +19 more Red Hat Enterprise Linux HPC Node Optional (v. 6) php 5.3.2-6.el6_0.1, php-gd 5.3.2-6.el6_0.1, php-cli 5.3.2-6.el6_0.1, php-dba 5.3.2-6.el6_0.1, php-pdo 5.3.2-6.el6_0.1, php-xml 5.3.2-6.el6_0.1, +19 more Red Hat Enterprise Linux Server (v. 6) php 5.3.2-6.el6_0.1, php-gd 5.3.2-6.el6_0.1, php-cli 5.3.2-6.el6_0.1, php-pdo 5.3.2-6.el6_0.1, php-xml 5.3.2-6.el6_0.1, php-ldap 5.3.2-6.el6_0.1, +6 more Red Hat Enterprise Linux Server Optional (v. 6) php 5.3.2-6.el6_0.1, php-dba 5.3.2-6.el6_0.1, php-zts 5.3.2-6.el6_0.1, php-imap 5.3.2-6.el6_0.1, php-intl 5.3.2-6.el6_0.1, php-snmp 5.3.2-6.el6_0.1, +8 more Red Hat Enterprise Linux Workstation (v. 6) php 5.3.2-6.el6_0.1, php-gd 5.3.2-6.el6_0.1, php-cli 5.3.2-6.el6_0.1, php-pdo 5.3.2-6.el6_0.1, php-xml 5.3.2-6.el6_0.1, php-ldap 5.3.2-6.el6_0.1, +6 more Red Hat Enterprise Linux Workstation Optional (v. 6) php 5.3.2-6.el6_0.1, php-dba 5.3.2-6.el6_0.1, php-zts 5.3.2-6.el6_0.1, php-imap 5.3.2-6.el6_0.1, php-intl 5.3.2-6.el6_0.1, php-snmp 5.3.2-6.el6_0.1, +8 morefixed: vendor fix RHSA-2011:0195
-
Red Hat Enterprise Linux 4 php Red Hat Enterprise Linux 5 phpnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-35164)
- Published
Exploit prediction
15.10% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-35164 PHP 5.3.2 - 'zend_strtod()' Floating-Point Value Denial of Service dos, 2011-01-03
- openwall.com http://www.openwall.com/lists/oss-security/2011/01/05/2 referenced PoC, tagged "exploit" by a source, unverified
- securityfocus.com http://www.securityfocus.com/bid/45668 referenced PoC, tagged "exploit" by a source, unverified
- bugs.php.net http://bugs.php.net/53632 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-189 Numeric Errors
- Technology feeds
References
-
openwall.com
/lists/oss-security/2011/01/05/2
mailing-list, exploit, patch
-
svn.php.net
/viewvc/php/php-src/branches/PHP_5_2/Zend/zend_strtod.c?r1=266327&r2=307095&pathrev=307095
patch
-
securityfocus.com
/bid/45668
vdb-entry, exploit
-
bugs.php.net
/53632
exploit
-
marc.info
/?l=bugtraq&m=133226187115472&w=2
vendor-advisory
-
marc.info
/?l=bugtraq&m=133469208622507&w=2
vendor-advisory
-
redhat.com
/support/errata/RHSA-2011-0196.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2011-January/053355.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2011-0195.html
vendor-advisory
-
slackware.com
/security/viewer.php?l=slackware-security&y=2011&m=slackware-security.484686
vendor-advisory
-
ubuntu.com
/usn/USN-1042-1
vendor-advisory
-
lists.apple.com
/archives/Security-announce/2011//Oct/msg00003.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2011-January/053333.html
vendor-advisory
-
vupen.com
/english/advisories/2011/0060
vdb-entry, vendor-advisory
-
vupen.com
/english/advisories/2011/0077
vdb-entry
-
secunia.com
/advisories/42812
third-party-advisory
-
openwall.com
/lists/oss-security/2011/01/05/8
mailing-list
- hal.archives-ouvertes.fr /docs/00/28/14/29/PDF/floating-point-article.pdf
- exploringbinary.com /php-hangs-on-numeric-value-2-2250738585072011e-308/
-
vupen.com
/english/advisories/2011/0198
vdb-entry
-
vupen.com
/english/advisories/2011/0066
vdb-entry
-
secunia.com
/advisories/42843
third-party-advisory
- support.apple.com /kb/HT5002
-
exchange.xforce.ibmcloud.com
/vulnerabilities/64470
vdb-entry
-
secunia.com
/advisories/43189
third-party-advisory
-
secunia.com
/advisories/43051
third-party-advisory
-
openwall.com
/lists/oss-security/2011/01/06/5
mailing-list
- openwall.com /lists/oss-security/2023/05/14/3
Sources
- CVE List CVE-2010-4645
- NVD CVE-2010-4645
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.