CVEvulnerability

CVE-2007-4840

5.0 MEDIUM Published 2007-09-12 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2007-09-12
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

PHP 5.2.4 and earlier allows context-dependent attackers to cause a denial of service (application crash) via (1) a long string in the out_charset parameter to the iconv function; or a long string in the charset parameter to the (2) iconv_mime_decode_headers, (3) iconv_mime_decode, or (4) iconv_strlen function. NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless these issues can be demonstrated for code execution.

Affected configurations

• php php (<= 5.2.4)

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References