CVE-2007-4840
published 2007-09-12CVE-2007-4840: 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…
PriorityP415medium5CVSS 2.0
AVNACLAuNCNINAP
EPSS
3.15%
86.5th percentile
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
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | glibc | < glibc 2.7-1 (bookworm) | glibc 2.7-1 (bookworm) |
| gnu | glibc | >= 0 < 2.7-1 | 2.7-1 |
| gnu | glibc | >= 0 < 2.7-1 | 2.7-1 |
| gnu | glibc | >= 0 < 2.7-1 | 2.7-1 |
| gnu | glibc | >= 0 < 2.7-1 | 2.7-1 |
| php | php | <= 5.2.4 | — |
CVSS provenance
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv5.0MEDIUM
vendor_debian5.0LOW
vendor_redhat5.0MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-pgvh-6hc4-99ch: PHP 5
ghsa_unreviewed·2022-05-01
CVE-2007-4840 [MEDIUM] CWE-20 GHSA-pgvh-6hc4-99ch: PHP 5
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.
OSV
CVE-2007-4840: PHP 5
osv·2007-09-12·CVSS 5.0
CVE-2007-4840 [MEDIUM] CVE-2007-4840: PHP 5
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.
Debian
CVE-2007-4840: glibc - PHP 5.2.4 and earlier allows context-dependent attackers to cause a denial of se...
vendor_debian·2007·CVSS 5.0
CVE-2007-4840 [MEDIUM] CVE-2007-4840: glibc - PHP 5.2.4 and earlier allows context-dependent attackers to cause a denial of se...
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.
Scope: local
bookworm: resolved (fixed in 2.7-1)
bullseye: resolved (fixed in 2.7-1)
forky: resolved (fixed in 2.7-1)
sid: resolved (fixed in 2.7-1)
trixie: resolved (fixed in 2.7-1)
Red Hat
CVE-2007-4840: PHP 5
vendor_redhat·CVSS 5.0
CVE-2007-4840 [MEDIUM] CVE-2007-4840: PHP 5
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.
Statement: We do not consider this to be a security issue. For more information please see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and http://www.php.net/security-note.php
No detection rules found.
No public exploits indexed.
http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.htmlhttp://osvdb.org/38916http://secunia.com/advisories/27102http://secunia.com/advisories/27659http://secunia.com/advisories/28658http://secunia.com/advisories/30040http://securityreason.com/securityalert/3122http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242http://www.gentoo.org/security/en/glsa/glsa-200710-02.xmlhttp://www.securityfocus.com/archive/1/478730/100/0/threadedhttp://www.securityfocus.com/archive/1/491693/100/0/threadedhttps://issues.rpath.com/browse/RPL-1943http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.htmlhttp://osvdb.org/38916http://secunia.com/advisories/27102http://secunia.com/advisories/27659http://secunia.com/advisories/28658http://secunia.com/advisories/30040http://securityreason.com/securityalert/3122http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242http://www.gentoo.org/security/en/glsa/glsa-200710-02.xmlhttp://www.securityfocus.com/archive/1/478730/100/0/threadedhttp://www.securityfocus.com/archive/1/491693/100/0/threadedhttps://issues.rpath.com/browse/RPL-1943
2007-09-12
Published