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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | glibc | 2.7-1 | — |
| Debian 13 | glibc | 2.7-1 | — |
| Debian 12 | glibc | 2.7-1 | — |
References
- SUSE-SA:2008:004 vendor-advisory
- https://issues.rpath.com/browse/RPL-1943
- 28658 third-party-advisory
- GLSA-200710-02 vendor-advisory
- 20070906 PHP <= 5.2.4 multiple Iconv functions denial of service mailing-list
- 30040 third-party-advisory
- 27659 third-party-advisory
- 3122 third-party-advisory
- SSRT080056 vendor-advisory
- http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242
- 27102 third-party-advisory
- 38916 vdb-entry