CVE-2007-4840Php
Medium 5.0 No auth needed
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- Priority
- 45
- CVSS 2.0
- 5.0
- EPSS
- 3.2% probability of exploitation in 30 days · percentile 89
- Auth required
- No
- Published
- Sep 12, 2007
- Updated
- Jun 16, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
What happens
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.
What to do
- Apply the vendor's security update for Php.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | ≤ 5.2.4 |
Official sources
References
Links published by the sources. Open them with care.