php: uninitialized pointer in phar_make_dirstream()
Published Dec 11, 2015
6.8
MEDIUMCVSS 2.0
EPSS 8.80%
Description
Off-by-one error in the phar_parse_zipfile function in ext/phar/zip.c in PHP before 5.5.30 and 5.6.x before 5.6.14 allows remote attackers to cause a denial of service (uninitialized pointer dereference and application crash) by including the / filename in a .zip PHAR archive.
Affected products
No data.
Configuration 2
- ≤ 5.5.29
- 5.6.0
- 5.6.1
- 5.6.2
- 5.6.3
- 5.6.4
- 5.6.5
- 5.6.6
- 5.6.7
- 5.6.8
- 5.6.9
- 5.6.10
- 5.6.11
- 5.6.12
- 5.6.13
No data.
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php56-php-0:5.6.5-8.el6
Fixed · RHSA-2016:0457
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
rh-php56-php-0:5.6.5-8.el6
Fixed · RHSA-2016:0457
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-php56-php-0:5.6.5-8.el6
Fixed · RHSA-2016:0457
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php56-php-0:5.6.5-8.el7
Fixed · RHSA-2016:0457
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS
rh-php56-php-0:5.6.5-8.el7
Fixed · RHSA-2016:0457
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
rh-php56-php-0:5.6.5-8.el7
Fixed · RHSA-2016:0457
Red Hat Enterprise Linux 5
php
Will not fix
Red Hat Enterprise Linux 5
php53
Will not fix
Red Hat Enterprise Linux 6
php
Will not fix
Red Hat Enterprise Linux 7
php
Will not fix
Red Hat Software Collections
php54-php
Will not fix
Red Hat Software Collections
php55-php
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-php56-php-0:5.6.5-8.el6 | Fixed | RHSA-2016:0457 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | rh-php56-php-0:5.6.5-8.el6 | Fixed | RHSA-2016:0457 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-php56-php-0:5.6.5-8.el6 | Fixed | RHSA-2016:0457 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php56-php-0:5.6.5-8.el7 | Fixed | RHSA-2016:0457 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS | rh-php56-php-0:5.6.5-8.el7 | Fixed | RHSA-2016:0457 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS | rh-php56-php-0:5.6.5-8.el7 | Fixed | RHSA-2016:0457 |
| Red Hat Enterprise Linux 5 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | php53 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | php | Will not fix | n/a |
| Red Hat Software Collections | php54-php | Will not fix | n/a |
| Red Hat Software Collections | php55-php | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
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 (53 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 8.80% (0.08799) | 95.03th | v5 (v2026.06.15) |
| Jun 15, 2026 | 8.80% (0.08799) | 94.49th | v5 (v2026.06.15) |
| May 11, 2026 | 18.27% (0.18271) | 95.26th | v4 (v2025.03.14) |
| Mar 4, 2026 | 11.43% (0.11431) | 93.45th | v4 (v2025.03.14) |
| Mar 1, 2026 | 6.69% (0.06690) | 91.11th | v4 (v2025.03.14) |
| Feb 4, 2026 | 11.43% (0.11431) | 93.40th | v4 (v2025.03.14) |
| Feb 1, 2026 | 6.69% (0.06690) | 91.06th | v4 (v2025.03.14) |
| Jan 4, 2026 | 11.43% (0.11431) | 93.35th | v4 (v2025.03.14) |
| Jan 1, 2026 | 6.86% (0.06860) | 91.13th | v4 (v2025.03.14) |
| Dec 28, 2025 | 11.70% (0.11703) | 93.45th | v4 (v2025.03.14) |
| Dec 27, 2025 | 10.44% (0.10436) | 93.02th | v4 (v2025.03.14) |
| Dec 21, 2025 | 11.70% (0.11703) | 93.44th | v4 (v2025.03.14) |
| Dec 18, 2025 | 13.55% (0.13554) | 93.98th | v4 (v2025.03.14) |
| Dec 4, 2025 | 20.58% (0.20582) | 95.35th | v4 (v2025.03.14) |
| Dec 1, 2025 | 12.11% (0.12113) | 93.57th | v4 (v2025.03.14) |
| Nov 4, 2025 | 20.58% (0.20582) | 95.33th | v4 (v2025.03.14) |
| Nov 1, 2025 | 12.11% (0.12113) | 93.55th | v4 (v2025.03.14) |
| Oct 28, 2025 | 20.58% (0.20582) | 95.32th | v4 (v2025.03.14) |
| Oct 27, 2025 | 14.16% (0.14160) | 94.10th | v4 (v2025.03.14) |
| Oct 4, 2025 | 20.58% (0.20582) | 95.37th | v4 (v2025.03.14) |
| Oct 1, 2025 | 12.11% (0.12113) | 93.58th | v4 (v2025.03.14) |
| Sep 5, 2025 | 14.16% (0.14160) | 94.13th | v4 (v2025.03.14) |
| Sep 1, 2025 | 5.47% (0.05473) | 89.89th | v4 (v2025.03.14) |
| Aug 19, 2025 | 14.16% (0.14160) | 94.09th | v4 (v2025.03.14) |
| Aug 4, 2025 | 7.54% (0.07540) | 91.42th | v4 (v2025.03.14) |
| Aug 1, 2025 | 2.67% (0.02666) | 85.30th | v4 (v2025.03.14) |
| Jul 30, 2025 | 7.54% (0.07540) | 91.42th | v4 (v2025.03.14) |
| Jul 5, 2025 | 11.46% (0.11459) | 93.27th | v4 (v2025.03.14) |
| Jul 1, 2025 | 6.19% (0.06190) | 90.44th | v4 (v2025.03.14) |
| Jun 30, 2025 | 11.46% (0.11459) | 93.25th | v4 (v2025.03.14) |
| Jun 4, 2025 | 24.98% (0.24979) | 95.86th | v4 (v2025.03.14) |
| Jun 1, 2025 | 15.13% (0.15126) | 94.26th | v4 (v2025.03.14) |
| May 4, 2025 | 24.98% (0.24979) | 95.83th | v4 (v2025.03.14) |
| May 1, 2025 | 15.13% (0.15126) | 94.23th | v4 (v2025.03.14) |
| Apr 21, 2025 | 24.98% (0.24979) | 95.80th | v4 (v2025.03.14) |
| Apr 13, 2025 | 12.33% (0.12329) | 93.28th | v4 (v2025.03.14) |
| Apr 12, 2025 | 6.60% (0.06597) | 90.33th | v4 (v2025.03.14) |
| Apr 1, 2025 | 12.33% (0.12329) | 93.27th | v4 (v2025.03.14) |
| Mar 31, 2025 | 6.60% (0.06597) | 90.26th | v4 (v2025.03.14) |
| Mar 30, 2025 | 12.33% (0.12329) | 93.26th | v4 (v2025.03.14) |
| Mar 29, 2025 | 21.01% (0.21007) | 92.88th | v4 (v2025.03.14) |
| Mar 26, 2025 | 12.33% (0.12329) | 93.18th | v4 (v2025.03.14) |
| Mar 25, 2025 | 6.60% (0.06597) | 90.21th | v4 (v2025.03.14) |
| Mar 24, 2025 | 12.33% (0.12329) | 93.25th | v4 (v2025.03.14) |
| Mar 23, 2025 | 6.60% (0.06597) | 89.57th | v4 (v2025.03.14) |
| Mar 17, 2025 | 12.33% (0.12329) | 93.32th | v4 (v2025.03.14) |
| Dec 12, 2024 | 4.84% (0.04843) | 93.05th | v3 (v2023.03.01) |
| Jul 29, 2023 | 4.84% (0.04843) | 91.67th | v3 (v2023.03.01) |
| Mar 13, 2023 | 4.48% (0.04481) | 91.16th | v3 (v2023.03.01) |
| Mar 7, 2023 | 3.21% (0.03212) | 89.68th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.96% (0.01955) | 78.47th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.96% (0.01955) | 76.59th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.96% (0.01955) | 55.71th | v2 (v2022.01.01) |
References (16)
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=1ddf72180a52d247db88ea42a3e35f824a8fbda1 x_refsource_CONFIRM
- http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html vendor-advisoryx_refsource_APPLE
- http://lists.opensuse.org/opensuse-updates/2016-01/msg00099.html vendor-advisoryx_refsource_SUSE
- http://www.debian.org/security/2015/dsa-3380 vendor-advisoryx_refsource_DEBIAN
- http://www.openwall.com/lists/oss-security/2015/10/05/8 mailing-listx_refsource_MLIST
- http://www.php.net/ChangeLog-5.php x_refsource_CONFIRM
- http://www.securityfocus.com/bid/76959 vdb-entryx_refsource_BID
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.461720 vendor-advisoryx_refsource_SLACKWARE
- http://www.ubuntu.com/usn/USN-2786-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2015-7804 Vendor Advisory
- https://bugs.php.net/bug.php?id=70433 x_refsource_CONFIRMVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1271088 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2015-7804
- https://security.gentoo.org/glsa/201606-10 vendor-advisoryx_refsource_GENTOO
- https://support.apple.com/HT205637 x_refsource_CONFIRMVendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2015-7804
Change history (0)
No recorded changes yet.