// For flags

CVE-2016-7412

php: Heap overflow in mysqlnd when not receiving UNSIGNED_FLAG in BIT field

Severity Score

8.1
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

ext/mysqlnd/mysqlnd_wireprotocol.c en PHP en versiones anteriores a 5.6.26 y 7.x en versiones anteriores a 7.0.11 no verifica que un campo BIT tenga el indicador UNSIGNED_FLAG, lo que podría permitir a servidores MySQL remotos provocar una denegación de servicio (desbordamiento de búfer basado en memoria dinámica) o tener otro posible impacto no especificado a través de metadatos de campo manipulado.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2016-09-09 CVE Reserved
  • 2016-09-17 CVE Published
  • 2024-02-28 EPSS Updated
  • 2024-08-06 CVE Updated
  • 2024-08-06 First Exploit
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-122: Heap-based Buffer Overflow
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
<= 5.6.25
Search vendor "Php" for product "Php" and version " <= 5.6.25"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.0
Search vendor "Php" for product "Php" and version "7.0.0"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.1
Search vendor "Php" for product "Php" and version "7.0.1"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.2
Search vendor "Php" for product "Php" and version "7.0.2"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.3
Search vendor "Php" for product "Php" and version "7.0.3"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.4
Search vendor "Php" for product "Php" and version "7.0.4"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.5
Search vendor "Php" for product "Php" and version "7.0.5"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.6
Search vendor "Php" for product "Php" and version "7.0.6"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.7
Search vendor "Php" for product "Php" and version "7.0.7"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.8
Search vendor "Php" for product "Php" and version "7.0.8"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.9
Search vendor "Php" for product "Php" and version "7.0.9"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.10
Search vendor "Php" for product "Php" and version "7.0.10"
-
Affected