CVE-2007-1375
Status: ModifiedMedium (5)—Exploit
Severity5Medium · CVSS 2.0
Exploitation probability8.47 %higher than 95% of CVEs
Active exploitationNonot in the CISA catalog
Public exploitAvailablePublished on Exploit-DB
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.
CVSS
- Base score
- 5
- Version
- 2.0
- Vector
- AV:N/AC:L/Au:N/C:P/I:N/A:N
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days
- 8.47 %
- Percentile among all scored CVEs
- 95
- Score date
- 10/24/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
Public exploits
Exploit code or detection templates are publicly available. This is not the same as confirmed active exploitation (KEV), but it raises the risk: patch with priority.
- Published on Exploit-DB · PHP 5.2.1 - 'substr_compare()' Information Leak (3/7/2007)
Affected technologies (1)
CWEs
- NVD-CWE-Other
References
Show 30 references
- http://secunia.com/advisories/24606
- http://secunia.com/advisories/25056
- http://secunia.com/advisories/25057
- http://secunia.com/advisories/25062
- http://secunia.com/advisories/26895
- http://security.gentoo.org/glsa/glsa-200703-21.xml
- http://us2.php.net/releases/5_2_2.php
- http://www.debian.org/security/2007/dsa-1283
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:187
- http://www.novell.com/linux/security/advisories/2007_32_php.html
- http://www.osvdb.org/32780
- http://www.php-security.org/MOPB/MOPB-14-2007.html
- http://www.securityfocus.com/bid/22851
- http://www.ubuntu.com/usn/usn-455-1
- https://www.exploit-db.com/exploits/3424
- http://secunia.com/advisories/24606
- http://secunia.com/advisories/25056
- http://secunia.com/advisories/25057
- http://secunia.com/advisories/25062
- http://secunia.com/advisories/26895
- http://security.gentoo.org/glsa/glsa-200703-21.xml
- http://us2.php.net/releases/5_2_2.php
- http://www.debian.org/security/2007/dsa-1283
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:187
- http://www.novell.com/linux/security/advisories/2007_32_php.html
- http://www.osvdb.org/32780
- http://www.php-security.org/MOPB/MOPB-14-2007.html
- http://www.securityfocus.com/bid/22851
- http://www.ubuntu.com/usn/usn-455-1
- https://www.exploit-db.com/exploits/3424
Raw JSON (NVD)
Show
{
"id": "CVE-2007-1375",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 5,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
"authentication": "NONE",
"integrityImpact": "NONE",
"accessComplexity": "LOW",
"availabilityImpact": "NONE",
"confidentialityImpact": "PARTIAL"
},
"acInsufInfo": false,
"impactScore": 2.9,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": false,
"exploitabilityScore": 10,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
]
},
"affected": [
{
"source": "cve@mitre.org",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2007-03-10T00:19:00.000",
"references": [
{
"url": "http://secunia.com/advisories/24606",
"source": "cve@mitre.org"
},
{
"url": "http://secunia.com/advisories/25056",
"source": "cve@mitre.org"
},
{
"url": "http://secunia.com/advisories/25057",
"source": "cve@mitre.org"
},
{
"url": "http://secunia.com/advisories/25062",
"source": "cve@mitre.org"
},
{
"url": "http://secunia.com/advisories/26895",
"source": "cve@mitre.org"
},
{
"url": "http://security.gentoo.org/glsa/glsa-200703-21.xml",
"source": "cve@mitre.org"
},
{
"url": "http://us2.php.net/releases/5_2_2.php",
"source": "cve@mitre.org"
},
{
"url": "http://www.debian.org/security/2007/dsa-1283",
"source": "cve@mitre.org"
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDKSA-2007:187",
"source": "cve@mitre.org"
},
{
"url": "http://www.novell.com/linux/security/advisories/2007_32_php.html",
"source": "cve@mitre.org"
},
{
"url": "http://www.osvdb.org/32780",
"source": "cve@mitre.org"
},
{
"url": "http://www.php-security.org/MOPB/MOPB-14-2007.html",
"tags": [
"Exploit",
"Vendor Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "http://www.securityfocus.com/bid/22851",
"source": "cve@mitre.org"
},
{
"url": "http://www.ubuntu.com/usn/usn-455-1",
"source": "cve@mitre.org"
},
{
"url": "https://www.exploit-db.com/exploits/3424",
"source": "cve@mitre.org"
},
{
"url": "http://secunia.com/advisories/24606",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/25056",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/25057",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/25062",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/26895",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://security.gentoo.org/glsa/glsa-200703-21.xml",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://us2.php.net/releases/5_2_2.php",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.debian.org/security/2007/dsa-1283",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDKSA-2007:187",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.novell.com/linux/security/advisories/2007_32_php.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.osvdb.org/32780",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.php-security.org/MOPB/MOPB-14-2007.html",
"tags": [
"Exploit",
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/bid/22851",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.ubuntu.com/usn/usn-455-1",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://www.exploit-db.com/exploits/3424",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "NVD-CWE-Other"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Desbordamiento de enteros en la función substr_compare en PHP 5.2.1 y anteriores permite a atacantes dependientes del contexto leer memoria sensible a través de un valor en el argumento length, un vulnerabilidad diferente que CVE-2006-1991."
}
],
"lastModified": "2026-06-16T22:37:27.643",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "FEE12690-B08D-4AB2-8092-013DE1A33C4C",
"versionEndIncluding": "5.2.1"
}
],
"operator": "OR"
}
]
}
],
"vendorComments": [
{
"comment": "We do not consider this flaw to be a security issue as it is only exploitable by the script author. No trust boundary is crossed.\n\nThis flaw exists in versions of PHP as shipped in Red Hat Enterprise Linux 5 and Red Hat Application Stack 1.\n\nThese 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.",
"lastModified": "2008-11-26T00:00:00",
"organization": "Red Hat"
}
],
"sourceIdentifier": "cve@mitre.org"
}