The resource system in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allows context-dependent attackers to execute arbitrary code by interrupting certain functions in the GD (ext/gd) extension and unspecified other extensions via a userspace error handler, which can be used to destroy and modify internal resources
Published Mar 21, 2007
6.8
MEDIUMCVSS 2.0
EPSS 5.92%
Description
The resource system in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allows context-dependent attackers to execute arbitrary code by interrupting certain functions in the GD (ext/gd) extension and unspecified other extensions via a userspace error handler, which can be used to destroy and modify internal resources.
Affected products
No data.
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0.0
- 4.0.1
- 4.0.1
- 4.0.1
- 4.0.2
- 4.0.3
- 4.0.3
- 4.0.4
- 4.0.4
- 4.0.5
- 4.0.6
- 4.0.7
- 4.0.7
- 4.0.7
- 4.0.7
- 4.1.0
- 4.1.1
- 4.1.2
- 4.2
- 4.2.0
- 4.2.1
- 4.2.2
- 4.2.3
- 4.3.0
- 4.3.1
- 4.3.2
- 4.3.3
- 4.3.4
- 4.3.5
- 4.3.6
- 4.3.7
- 4.3.8
- 4.3.9
- 4.3.10
- 4.3.11
- 4.4.0
- 4.4.1
- 4.4.2
- 4.4.3
- 4.4.4
- 4.4.5
- 4.4.6
- 5.0
- 5.0
- 5.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.1
- 5.0.2
- 5.0.3
- 5.0.4
- 5.0.5
- 5.1.0
- 5.1.1
- 5.1.2
- 5.1.3
- 5.1.4
- 5.1.5
- 5.1.6
- 5.2.0
- 5.2.1
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Red Hat statement
The PHP interpreter does not offer a reliable "sandboxed" security layer (as found in, say, a JVM) in which untrusted scripts can be run; any script run by the PHP interpreter must be trusted with the privileges of the interpreter itself. We therefore do not classify this issue as security-sensitive since no trust boundary is crossed.
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:M/Au:N/C:P/I:P/A:P
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 1, 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 (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 5.92% (0.05924) | 93.02th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.92% (0.05924) | 92.28th | v5 (v2026.06.15) |
| Jul 27, 2025 | 3.46% (0.03462) | 87.06th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.22% (0.02223) | 83.34th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.71% (0.00706) | 81.05th | v3 (v2023.03.01) |
| May 3, 2024 | 0.85% (0.00853) | 82.11th | v3 (v2023.03.01) |
| Aug 23, 2023 | 0.85% (0.00853) | 80.10th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.62% (0.00623) | 75.62th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.27% (0.04266) | 87.50th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.27% (0.04266) | 86.22th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.27% (0.04266) | 69.97th | v2 (v2022.01.01) |
No CWE recorded.
References (7)
- http://secunia.com/advisories/24542 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://www.php-security.org/MOPB/MOPB-27-2007.html x_refsource_MISCVendor Advisory
- http://www.securityfocus.com/bid/23046 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2007-1582 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2007-1582
- https://www.cve.org/CVERecord?id=CVE-2007-1582
- https://www.exploit-db.com/exploits/3525 exploitx_refsource_EXPLOIT-DB
| Link | Providers | Tags |
|---|---|---|
| http://secunia.com/advisories/24542 | third-party-advisoryx_refsource_SECUNIAVendor Advisory | |
| http://www.php-security.org/MOPB/MOPB-27-2007.html | x_refsource_MISCVendor Advisory | |
| http://www.securityfocus.com/bid/23046 | vdb-entryx_refsource_BID | |
| https://access.redhat.com/security/cve/CVE-2007-1582 | Vendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2007-1582 | ||
| https://www.cve.org/CVERecord?id=CVE-2007-1582 | ||
| https://www.exploit-db.com/exploits/3525 | exploitx_refsource_EXPLOIT-DB |
Change history (0)
No recorded changes yet.