php: Format string vulnerability in php_snmp_error()
Published May 20, 2016
9.8
CRITICALCVSS 3.0
EPSS 20.45%
Description
Format string vulnerability in the php_snmp_error function in ext/snmp/snmp.c in PHP before 5.5.34, 5.6.x before 5.6.20, and 7.x before 7.0.5 allows remote attackers to execute arbitrary code via format string specifiers in an SNMP::get call.
Affected products
No data.
Configuration 1
- 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
Configuration 3
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.1
- 5.5.2
- 5.5.3
- 5.5.4
- 5.5.5
- 5.5.6
- 5.5.7
- 5.5.8
- 5.5.9
- 5.5.10
- 5.5.11
- 5.5.12
- 5.5.13
- 5.5.14
- 5.5.15
- 5.5.16
- 5.5.17
- 5.5.18
- 5.5.19
- 5.5.20
- 5.5.21
- 5.5.22
- 5.5.23
- 5.5.24
- 5.5.25
- 5.5.26
- 5.5.27
- 5.5.29
- 5.5.30
- 5.5.31
- 5.5.32
- 5.5.33
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
Not affected
Red Hat Enterprise Linux 5
php53
Not affected
Red Hat Enterprise Linux 6
php
Not affected
Red Hat Enterprise Linux 7
php
Affected
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 | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
| Red Hat Enterprise Linux 7 | php | Affected | 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
Red Hat mitigation
Do not enable exceptions when using the SNMP object.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
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 (28 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 20.45% (0.20452) | 97.43th | v5 (v2026.06.15) |
| Sep 22, 2026 | 19.45% (0.19455) | 97.25th | v5 (v2026.06.15) |
| Sep 21, 2026 | 18.17% (0.18167) | 97.14th | v5 (v2026.06.15) |
| Sep 6, 2026 | 19.45% (0.19455) | 97.19th | v5 (v2026.06.15) |
| Sep 5, 2026 | 18.17% (0.18167) | 97.08th | v5 (v2026.06.15) |
| Aug 30, 2026 | 19.45% (0.19455) | 97.17th | v5 (v2026.06.15) |
| Aug 28, 2026 | 18.17% (0.18167) | 97.06th | v5 (v2026.06.15) |
| Aug 24, 2026 | 19.45% (0.19455) | 97.16th | v5 (v2026.06.15) |
| Aug 23, 2026 | 18.17% (0.18167) | 97.05th | v5 (v2026.06.15) |
| Jun 15, 2026 | 19.45% (0.19455) | 97.01th | v5 (v2026.06.15) |
| Dec 28, 2025 | 32.58% (0.32580) | 96.70th | v4 (v2025.03.14) |
| Dec 27, 2025 | 25.49% (0.25487) | 96.06th | v4 (v2025.03.14) |
| Oct 28, 2025 | 32.58% (0.32580) | 96.64th | v4 (v2025.03.14) |
| Oct 27, 2025 | 25.49% (0.25487) | 95.98th | v4 (v2025.03.14) |
| Oct 1, 2025 | 32.58% (0.32580) | 96.73th | v4 (v2025.03.14) |
| Aug 21, 2025 | 25.49% (0.25487) | 96.00th | v4 (v2025.03.14) |
| Aug 20, 2025 | 20.44% (0.20439) | 95.32th | v4 (v2025.03.14) |
| Jul 30, 2025 | 16.17% (0.16168) | 94.53th | v4 (v2025.03.14) |
| May 30, 2025 | 21.59% (0.21589) | 95.38th | v4 (v2025.03.14) |
| Mar 30, 2025 | 18.21% (0.18208) | 94.67th | v4 (v2025.03.14) |
| Mar 29, 2025 | 25.70% (0.25704) | 93.95th | v4 (v2025.03.14) |
| Mar 17, 2025 | 18.21% (0.18208) | 94.69th | v4 (v2025.03.14) |
| Jan 25, 2025 | 59.92% (0.59916) | 97.94th | v3 (v2023.03.01) |
| Dec 17, 2024 | 53.50% (0.53496) | 97.73th | v3 (v2023.03.01) |
| Jul 13, 2023 | 49.34% (0.49339) | 97.01th | v3 (v2023.03.01) |
| Mar 7, 2023 | 41.58% (0.41584) | 96.67th | v3 (v2023.03.01) |
| Mar 6, 2023 | 35.59% (0.35594) | 97.83th | v2 (v2022.01.01) |
| Feb 4, 2022 | 35.59% (0.35594) | 96.92th | v2 (v2022.01.01) |
References (24)
- http://lists.apple.com/archives/security-announce/2016/May/msg00004.html vendor-advisoryx_refsource_APPLE
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00031.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00033.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00056.html vendor-advisoryx_refsource_SUSE
- http://rhn.redhat.com/errata/RHSA-2016-2750.html vendor-advisoryx_refsource_REDHAT
- http://www.debian.org/security/2016/dsa-3560 vendor-advisoryx_refsource_DEBIAN
- http://www.openwall.com/lists/oss-security/2016/04/24/1 mailing-listx_refsource_MLIST
- http://www.php.net/ChangeLog-5.php x_refsource_CONFIRM
- http://www.php.net/ChangeLog-7.php x_refsource_CONFIRM
- http://www.securityfocus.com/bid/85800 vdb-entryx_refsource_BID
- http://www.ubuntu.com/usn/USN-2952-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-2952-2 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2016-4071 Vendor Advisory
- https://bugs.php.net/bug.php?id=71704 x_refsource_CONFIRMExploit
- https://bugzilla.redhat.com/show_bug.cgi?id=1323108 Issue Tracking
- https://git.php.net/?p=php-src.git%3Ba=commit%3Bh=6e25966544fb1d2f3d7596e060ce9c9269bbdcf8 x_refsource_CONFIRM
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731 x_refsource_CONFIRM
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149 x_refsource_CONFIRM
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722 x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2016-4071
- https://security.gentoo.org/glsa/201611-22 vendor-advisoryx_refsource_GENTOO
- https://support.apple.com/HT206567 x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2016-4071
- https://www.exploit-db.com/exploits/39645/ exploitx_refsource_EXPLOIT-DB
Change history (0)
No recorded changes yet.