CVEvulnerability

CVE-2007-3998

5.0 MEDIUM Published 2007-09-04 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2007-09-04
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
Weaknesses
CWE-20

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 configurations

• 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

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References