CVE-2010-4645
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…
Check your servers for CVE-2010-4645
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2010-4645 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 15.1%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 97.3% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2010-4645 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2010-4645RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2010-4645Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2010-4645
trivy image --scanners vuln IMAGE | grep CVE-2010-4645
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- HPSBMU02752 marc.info · vendor advisory
- 42812 secunia.com · third party advisory
- HPSBOV02763 marc.info · vendor advisory
- RHSA-2011:0196 redhat.com · vendor advisory
- FEDORA-2011-0321 lists.fedoraproject.org · vendor advisory
- RHSA-2011:0195 redhat.com · vendor advisory
- http://bugs.php.net/53632 bugs.php.net
- SSA:2011-010-01 slackware.com · vendor advisory
- USN-1042-1 ubuntu.com · vendor advisory
- APPLE-SA-2011-10-12-3 lists.apple.com · vendor advisory
- FEDORA-2011-0329 lists.fedoraproject.org · vendor advisory
- 42843 secunia.com · third party advisory
- http://support.apple.com/kb/HT5002 support.apple.com
- 43189 secunia.com · third party advisory
- 43051 secunia.com · third party advisory
Other references
- ADV-2011-0077 vupen.com · vdb entry
- 45668 securityfocus.com · vdb entry
- [oss-security] 20110105 Re: possible flaw in widely used strtod.c implementation openwall.com · mailing list
- http://hal.archives-ouvertes.fr/docs/00/28/14/29/PDF/floating-point-article.pdf hal.archives-ouvertes.fr
- http://www.exploringbinary.com/php-hangs-on-numeric-value-2-2250738585072011e-308/ exploringbinary.com
- ADV-2011-0198 vupen.com · vdb entry
- ADV-2011-0066 vupen.com · vdb entry
- ADV-2011-0060 vupen.com · vdb entry
- php-zendstrtod-dos(64470) exchange.xforce.ibmcloud.com · vdb entry
- [oss-security] 20110105 possible flaw in widely used strtod.c implementation openwall.com · mailing list
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/Zend/zend_strtod.c?r1=266327&r2=307095&pathrev=307095 svn.php.net
- [oss-security] 20110106 Re: possible flaw in widely used strtod.c implementation openwall.com · mailing list
- http://www.openwall.com/lists/oss-security/2023/05/14/3 openwall.com
Source: the record CVE-2010-4645 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse