php: Integer overflow leads to buffer overflow in virtual_file_ex
Published Jul 25, 2016
7.8
HIGHCVSS 3.0
EPSS 3.79%
Description
Integer overflow in the virtual_file_ex function in TSRM/tsrm_virtual_cwd.c in PHP before 5.5.38, 5.6.x before 5.6.24, and 7.x before 7.0.9 allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a crafted extract operation on a ZIP archive.
Affected products
No data.
- ≤ 5.5.37
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 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
- 5.6.14
- 5.6.15
- 5.6.16
- 5.6.17
- 5.6.18
- 5.6.19
- 5.6.20
- 5.6.21
- 5.6.22
- 5.6.23
- 7.0.0
- 7.0.1
- 7.0.2
- 7.0.3
- 7.0.4
- 7.0.5
- 7.0.8
No data.
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php56-0:2.3-1.el6
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php56-php-0:5.6.25-1.el6
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php56-php-pear-1:1.9.5-4.el6
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-php56-0:2.3-1.el6
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-php56-php-0:5.6.25-1.el6
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-php56-php-pear-1:1.9.5-4.el6
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php56-0:2.3-1.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php56-php-0:5.6.25-1.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php56-php-pear-1:1.9.5-4.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
rh-php56-0:2.3-1.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
rh-php56-php-0:5.6.25-1.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
rh-php56-php-pear-1:1.9.5-4.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-php56-0:2.3-1.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-php56-php-0:5.6.25-1.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-php56-php-pear-1:1.9.5-4.el7
Fixed · RHSA-2016:2750
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-0:2.3-1.el6 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-php56-php-0:5.6.25-1.el6 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-php56-php-pear-1:1.9.5-4.el6 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-php56-0:2.3-1.el6 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-php56-php-0:5.6.25-1.el6 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-php56-php-pear-1:1.9.5-4.el6 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php56-0:2.3-1.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php56-php-0:5.6.25-1.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php56-php-pear-1:1.9.5-4.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS | rh-php56-0:2.3-1.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS | rh-php56-php-0:5.6.25-1.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS | rh-php56-php-pear-1:1.9.5-4.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-php56-0:2.3-1.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-php56-php-0:5.6.25-1.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-php56-php-pear-1:1.9.5-4.el7 | Fixed | RHSA-2016:2750 |
| 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.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
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 (24 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.79% (0.03792) | 89.65th | v5 (v2026.06.15) |
| Sep 22, 2026 | 3.79% (0.03792) | 89.51th | v5 (v2026.06.15) |
| Sep 21, 2026 | 5.95% (0.05947) | 93.00th | v5 (v2026.06.15) |
| Sep 6, 2026 | 3.79% (0.03792) | 89.27th | v5 (v2026.06.15) |
| Sep 5, 2026 | 5.95% (0.05947) | 92.85th | v5 (v2026.06.15) |
| Aug 30, 2026 | 3.79% (0.03792) | 89.21th | v5 (v2026.06.15) |
| Aug 28, 2026 | 5.95% (0.05947) | 92.81th | v5 (v2026.06.15) |
| Aug 24, 2026 | 3.79% (0.03792) | 89.15th | v5 (v2026.06.15) |
| Aug 23, 2026 | 5.95% (0.05947) | 92.78th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.79% (0.03792) | 88.56th | v5 (v2026.06.15) |
| Jun 21, 2025 | 3.01% (0.03008) | 85.98th | v4 (v2025.03.14) |
| May 30, 2025 | 5.13% (0.05134) | 89.33th | v4 (v2025.03.14) |
| Apr 13, 2025 | 1.82% (0.01818) | 81.35th | v4 (v2025.03.14) |
| Apr 12, 2025 | 5.13% (0.05134) | 88.94th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.13% (0.03131) | 85.98th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.81% (0.00807) | 82.43th | v3 (v2023.03.01) |
| Mar 12, 2024 | 0.81% (0.00807) | 81.29th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.74% (0.00743) | 78.70th | v3 (v2023.03.01) |
| Oct 26, 2023 | 0.44% (0.00441) | 71.97th | v3 (v2023.03.01) |
| May 16, 2023 | 0.31% (0.00311) | 65.60th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.29% (0.00291) | 64.15th | v3 (v2023.03.01) |
| Mar 6, 2023 | 3.41% (0.03407) | 84.65th | v2 (v2022.01.01) |
| Apr 1, 2022 | 3.41% (0.03407) | 83.10th | v2 (v2022.01.01) |
| Feb 4, 2022 | 3.41% (0.03407) | 66.20th | v2 (v2022.01.01) |
References (17)
- http://fortiguard.com/advisory/fortinet-discovers-php-stack-based-buffer-overflow-vulnerabilities x_refsource_MISCThird Party Advisory
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=0218acb7e756a469099c4ccfb22bce6c2bd1ef87 x_refsource_CONFIRM
- http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html vendor-advisoryx_refsource_APPLE
- http://openwall.com/lists/oss-security/2016/07/24/2 mailing-listx_refsource_MLISTMailing List
- http://php.net/ChangeLog-5.php x_refsource_CONFIRMRelease Notes
- http://php.net/ChangeLog-7.php x_refsource_CONFIRMRelease Notes
- http://rhn.redhat.com/errata/RHSA-2016-2750.html vendor-advisoryx_refsource_REDHAT
- http://www.debian.org/security/2016/dsa-3631 vendor-advisoryx_refsource_DEBIAN
- http://www.securityfocus.com/bid/92074 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1036430 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/security/cve/CVE-2016-6289 Vendor Advisory
- https://bugs.php.net/72513 x_refsource_CONFIRMExploitIssue TrackingMitigationThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1359698 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2016-6289
- https://security.gentoo.org/glsa/201611-22 vendor-advisoryx_refsource_GENTOO
- https://support.apple.com/HT207170 x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2016-6289
Change history (0)
No recorded changes yet.