CVE-2007-3998
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…
Does this matter?
Lower severity and a low EPSS score (2.99%). Track it; it rarely justifies an emergency change on its own.
Description
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.
- CVSS 2.0
- 5.0 MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
- EPSS
- 2.99% probability · 87th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-20
- Affected
- php/php · debian/debian linux · canonical/ubuntu linux
- Source
- cve@mitre.org
References
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.htmlThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2007-0889.htmlThird Party Advisory
- http://secunia.com/advisories/26642Third Party Advisory
- http://secunia.com/advisories/26822Third Party Advisory
- http://secunia.com/advisories/26838Third Party Advisory
- http://secunia.com/advisories/26871Third Party Advisory
- http://secunia.com/advisories/26895Third Party Advisory
- http://secunia.com/advisories/26930Third Party Advisory
- http://secunia.com/advisories/26967Third Party Advisory
- http://secunia.com/advisories/27102Third Party Advisory
- http://secunia.com/advisories/27377Third Party Advisory
- http://secunia.com/advisories/27545Third Party Advisory
- http://secunia.com/advisories/27864Third Party Advisory
- http://secunia.com/advisories/28249Third Party Advisory
- http://secunia.com/advisories/28658Third Party Advisory
- http://secunia.com/advisories/30288Third Party Advisory
- http://secweb.se/en/advisories/php-wordwrap-vulnerability/Third Party Advisory
- http://support.avaya.com/elmodocs2/security/ASA-2007-449.htmThird Party Advisory
- http://www.debian.org/security/2008/dsa-1444Third Party Advisory
- http://www.debian.org/security/2008/dsa-1578Third Party Advisory
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xmlThird Party Advisory
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:187Third Party Advisory
- http://www.php.net/ChangeLog-5.php#5.2.4Vendor Advisory
- http://www.php.net/releases/5_2_4.phpVendor Advisory
- http://www.redhat.com/support/errata/RHSA-2007-0890.htmlThird Party Advisory
- http://www.redhat.com/support/errata/RHSA-2007-0891.htmlThird Party Advisory
- http://www.trustix.org/errata/2007/0026/Broken Link
- http://www.ubuntu.com/usn/usn-549-2Third Party Advisory
- http://www.vupen.com/english/advisories/2007/3023Permissions Required, Third Party Advisory
- https://issues.rpath.com/browse/RPL-1693Broken Link
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.