CVE-2022-31626 HIGH

CVE-2022-31626: mysqlnd/pdo password buffer overflow

Vendor Php Group
Product PHP
Weakness CWE-120
Published June 16, 2022
Last update September 17, 2024

CVSS base score

7.5/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when pdo_mysql extension with mysqlnd driver, if the third party is allowed to supply host to connect to and the password for the connection, password of excessive length can trigger a buffer overflow in PHP, which can lead to a remote code execution vulnerability.

Key dates

02Disclosure timeline

June 16, 2022 CVE published
September 17, 2024 Record updated