CVE-2007-1375

Summary

CVECVE-2007-1375
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2007-03-10 00:19:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionInteger overflow in the substr_compare function in PHP 5.2.1 and earlier allows context-dependent attackers to read sensitive memory via a large value in the length argument, a different vulnerability than CVE-2006-1991.

Risk And Classification

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

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

Problem Types: NVD-CWE-Other | n/a

CVSS v2.0 Breakdown

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

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

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.1 - 'substr_compare()' Information Leak - Multiple local Exploit af854a3a-2127-422b-91ae-364da2661108 www.exploit-db.com
MOPB-14-2007:PHP substr_compare() Information Leak Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.php-security.org Exploit, Vendor Advisory
SUSE update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
PHP 5 Substr_Compare Integer Overflow Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Security Announcement af854a3a-2127-422b-91ae-364da2661108 www.novell.com
PHP: PHP 5.2.2 Release Announcement af854a3a-2127-422b-91ae-364da2661108 us2.php.net
Mandriva update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
USN-455-1: PHP vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Gentoo update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
www.osvdb.org/32780 af854a3a-2127-422b-91ae-364da2661108 www.osvdb.org
Debian update for php5 - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Advisories | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
Gentoo Linux Documentation -- PHP: Multiple vulnerabilities af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
Ubuntu update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Debian -- Security Information -- DSA-1283-1 php5 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2008-11-26Mark J CoxWe do not consider this flaw to be a security issue as it is only exploitable by the script author. No trust boundary is crossed. This flaw exists in versions of PHP as shipped in Red Hat Enterprise Linux 5 and Red Hat Application Stack 1. These issue did not affect the versions of PHP as shipped with Red Hat Enterprise Linux 2.1, 3, 4, Stronghold 4.0, or Red Hat Application Stack 2.

© 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