CVE-2016-7412: PHP - Buffer Overflow
- Cve: CVE-2016-7412
- Name: PHP - Buffer Overflow
- Description: 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.
- Impact: Remote MySQL servers can cause heap-based buffer overflow, leading to denial of service or potential arbitrary code execution.
- Remediation: Update PHP to version 5.6.26 or later, or 7.0.11 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0885
- Epss percentile: 0.95329
- Assignee: [email protected]
- Published at: 2016-09-17T21:59:03Z
- Age in days: 3720
- Modified at: 2026-06-17T00:53:01Z
- Patch available: yes
- Public exploits total: 1
- References total: 10
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-7412
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
Hackerone
- Reports: 1
- Rank: 5193
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://bugs.php.net/bug.php?id=72293 | nvd | 2016-09-17 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| php:php | = 7.0.10, = 7.0.9, = 7.0.8, = 7.0.7, = 7.0.6, = 7.0.5, = 7.0.4, = 7.0.3, = 7.0.2, = 7.0.1, = 7.0.0, <= 5.6.25 | no | nvd | /v1/products/php/php |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| php/php-src | commit, fix | yes | /v1/repositories/php/php-src |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2016-09-17
- Remote: yes
- Hackerone reports: 1
- Exposed hosts: 6175026
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since