CVE & CISA-KEV Catalog

CVE-2007-3998

MEDIUMEPSS 86th pctl
5.0
CVSS v2
NVD

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.

How to fix

Remediation Available
phpNVD
Affected:>= 5.0.0, < 5.2.4Fixed in:5.2.4CVE-2007-3998derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v2 Vector

No CVSS vector data available.

Exploit Intelligence

2.99%probability of exploitation in 30 days
86thpercentile

Elevated risk: more likely to be exploited than 86% of all known CVEs.

References

Related Vulnerabilities

Other CWE-20 (Improper Input Validation) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-3400Critical10.0100%KEV + Ransom-
CVE-2021-45105Medium5.9100%-Fix
CVE-2021-44228Critical10.0100%KEV + RansomFix
CVE-2021-21985Critical9.8100%KEV + RansomFix
CVE-2018-7600Critical9.8100%KEV + RansomFix
CVE-2020-3452High7.5100%KEVFix
Embed a live status badge for CVE-2007-3998
CVE-2007-3998 severity badge

Markdown

[![CVE-2007-3998](https://tridentstack.com/cve/badge/CVE-2007-3998.svg)](https://tridentstack.com/cve/CVE-2007-3998)

HTML

<a href="https://tridentstack.com/cve/CVE-2007-3998"><img src="https://tridentstack.com/cve/badge/CVE-2007-3998.svg" alt="CVE-2007-3998"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-23.