CVE-2007-3998Php
Medium 5.0 No auth needed
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- Priority
- 45
- CVSS 2.0
- 5.0
- EPSS
- 3.0% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Sep 4, 2007
- Updated
- Jun 16, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
What happens
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.
What to do
- Apply the vendor's security update for Php.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | ≥ 4.0.0 < 4.4.8 |
| php | php | ≥ 5.0.0 < 5.2.4 |
| debian | debian_linux | 3.1 |
| debian | debian_linux | 4.0 |
| canonical | ubuntu_linux | 6.06 |
| canonical | ubuntu_linux | 6.10 |
| canonical | ubuntu_linux | 7.04 |
| canonical | ubuntu_linux | 7.10 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Third Party Advisory
- rhn.redhat.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secweb.se Third Party Advisory
- support.avaya.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.debian.org Third Party Advisory
- www.gentoo.org Third Party Advisory
- www.mandriva.com Third Party Advisory
- www.php.net Vendor Advisory
- www.php.net Vendor Advisory
- www.redhat.com Third Party Advisory
- www.redhat.com Third Party Advisory
- www.trustix.org Broken Link
- www.ubuntu.com Third Party Advisory
- www.vupen.com Permissions Required Third Party Advisory
- issues.rpath.com Broken Link
- issues.rpath.com Broken Link
- launchpad.net Third Party Advisory
- oval.cisecurity.org Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.redhat.com Third Party Advisory