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.
References (35)
Core 35
Core References
Third Party Advisory x_refsource_confirm
https://launchpad.net/bugs/173043
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/30288
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/26822
Third Party Advisory vdb-entry
signature
x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10603
Third Party Advisory vendor-advisory
x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/28658
Third Party Advisory vendor-advisory
x_refsource_fedora
https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00354.html
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/26967
Third Party Advisory vendor-advisory
x_refsource_debian
http://www.debian.org/security/2008/dsa-1444
Third Party Advisory vendor-advisory
x_refsource_gentoo
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/27864
Vendor Advisory x_refsource_confirm
http://www.php.net/ChangeLog-5.php#5.2.4
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/26930
Broken Link vendor-advisory
x_refsource_trustix
http://www.trustix.org/errata/2007/0026/
Third Party Advisory vendor-advisory
x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2007-0889.html
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/549-1/
Broken Link x_refsource_confirm
https://issues.rpath.com/browse/RPL-1693
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/28249
Third Party Advisory vendor-advisory
x_refsource_debian
http://www.debian.org/security/2008/dsa-1578
Broken Link x_refsource_confirm
https://issues.rpath.com/browse/RPL-1702
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/27545
Third Party Advisory x_refsource_confirm
http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/26838
Third Party Advisory x_refsource_misc
http://secweb.se/en/advisories/php-wordwrap-vulnerability/
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/27377
Third Party Advisory vendor-advisory
x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDKSA-2007:187
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/27102
Permissions Required, Third Party Advisory vdb-entry
x_refsource_vupen
http://www.vupen.com/english/advisories/2007/3023
Vendor Advisory x_refsource_confirm
http://www.php.net/releases/5_2_4.php
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/26895
Third Party Advisory vendor-advisory
x_refsource_ubuntu
http://www.ubuntu.com/usn/usn-549-2
Third Party Advisory vendor-advisory
x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2007-0890.html
Third Party Advisory vendor-advisory
x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2007-0891.html
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/26871
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/26642
Scores
EPSS
0.0645
EPSS Percentile
91.2%
Details
CWE
CWE-20
Status
published
Products (7)
canonical/ubuntu_linux
6.06
canonical/ubuntu_linux
6.10
canonical/ubuntu_linux
7.04
canonical/ubuntu_linux
7.10
debian/debian_linux
3.1
debian/debian_linux
4.0
php/php
4.0.0 - 4.4.8
Published
Sep 04, 2007
Tracked Since
Feb 18, 2026