U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2007-3998 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

Vendor Statements (disclaimer)

Official Statement from Red Hat (09/05/2007)

This issue did not affect the versions of PHP as shipped with Red Hat Enterprise Linux 2.1.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html CVE, MITRE Third Party Advisory 
http://rhn.redhat.com/errata/RHSA-2007-0889.html CVE, MITRE Third Party Advisory 
http://secunia.com/advisories/26642 CVE, MITRE Third Party Advisory 
http://secunia.com/advisories/26822 CVE, MITRE Third Party Advisory 
http://secunia.com/advisories/26838 CVE, MITRE Third Party Advisory 
http://secunia.com/advisories/26871 CVE, MITRE Third Party Advisory 
http://secunia.com/advisories/26895 CVE, MITRE Third Party Advisory 
http://secunia.com/advisories/26930 CVE, MITRE Third Party Advisory 
http://secunia.com/advisories/26967 CVE, MITRE Third Party Advisory 
http://secunia.com/advisories/27102 CVE, MITRE Third Party Advisory 
http://secunia.com/advisories/27377 CVE, MITRE Third Party Advisory 
http://secunia.com/advisories/27545 CVE, MITRE Third Party Advisory 
http://secunia.com/advisories/27864 CVE, MITRE Third Party Advisory 
http://secunia.com/advisories/28249 CVE, MITRE Third Party Advisory 
http://secunia.com/advisories/28658 CVE, MITRE Third Party Advisory 
http://secunia.com/advisories/30288 CVE, MITRE Third Party Advisory 
http://secweb.se/en/advisories/php-wordwrap-vulnerability/ CVE, MITRE Third Party Advisory 
http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm CVE, MITRE Third Party Advisory 
http://www.debian.org/security/2008/dsa-1444 CVE, MITRE Third Party Advisory 
http://www.debian.org/security/2008/dsa-1578 CVE, MITRE Third Party Advisory 
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml CVE, MITRE Third Party Advisory 
http://www.mandriva.com/security/advisories?name=MDKSA-2007:187 CVE, MITRE Third Party Advisory 
http://www.php.net/ChangeLog-5.php#5.2.4 CVE, MITRE Vendor Advisory 
http://www.php.net/releases/5_2_4.php CVE, MITRE Vendor Advisory 
http://www.redhat.com/support/errata/RHSA-2007-0890.html CVE, MITRE Third Party Advisory 
http://www.redhat.com/support/errata/RHSA-2007-0891.html CVE, MITRE Third Party Advisory 
http://www.trustix.org/errata/2007/0026/ CVE, MITRE Broken Link 
http://www.ubuntu.com/usn/usn-549-2 CVE, MITRE Third Party Advisory 
http://www.vupen.com/english/advisories/2007/3023 CVE, MITRE Permissions Required  Third Party Advisory 
https://issues.rpath.com/browse/RPL-1693 CVE, MITRE Broken Link 
https://issues.rpath.com/browse/RPL-1702 CVE, MITRE Broken Link 
https://launchpad.net/bugs/173043 CVE, MITRE Third Party Advisory 
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10603 CVE, MITRE Third Party Advisory 
https://usn.ubuntu.com/549-1/ CVE, MITRE Third Party Advisory 
https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00354.html CVE, MITRE Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-20 Improper Input Validation cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

6 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2007-3998
NVD Published Date:
09/04/2007
NVD Last Modified:
04/08/2025
Source:
MITRE