CVE-2016-4071 Code injection in n/a

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code via format string specifiers in PHP's SNMP extension, requiring immediate upgrades.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-4071?

CVE-2016-4071 is a critical code injection vulnerability in Apple Mac Os X, published on 20 May 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2016-4071?

It affects 2 products.

Products include Apple Mac Os X, Php Php.

How do I fix CVE-2016-4071?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2016-4071 being exploited?

There is no known exploitation of CVE-2016-4071 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry.

All Apple Mac Os X vulnerabilities

Sources

Also known as GHSA-g8wv-2fpc-qgf8, UBUNTU-CVE-2016-4071.

Is CVE-2016-4071 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free