CVE-2016-4071
php: Format string vulnerability in php_snmp_error()
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · March 2, 2016
Updated · June 28, 2026
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Do not enable exceptions when using the SNMP object.
CVSS / CWE
CVSS 3.0 · 5CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 2.0 · 5.4AV:A/AC:M/Au:N/C:P/I:P/A:P
CWE-134 · Use of Externally-Controlled Format String