Vulnerabilities · 2007 · Php
CVE-2007-1886
Php vulnerability
Integer overflow in the str_replace function in PHP 4.4.5 and PHP 5.2.1 allows context-dependent attackers to have an unknown impact via a single character search string in conjunction with a single character replacement string, which causes an "off by one overflow."
Affected products
Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.php-security.org/MOPB/MOPB-39-2007.html · Patch
- h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506
- h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137
- secunia.com/advisories/25423
- secunia.com/advisories/25850
- www.vupen.com/english/advisories/2007/1991
- www.vupen.com/english/advisories/2007/2374
- exchange.xforce.ibmcloud.com/vulnerabilities/33768
- nvd.nist.gov/vuln/detail/CVE-2007-1886
- cve.org/CVERecord?id=CVE-2007-1886
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.