Vulnerabilities · 2007 · Php
CVE-2007-3998
Php vulnerability
The wordwrap function in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, does not properly use the breakcharlen variable, which allows remote attackers to cause a denial of service (divide-by-zero error and application crash, or infinite loop) via certain arguments, as demonstrated by a 'chr(0), 0, ""' argument set.
Affected products
Php, Debian Linux, Ubuntu Linux. 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.net/ChangeLog-5.php#5.2.4 · Vendor Advisory
- www.php.net/releases/5_2_4.php · Vendor Advisory
- lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html · Third Party Advisory
- rhn.redhat.com/errata/RHSA-2007-0889.html · Third Party Advisory
- secunia.com/advisories/26642 · Third Party Advisory
- secunia.com/advisories/26822 · Third Party Advisory
- secunia.com/advisories/26838 · Third Party Advisory
- secunia.com/advisories/26871 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2007-3998
- cve.org/CVERecord?id=CVE-2007-3998
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.