CVE-2007-4840

Summary

CVECVE-2007-4840
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2007-09-12 20:17:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionPHP 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.

Risk And Classification

Primary CVSS: v2.0 5 from [email protected]

AV:N/AC:L/Au:N/C:N/I:N/A:P

Problem Types: CWE-20 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
None
Availability
Partial

AV:N/AC:L/Au:N/C:N/I:N/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Php Php All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
PHP <= 5.2.4 multiple Iconv functions denial of service - CXSecurity.com af854a3a-2127-422b-91ae-364da2661108 securityreason.com
rPath update for php5 - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
[security-announce] SUSE Security Announcement: php4, php5 (SUSE-SA:2008 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
osvdb.org/38916 af854a3a-2127-422b-91ae-364da2661108 osvdb.org
SUSE update for php4 and php5 - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Gentoo Linux Documentation -- PHP: Multiple vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.gentoo.org
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
issues.rpath.com/browse/RPL-1943 af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com
Advisories:rPSA-2007-0242 - rPath Wiki af854a3a-2127-422b-91ae-364da2661108 wiki.rpath.com
Gentoo update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
HP-UX update for Apache with PHP - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2007-09-13Joshua BressersWe 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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report