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
Published Sep 12, 2007
5.0
MEDIUMCVSS 2.0
EPSS 3.15%
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 products
Remediation
Red Hat 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
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (16 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.15% (0.03152) | 87.50th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.15% (0.03152) | 86.24th | v5 (v2026.06.15) |
| Jul 30, 2025 | 1.17% (0.01165) | 77.75th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.29% (0.02287) | 74.46th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.26% (0.01262) | 78.04th | v4 (v2025.03.14) |
| Dec 12, 2024 | 5.65% (0.05646) | 93.58th | v3 (v2023.03.01) |
| Jul 16, 2024 | 5.65% (0.05646) | 93.37th | v3 (v2023.03.01) |
| Jun 8, 2024 | 4.52% (0.04521) | 92.49th | v3 (v2023.03.01) |
| May 1, 2024 | 4.68% (0.04684) | 92.55th | v3 (v2023.03.01) |
| Mar 24, 2024 | 3.19% (0.03194) | 90.96th | v3 (v2023.03.01) |
| Feb 14, 2024 | 2.28% (0.02278) | 89.28th | v3 (v2023.03.01) |
| Sep 18, 2023 | 1.56% (0.01556) | 85.66th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.32% (0.01318) | 83.85th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.23% (0.04229) | 87.47th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.23% (0.04229) | 86.19th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.23% (0.04229) | 69.94th | v2 (v2022.01.01) |
References (15)
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html vendor-advisoryx_refsource_SUSE
- http://osvdb.org/38916 vdb-entryx_refsource_OSVDB
- http://secunia.com/advisories/27102 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27659 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/28658 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/30040 third-party-advisoryx_refsource_SECUNIA
- http://securityreason.com/securityalert/3122 third-party-advisoryx_refsource_SREASON
- http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242 x_refsource_CONFIRM
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml vendor-advisoryx_refsource_GENTOO
- http://www.securityfocus.com/archive/1/478730/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.securityfocus.com/archive/1/491693/100/0/threaded vendor-advisoryx_refsource_HP
- https://access.redhat.com/security/cve/CVE-2007-4840 Vendor Advisory
- https://issues.rpath.com/browse/RPL-1943 x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2007-4840
- https://www.cve.org/CVERecord?id=CVE-2007-4840
Change history (0)
No recorded changes yet.