CVE-2007-4840
Severity CVSS v4.0:
Pending analysis
Type:
CWE-20
Input Validation
Publication date:
12/09/2007
Last modified:
09/04/2025
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.
Impact
Base Score 2.0
5.00
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 5.2.4 (including) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
- http://osvdb.org/38916
- http://secunia.com/advisories/27102
- http://secunia.com/advisories/27659
- http://secunia.com/advisories/28658
- http://secunia.com/advisories/30040
- http://securityreason.com/securityalert/3122
- http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
- http://www.securityfocus.com/archive/1/478730/100/0/threaded
- http://www.securityfocus.com/archive/1/491693/100/0/threaded
- http://www.securityfocus.com/archive/1/491693/100/0/threaded
- https://issues.rpath.com/browse/RPL-1943
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
- http://osvdb.org/38916
- http://secunia.com/advisories/27102
- http://secunia.com/advisories/27659
- http://secunia.com/advisories/28658
- http://secunia.com/advisories/30040
- http://securityreason.com/securityalert/3122
- http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
- http://www.securityfocus.com/archive/1/478730/100/0/threaded
- http://www.securityfocus.com/archive/1/491693/100/0/threaded
- http://www.securityfocus.com/archive/1/491693/100/0/threaded
- https://issues.rpath.com/browse/RPL-1943



