Skip to content

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

ProductAffected versionsFixed 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