Back
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…
Medium5.0EPSS 3.0%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
- EPSS (exploitation in 30 days)
- 3.0% · top 13% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
Affected products
n/a
- affected n/a
References (35)
- 30288 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 26822 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://launchpad.net/bugs/173043 (opens in a new tab)x_refsource_CONFIRMx_transferred
- oval:org.mitre.oval:def:10603 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- SUSE-SA:2008:004 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 28658 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- FEDORA-2007-709 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- 26967 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- DSA-1444 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- GLSA-200710-02 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- 27864 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.php.net/ChangeLog-5.php#5.2.4 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 26930 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 2007-0026 (opens in a new tab)vendor-advisoryx_refsource_TRUSTIXx_transferred
- RHSA-2007:0889 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- USN-549-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://issues.rpath.com/browse/RPL-1693 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 28249 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- DSA-1578 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://issues.rpath.com/browse/RPL-1702 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 27545 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm (opens in a new tab)x_refsource_CONFIRMx_transferred
- 26838 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://secweb.se/en/advisories/php-wordwrap-vulnerability/ (opens in a new tab)x_refsource_MISCx_transferred
- 27377 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- MDKSA-2007:187 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 27102 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2007-3023 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- http://www.php.net/releases/5_2_4.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- 26895 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- USN-549-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- RHSA-2007:0890 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2007:0891 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 26871 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 26642 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2007-3998)Record last updated .