CVE-2010-4645
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 15.1% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 15.1% in the next 30 days (EPSS).
- Severity: 5.0 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 15.1% · EPSS, next 30 days
- Weakness
- CWE-189
- Record status
- Modified
Affected
- PHP 5.2.0
- PHP 5.2.1
- PHP 5.2.2
- PHP 5.2.3
- PHP 5.2.4
- PHP 5.2.5
- PHP 5.2.6
- PHP 5.2.7
Attack profile CVSS 2.0 · 5.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2010-4645.md and follow it. Check whether this project is affected by CVE-2010-4645. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/Zend/zend_strtod.c?r1=266327&r2=307095&pathrev=307095
- http://www.openwall.com/lists/oss-security/2011/01/05/2
- http://www.vupen.com/english/advisories/2011/0060
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/Zend/zend_strtod.c?r1=266327&r2=307095&pathrev=307095
- http://www.openwall.com/lists/oss-security/2011/01/05/2
- http://www.vupen.com/english/advisories/2011/0060
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