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
Published Mar 10, 2007
5.0
MEDIUMCVSS 2.0
EPSS 8.16%
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.
Affected products
Remediation
Red Hat statement
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.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (29 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 8.16% (0.08156) | 94.69th | v5 (v2026.06.15) |
| Jun 15, 2026 | 8.16% (0.08156) | 94.11th | v5 (v2026.06.15) |
| Feb 10, 2026 | 17.12% (0.17117) | 94.82th | v4 (v2025.03.14) |
| Dec 28, 2025 | 15.39% (0.15389) | 94.42th | v4 (v2025.03.14) |
| Dec 27, 2025 | 12.51% (0.12507) | 93.74th | v4 (v2025.03.14) |
| Oct 28, 2025 | 15.39% (0.15389) | 94.33th | v4 (v2025.03.14) |
| Oct 27, 2025 | 12.51% (0.12507) | 93.65th | v4 (v2025.03.14) |
| Oct 1, 2025 | 17.00% (0.17003) | 94.77th | v4 (v2025.03.14) |
| Jul 30, 2025 | 13.88% (0.13879) | 94.02th | v4 (v2025.03.14) |
| Jul 16, 2025 | 17.00% (0.17003) | 94.66th | v4 (v2025.03.14) |
| Mar 30, 2025 | 14.25% (0.14247) | 93.80th | v4 (v2025.03.14) |
| Mar 29, 2025 | 18.28% (0.18280) | 92.11th | v4 (v2025.03.14) |
| Mar 17, 2025 | 14.25% (0.14247) | 93.87th | v4 (v2025.03.14) |
| Dec 17, 2024 | 4.72% (0.04724) | 92.55th | v3 (v2023.03.01) |
| Dec 12, 2024 | 2.91% (0.02912) | 91.16th | v3 (v2023.03.01) |
| Jun 13, 2024 | 2.32% (0.02320) | 89.76th | v3 (v2023.03.01) |
| Feb 19, 2024 | 2.60% (0.02604) | 89.95th | v3 (v2023.03.01) |
| Jan 11, 2024 | 2.90% (0.02901) | 89.77th | v3 (v2023.03.01) |
| Dec 4, 2023 | 1.79% (0.01786) | 86.65th | v3 (v2023.03.01) |
| Oct 27, 2023 | 1.77% (0.01775) | 86.64th | v3 (v2023.03.01) |
| Sep 19, 2023 | 1.81% (0.01815) | 86.74th | v3 (v2023.03.01) |
| Aug 11, 2023 | 1.84% (0.01844) | 86.81th | v3 (v2023.03.01) |
| Jul 4, 2023 | 1.73% (0.01732) | 86.15th | v3 (v2023.03.01) |
| May 29, 2023 | 1.64% (0.01640) | 85.67th | v3 (v2023.03.01) |
| Apr 21, 2023 | 1.69% (0.01690) | 85.87th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.59% (0.01595) | 85.35th | v3 (v2023.03.01) |
| Mar 6, 2023 | 12.57% (0.12567) | 95.52th | v2 (v2022.01.01) |
| Apr 1, 2022 | 12.57% (0.12567) | 95.18th | v2 (v2022.01.01) |
| Feb 4, 2022 | 12.57% (0.12567) | 90.03th | v2 (v2022.01.01) |
No CWE recorded.
References (18)
- http://secunia.com/advisories/24606 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/25056 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/25057 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/25062 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/26895 third-party-advisoryx_refsource_SECUNIA
- http://security.gentoo.org/glsa/glsa-200703-21.xml vendor-advisoryx_refsource_GENTOO
- http://us2.php.net/releases/5_2_2.php x_refsource_CONFIRM
- http://www.debian.org/security/2007/dsa-1283 vendor-advisoryx_refsource_DEBIAN
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:187 vendor-advisoryx_refsource_MANDRIVA
- http://www.novell.com/linux/security/advisories/2007_32_php.html vendor-advisoryx_refsource_SUSE
- http://www.osvdb.org/32780 vdb-entryx_refsource_OSVDB
- http://www.php-security.org/MOPB/MOPB-14-2007.html x_refsource_MISCExploitVendor Advisory
- http://www.securityfocus.com/bid/22851 vdb-entryx_refsource_BID
- http://www.ubuntu.com/usn/usn-455-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2007-1375 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2007-1375
- https://www.cve.org/CVERecord?id=CVE-2007-1375
- https://www.exploit-db.com/exploits/3424 exploitx_refsource_EXPLOIT-DB
Change history (0)
No recorded changes yet.