Every CVE Search/ Get API key

CVE-2007-1375

Integer overflow in the substr_compare function in PHP 5.2.1 and earlier allows context-dependent...

5.0 MediumPublic exploit

Integer 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.

Exploit likelihood

8.47%Down 4.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.0

Integer 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.

Record
CVE-2007-1375
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Updated
2026-11-02
CVE List No score

Integer 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.

Record
CVE-2007-1375
Updated
2026-11-02
EUVDEUVD-2007-1371 No score

Integer 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.

Record
EUVD-2007-1371
Updated
2026-11-03
GitHub AdvisoriesGHSA-cqfv-6frg-v5c7 No score

Integer overflow in the substr_compare function in PHP 5.2.1 and earlier allows context-dependent...

Integer 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.

Record
GHSA-cqfv-6frg-v5c7
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
php5
Debian:4.0
From an advisory covering 17 CVEs
before 5.2.0-8+etch3, plus listed versions
5.2.0-8+etch1
5.2.0-8+etch3
php5
Debian:5.0
From an advisory covering 18 CVEs
before 5.2.0-10+lenny1
5.2.0-10+lenny1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBPHP 5.2.1 - 'substr_compare()' Information Leak2007-03-07

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
aliases
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2007-1375 is a medium vulnerability (CVSS 5.0) in Php, published March 10, 2007. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 8.47%, the 95th percentile. No source names a fixed version.

References

Show 11 moreShow less
MoveEnter Open