Improper Input Validation Affecting php5 package, versions <5.2.4-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.03% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN8-PHP5-395219
  • published4 Sept 2007
  • disclosed4 Sept 2007

Introduced: 4 Sep 2007

CVE-2007-3998  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Debian:8 php5 to version 5.2.4-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php5 package and not the php5 package as distributed by Debian. See How to fix? for Debian:8 relevant fixed versions and status.

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.

References

CVSS Scores

version 3.1