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 a...
MediumCVSS 5.0
EPSS 3.0%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | >= 4.0.0, < 4.4.8 | 4.4.8 |
| PHP | >= 5.0.0, < 5.2.4 | 5.2.4 |
| debian linux | = 3.1 | No fix listed |
| debian linux | = 4.0 | No fix listed |
| Canonical Ubuntu Linux | = 6.06 | No fix listed |
| Canonical Ubuntu Linux | = 6.10 | No fix listed |
| Canonical Ubuntu Linux | = 7.04 | No fix listed |
| Canonical Ubuntu Linux | = 7.10 | No fix listed |
References
- SUSE-SA:2008:004 third-party-advisory vendor-advisory
- RHSA-2007:0889 third-party-advisory vendor-advisory
- 26642 third-party-advisory
- 26822 third-party-advisory
- 26838 third-party-advisory
- 26871 third-party-advisory
- 26895 third-party-advisory
- 26930 third-party-advisory
- 26967 third-party-advisory
- 27102 third-party-advisory
- 27377 third-party-advisory
- 27545 third-party-advisory
- 27864 third-party-advisory
- 28249 third-party-advisory
- 28658 third-party-advisory
- 30288 third-party-advisory
- secweb.se third-party-advisory
- support.avaya.com third-party-advisory
- DSA-1444 third-party-advisory vendor-advisory
- DSA-1578 third-party-advisory vendor-advisory
- GLSA-200710-02 third-party-advisory vendor-advisory
- MDKSA-2007:187 third-party-advisory vendor-advisory
- www.php.net vendor-advisory
- www.php.net vendor-advisory
- RHSA-2007:0890 third-party-advisory vendor-advisory
- RHSA-2007:0891 third-party-advisory vendor-advisory
- 2007-0026 broken-link vendor-advisory
- USN-549-2 third-party-advisory vendor-advisory
- ADV-2007-3023 permissions-required third-party-advisory vdb-entry
- issues.rpath.com broken-link
- issues.rpath.com broken-link
- launchpad.net third-party-advisory
- oval:org.mitre.oval:def:10603 signature third-party-advisory vdb-entry
- USN-549-1 third-party-advisory vendor-advisory
- FEDORA-2007-709 third-party-advisory vendor-advisory