{"api_version":"1","generated_at":"2026-07-23T12:43:30+00:00","cve":"CVE-2007-1375","urls":{"html":"https://cve.report/CVE-2007-1375","api":"https://cve.report/api/cve/CVE-2007-1375.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2007-1375","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-1375"},"summary":{"title":"CVE-2007-1375","description":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2007-03-10 00:19:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"}}],"references":[{"url":"https://www.exploit-db.com/exploits/3424","name":"https://www.exploit-db.com/exploits/3424","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PHP 5.2.1 - 'substr_compare()' Information Leak - Multiple local Exploit","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.php-security.org/MOPB/MOPB-14-2007.html","name":"http://www.php-security.org/MOPB/MOPB-14-2007.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Vendor Advisory"],"title":"MOPB-14-2007:PHP substr_compare() Information Leak Vulnerability","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://secunia.com/advisories/25056","name":"http://secunia.com/advisories/25056","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SUSE update for php - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/22851","name":"http://www.securityfocus.com/bid/22851","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PHP 5 Substr_Compare Integer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://www.novell.com/linux/security/advisories/2007_32_php.html","name":"http://www.novell.com/linux/security/advisories/2007_32_php.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Security Announcement","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://us2.php.net/releases/5_2_2.php","name":"http://us2.php.net/releases/5_2_2.php","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PHP: PHP 5.2.2 Release Announcement","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/26895","name":"http://secunia.com/advisories/26895","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Mandriva update for php - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.ubuntu.com/usn/usn-455-1","name":"http://www.ubuntu.com/usn/usn-455-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"USN-455-1: PHP vulnerabilities | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/24606","name":"http://secunia.com/advisories/24606","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Gentoo update for php - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.osvdb.org/32780","name":"http://www.osvdb.org/32780","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://secunia.com/advisories/25062","name":"http://secunia.com/advisories/25062","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian update for php5 - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:187","name":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:187","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Advisories | Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://security.gentoo.org/glsa/glsa-200703-21.xml","name":"http://security.gentoo.org/glsa/glsa-200703-21.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Gentoo Linux Documentation\n--\n  PHP: Multiple vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/25057","name":"http://secunia.com/advisories/25057","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Ubuntu update for php - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2007/dsa-1283","name":"http://www.debian.org/security/2007/dsa-1283","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian -- Security Information -- DSA-1283-1 php5","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-1375","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1375","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2007","cve_id":"1375","vulnerable":"1","versionEndIncluding":"5.2.1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[{"cvename":"CVE-2007-1375","organization":"Red Hat","lastmodified":"2008-11-26","contributor":"Mark J Cox","statementText":"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. 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_year":"2007","cve_id":"1375","crc32":"7e354b95"}],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T12:50:35.606Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"32780","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://www.osvdb.org/32780"},{"name":"25056","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/25056"},{"name":"DSA-1283","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2007/dsa-1283"},{"name":"24606","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/24606"},{"name":"3424","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"],"url":"https://www.exploit-db.com/exploits/3424"},{"name":"22851","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/22851"},{"name":"GLSA-200703-21","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://security.gentoo.org/glsa/glsa-200703-21.xml"},{"name":"25062","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/25062"},{"name":"USN-455-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"http://www.ubuntu.com/usn/usn-455-1"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://www.php-security.org/MOPB/MOPB-14-2007.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://us2.php.net/releases/5_2_2.php"},{"name":"MDKSA-2007:187","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:187"},{"name":"26895","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/26895"},{"name":"25057","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/25057"},{"name":"SUSE-SA:2007:032","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://www.novell.com/linux/security/advisories/2007_32_php.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2007-03-07T00:00:00.000Z","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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-10-10T00:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"32780","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://www.osvdb.org/32780"},{"name":"25056","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/25056"},{"name":"DSA-1283","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2007/dsa-1283"},{"name":"24606","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/24606"},{"name":"3424","tags":["exploit","x_refsource_EXPLOIT-DB"],"url":"https://www.exploit-db.com/exploits/3424"},{"name":"22851","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/22851"},{"name":"GLSA-200703-21","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://security.gentoo.org/glsa/glsa-200703-21.xml"},{"name":"25062","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/25062"},{"name":"USN-455-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"http://www.ubuntu.com/usn/usn-455-1"},{"tags":["x_refsource_MISC"],"url":"http://www.php-security.org/MOPB/MOPB-14-2007.html"},{"tags":["x_refsource_CONFIRM"],"url":"http://us2.php.net/releases/5_2_2.php"},{"name":"MDKSA-2007:187","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:187"},{"name":"26895","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/26895"},{"name":"25057","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/25057"},{"name":"SUSE-SA:2007:032","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://www.novell.com/linux/security/advisories/2007_32_php.html"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-1375","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"32780","refsource":"OSVDB","url":"http://www.osvdb.org/32780"},{"name":"25056","refsource":"SECUNIA","url":"http://secunia.com/advisories/25056"},{"name":"DSA-1283","refsource":"DEBIAN","url":"http://www.debian.org/security/2007/dsa-1283"},{"name":"24606","refsource":"SECUNIA","url":"http://secunia.com/advisories/24606"},{"name":"3424","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/3424"},{"name":"22851","refsource":"BID","url":"http://www.securityfocus.com/bid/22851"},{"name":"GLSA-200703-21","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200703-21.xml"},{"name":"25062","refsource":"SECUNIA","url":"http://secunia.com/advisories/25062"},{"name":"USN-455-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/usn-455-1"},{"name":"http://www.php-security.org/MOPB/MOPB-14-2007.html","refsource":"MISC","url":"http://www.php-security.org/MOPB/MOPB-14-2007.html"},{"name":"http://us2.php.net/releases/5_2_2.php","refsource":"CONFIRM","url":"http://us2.php.net/releases/5_2_2.php"},{"name":"MDKSA-2007:187","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:187"},{"name":"26895","refsource":"SECUNIA","url":"http://secunia.com/advisories/26895"},{"name":"25057","refsource":"SECUNIA","url":"http://secunia.com/advisories/25057"},{"name":"SUSE-SA:2007:032","refsource":"SUSE","url":"http://www.novell.com/linux/security/advisories/2007_32_php.html"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2007-1375","datePublished":"2007-03-10T00:00:00.000Z","dateReserved":"2007-03-09T00:00:00.000Z","dateUpdated":"2024-08-07T12:50:35.606Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2007-03-10 00:19:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionEndIncluding":"5.2.1","matchCriteriaId":"FEE12690-B08D-4AB2-8092-013DE1A33C4C"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2007","CveId":"1375","Ordinal":"1","Title":"CVE-2007-1375","CVE":"CVE-2007-1375","Year":"2007"},"notes":[{"CveYear":"2007","CveId":"1375","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2007-1375"},{"CveYear":"2007","CveId":"1375","Ordinal":"2","NoteData":"2007-03-09","Type":"Other","Title":"Published"},{"CveYear":"2007","CveId":"1375","Ordinal":"3","NoteData":"2017-10-09","Type":"Other","Title":"Modified"}]}}}