Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2016-7412: ext/mysqlnd/mysqlnd_wireprotocol.c in PHP before 5.6.26 and 7.x before 7.0.11 does not verify that a BIT field has the UNSIGNED_FLAG flag…

HighCVSS 8.1 · v3.0—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 35/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 8.8% (FIRST EPSS); higher than 95.2% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
  • Fixed version: php (Alpine:v3.2) 5.6.27-r0; php5 (Debian:7) 5.4.45-0+deb7u6; php5 (Debian:8) 5.6.26+dfsg-0+deb8u1.

Low priority for now. Upgrade to php (Alpine:v3.2) 5.6.27-r0; php5 (Debian:7) 5.4.45-0+deb7u6; php5 (Debian:8) 5.6.26+dfsg-0+deb8u1 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

ext/mysqlnd/mysqlnd_wireprotocol.c in PHP before 5.6.26 and 7.x before 7.0.11 does not verify that a BIT field has the UNSIGNED_FLAG flag, which allows remote MySQL servers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via crafted field metadata.

Published
Sep 17, 2016
Updated
Jun 16, 2026
EPSS
8.8% · 95th percentile

Report tools

JSON

Action score

35

Monitor

Low priority for now.

CVSS
32 / 40 · 8.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
3 / 30 · 8.8%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2016-7412

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
phpphp

Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)

Watch new CVEs for php

When you'll hear from us

  • when a new CVE affecting this product is published
  • when a record in your stack enters KEV or is weaponized

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • php phpup to 5.6.25 inclusive
  • php php7.0.0
  • php php7.0.1
  • php php7.0.10
  • php php7.0.2
  • php php7.0.3
  • php php7.0.4
  • php php7.0.5

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.2phpbefore 5.6.27-r05.6.27-r0
Debian:7php5before 5.4.45-0+deb7u65.4.45-0+deb7u6
Debian:8php5before 5.6.26+dfsg-0+deb8u15.6.26+dfsg-0+deb8u1
Red Hat:rhel_software_collections:3::el6rh-php70-phpbefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-bcmathbefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-clibefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-commonbefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-dbabefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-dbgbefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-debuginfobefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-develbefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-embeddedbefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-enchantbefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-fpmbefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-gdbefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-gmpbefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-imapbefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-intlbefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-jsonbefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-ldapbefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-mbstringbefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-mysqlndbefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-odbcbefore 0:7.0.27-1.el60:7.0.27-1.el6
Red Hat:rhel_software_collections:3::el6rh-php70-php-opcachebefore 0:7.0.27-1.el60:7.0.27-1.el6

+44

Same product

php: all records

Other highest-scoring records for the same primary product.

  • CVE-2024-4577Argument Injection in PHP-CGIKEV
    99Now
  • CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV
    99Now
  • CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle…KEV
    99Now

Published before and after this one in the same product

  • ← EarlierCVE-2016-7134Sep 11, 2016 · ext/curl/interface.c in PHP 7.x before 7.0.10 does not work around a libcurl integer overflow, which allows remote attackers to cause a…
    40Plan
  • ← EarlierCVE-2016-7411Sep 17, 2016 · ext/standard/var_unserializer.re in PHP before 5.6.26 mishandles object-deserialization failures, which allows remote attackers to cause a…
    41Plan
  • Later →CVE-2016-7413Sep 17, 2016 · Use-after-free vulnerability in the wddx_stack_destroy function in ext/wddx/wddx.c in PHP before 5.6.26 and 7.x before 7.0.11 allows remote…
    41Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:php5.6.27-r0 · Alpine:v3.2Package registry (OSV)
debian:php55.4.45-0+deb7u6 · Debian:7Package registry (OSV)
red hat:rh-php70-php0:7.0.27-1.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:rh-php70-php-bcmath0:7.0.27-1.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:rh-php70-php-cli0:7.0.27-1.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:rh-php70-php-common0:7.0.27-1.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:rh-php70-php-dba0:7.0.27-1.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:rh-php70-php-dbg0:7.0.27-1.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:rh-php70-php-debuginfo0:7.0.27-1.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:rh-php70-php-devel0:7.0.27-1.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:rh-php70-php-embedded0:7.0.27-1.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:rh-php70-php-enchant0:7.0.27-1.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:rh-php70-php-fpm0:7.0.27-1.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:rh-php70-php-gd0:7.0.27-1.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
suse:php55.5.14-78.1 · SUSE:Linux Enterprise Module for Web and Scripting 12Package registry (OSV)
suse:php535.3.17-84.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

References

All records