A AegiFlow
MEDIUMCVSS 5.0

CVE-2007-3998

CVE-2007-3998 updated by NVD

Modified
2026-09-20
Sources
nvd

Summary

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 packages

EcosystemPackageAffected versionsFixed versions
PHPphp[object Object], [object Object]

References

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.