CVE-2007-3998

Medium

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.

SeverityMedium
CVSS5.0
Exploit probability—
ProductPhp
PublishedSep 4, 2007
First seenSep 4, 2007

How to fix

Affected products

ProductAffected versionsFixed in
php php4.0.0 ≤ v < 4.4.8, 5.0.0 ≤ v < 5.2.44.4.8, 5.2.4
debian debian_linux3.1, 4.0—
canonical ubuntu_linux6.06, 6.10, 7.04, 7.10—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.