CVE-2007-4840

PHP < 5.2.4 - Denial of Service via Long String in Iconv Charset Parameter

Title source: llm
STIX 2.1

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.

References (12)

Core 12
Core References
Issue Tracking x_refsource_confirm
https://issues.rpath.com/browse/RPL-1943
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28658
Third Party Advisory vendor-advisory x_refsource_gentoo
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/478730/100/0/threaded
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/30040
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27659
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/3122
Third Party Advisory, VDB Entry vendor-advisory x_refsource_hp
http://www.securityfocus.com/archive/1/491693/100/0/threaded
Third Party Advisory x_refsource_confirm
http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27102
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/38916

Scores

EPSS 0.0141
EPSS Percentile 80.7%

Details

CWE
CWE-20
Status published
Products (1)
php/php < 5.2.4
Published Sep 12, 2007
Tracked Since Feb 18, 2026