CVEfocus › CVE database › CVE-2016-4071

CVE-2016-4071

CVSS 9.8 CriticalEPSS 20.5% (higher than 98% of CVEs)Published 2016-05-20Updated 2024-08-06Assigner: mitre

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.

What to do

Likely to be exploited: EPSS gives a 20% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Ubuntu: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
25Fix pending
29Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04php7.0Fixed7.0.4-7ubuntu2.1UBUNTU-CVE-2016-4071
Ubuntu 14.04php5Fixed5.5.9+dfsg-1ubuntu4.16UBUNTU-CVE-2016-4071
Red Hat Enterprise Linux 7phpFix pending
Affected
Red Hat Enterprise Linux 7php-bcmathFix pending
Affected
Red Hat Enterprise Linux 7php-cliFix pending
Affected
Red Hat Enterprise Linux 7php-commonFix pending
Affected
Red Hat Enterprise Linux 7php-dbaFix pending
Affected
Red Hat Enterprise Linux 7php-develFix pending
Affected
Red Hat Enterprise Linux 7php-embeddedFix pending
Affected
Red Hat Enterprise Linux 7php-enchantFix pending
Affected
Red Hat Enterprise Linux 7php-fpmFix pending
Affected
Red Hat Enterprise Linux 7php-gdFix pending
Affected
Red Hat Enterprise Linux 7php-intlFix pending
Affected
Red Hat Enterprise Linux 7php-ldapFix pending
Affected
Red Hat Enterprise Linux 7php-mbstringFix pending
Affected
Red Hat Enterprise Linux 7php-mysqlFix pending
Affected
Red Hat Enterprise Linux 7php-mysqlndFix pending
Affected
Red Hat Enterprise Linux 7php-odbcFix pending
Affected
Red Hat Enterprise Linux 7php-pdoFix pending
Affected
Red Hat Enterprise Linux 7php-pgsqlFix pending
Affected
Red Hat Enterprise Linux 7php-processFix pending
Affected
Red Hat Enterprise Linux 7php-pspellFix pending
Affected
Red Hat Enterprise Linux 7php-recodeFix pending
Affected
Red Hat Enterprise Linux 7php-snmpFix pending
Affected
Red Hat Enterprise Linux 7php-soapFix pending
Affected
Red Hat Enterprise Linux 7php-xmlFix pending
Affected
Red Hat Enterprise Linux 7php-xmlrpcFix pending
Affected
Red Hat Enterprise Linux 6phpNot affected
Red Hat Enterprise Linux 6php-bcmathNot affected
Red Hat Enterprise Linux 6php-cliNot affected
Red Hat Enterprise Linux 6php-commonNot affected
Red Hat Enterprise Linux 6php-dbaNot affected
Red Hat Enterprise Linux 6php-develNot affected
Red Hat Enterprise Linux 6php-embeddedNot affected
Red Hat Enterprise Linux 6php-enchantNot affected
Red Hat Enterprise Linux 6php-fpmNot affected
Red Hat Enterprise Linux 6php-gdNot affected
Red Hat Enterprise Linux 6php-imapNot affected
Red Hat Enterprise Linux 6php-intlNot affected
Red Hat Enterprise Linux 6php-ldapNot affected
Red Hat Enterprise Linux 6php-mbstringNot affected
Red Hat Enterprise Linux 6php-mysqlNot affected
Red Hat Enterprise Linux 6php-odbcNot affected
Red Hat Enterprise Linux 6php-pdoNot affected
Red Hat Enterprise Linux 6php-pgsqlNot affected
Red Hat Enterprise Linux 6php-processNot affected
Red Hat Enterprise Linux 6php-pspellNot affected
Red Hat Enterprise Linux 6php-recodeNot affected
Red Hat Enterprise Linux 6php-snmpNot affected
Red Hat Enterprise Linux 6php-soapNot affected
Red Hat Enterprise Linux 6php-tidyNot affected
Red Hat Enterprise Linux 6php-xmlNot affected
Red Hat Enterprise Linux 6php-xmlrpcNot affected
Red Hat Enterprise Linux 6php-ztsNot affected
Red Hat Enterprise Linux 5phpNot affected
Red Hat Enterprise Linux 5php53Not affected

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.