CVE-2022-31626 - CVE House
Back to Database
Status published High CVE-2022-31626

mysqlnd/pdo password buffer overflow

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-31626

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • c dot fol at ambionics dot io

Affected Vendor

Affected Software

PHP
Vulnerable Versions:
7.4.X, 8.0.X, 8.1.X

Timeline

Official Publish: June 16th, 2022
Last Modified: September 17th, 2024
Added to House: July 21st, 2026

CVSS Vectors

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

Weaknesses (CWE)