Integer overflow in the zip_read_entry function in PHP 4 before 4.4.5 allows remote attackers to execute arbitrary code via a ZIP archive that contains an entry with a length value of 0xffffffff, which is incremented before use in an emalloc call, triggering a heap overflow
Published Mar 30, 2007
7.5
HIGHCVSS 2.0
EPSS 15.33%
Description
Integer overflow in the zip_read_entry function in PHP 4 before 4.4.5 allows remote attackers to execute arbitrary code via a ZIP archive that contains an entry with a length value of 0xffffffff, which is incremented before use in an emalloc call, triggering a heap overflow.
Affected products
No data.
- 3.0
- 3.0.1
- 3.0.2
- 3.0.3
- 3.0.4
- 3.0.5
- 3.0.6
- 3.0.7
- 3.0.8
- 3.0.9
- 3.0.10
- 3.0.11
- 3.0.12
- 3.0.13
- 3.0.14
- 3.0.15
- 3.0.16
- 3.0.17
- 3.0.18
- 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
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Red Hat statement
Not vulnerable. The zip extension was not distributed with PHP as shipped with Red Hat Enterprise Linux 2.1, 3, 4, 5, Stronghold 4.0, or Red Hat Application Stack 1.
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: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 (21 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 15.33% (0.15328) | 96.68th | v5 (v2026.06.15) |
| Jun 15, 2026 | 15.33% (0.15328) | 96.34th | v5 (v2026.06.15) |
| Dec 28, 2025 | 13.86% (0.13862) | 94.08th | v4 (v2025.03.14) |
| Dec 27, 2025 | 18.50% (0.18505) | 95.06th | v4 (v2025.03.14) |
| Nov 16, 2025 | 13.86% (0.13862) | 94.02th | v4 (v2025.03.14) |
| Oct 28, 2025 | 15.35% (0.15351) | 94.33th | v4 (v2025.03.14) |
| Oct 27, 2025 | 20.35% (0.20349) | 95.29th | v4 (v2025.03.14) |
| Oct 1, 2025 | 15.35% (0.15351) | 94.42th | v4 (v2025.03.14) |
| Jul 30, 2025 | 20.35% (0.20349) | 95.29th | v4 (v2025.03.14) |
| Mar 30, 2025 | 11.23% (0.11234) | 92.88th | v4 (v2025.03.14) |
| Mar 29, 2025 | 12.36% (0.12363) | 89.78th | v4 (v2025.03.14) |
| Mar 17, 2025 | 11.23% (0.11234) | 92.97th | v4 (v2025.03.14) |
| Dec 17, 2024 | 42.02% (0.42018) | 97.37th | v3 (v2023.03.01) |
| Jul 3, 2024 | 21.99% (0.21987) | 96.50th | v3 (v2023.03.01) |
| Dec 24, 2023 | 22.35% (0.22349) | 96.05th | v3 (v2023.03.01) |
| Nov 16, 2023 | 17.32% (0.17317) | 95.57th | v3 (v2023.03.01) |
| Jun 18, 2023 | 21.95% (0.21950) | 95.78th | v3 (v2023.03.01) |
| Mar 7, 2023 | 24.43% (0.24434) | 95.84th | v3 (v2023.03.01) |
| Mar 6, 2023 | 20.10% (0.20096) | 96.45th | v2 (v2022.01.01) |
| Apr 1, 2022 | 20.10% (0.20096) | 96.11th | v2 (v2022.01.01) |
| Feb 4, 2022 | 20.10% (0.20096) | 93.97th | v2 (v2022.01.01) |
No CWE recorded.
References (11)
- http://secunia.com/advisories/25025 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/25062 third-party-advisoryx_refsource_SECUNIA
- http://www.debian.org/security/2007/dsa-1282 vendor-advisoryx_refsource_DEBIAN
- http://www.debian.org/security/2007/dsa-1283 vendor-advisoryx_refsource_DEBIAN
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:130 vendor-advisoryx_refsource_MANDRIVA
- http://www.php-security.org/MOPB/MOPB-35-2007.html x_refsource_MISCExploitVendor Advisory
- http://www.securityfocus.com/bid/23169 vdb-entryx_refsource_BIDExploit
- https://access.redhat.com/security/cve/CVE-2007-1777 Vendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33652 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2007-1777
- https://www.cve.org/CVERecord?id=CVE-2007-1777
| Link | Providers | Tags |
|---|---|---|
| http://secunia.com/advisories/25025 | third-party-advisoryx_refsource_SECUNIA | |
| http://secunia.com/advisories/25062 | third-party-advisoryx_refsource_SECUNIA | |
| http://www.debian.org/security/2007/dsa-1282 | vendor-advisoryx_refsource_DEBIAN | |
| http://www.debian.org/security/2007/dsa-1283 | vendor-advisoryx_refsource_DEBIAN | |
| http://www.mandriva.com/security/advisories?name=MDVSA-2008:130 | vendor-advisoryx_refsource_MANDRIVA | |
| http://www.php-security.org/MOPB/MOPB-35-2007.html | x_refsource_MISCExploitVendor Advisory | |
| http://www.securityfocus.com/bid/23169 | vdb-entryx_refsource_BIDExploit | |
| https://access.redhat.com/security/cve/CVE-2007-1777 | Vendor Advisory | |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/33652 | vdb-entryx_refsource_XF | |
| https://nvd.nist.gov/vuln/detail/CVE-2007-1777 | ||
| https://www.cve.org/CVERecord?id=CVE-2007-1777 |
Change history (0)
No recorded changes yet.