CVE-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 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.
Key facts
- CVSS score
- 5.0 (v2.0)
- Severity
- MEDIUM
- CVSS vector
AV:N/AC:L/Au:N/C:N/I:N/A:P- Weakness (CWE)
- CWE-20
- EPSS score
- 3.2% (88th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2007-4821)
- Published
- September 12, 2007
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2007-4821 in the EU Vulnerability Database. Last updated in EUVD on August 7, 2024.
View on the EU Vulnerability DatabaseAffected products
- php / php
References
- 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
- https://issues.rpath.com/browse/RPL-1943
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain