← Back to browse · API

CVE-2022-31626

Severity
HIGH
CVSS
7.5
EPSS
0.5838
Risk score
50.43
CISA KEV
No
PoC
Yes
Published
2022-06-16
Modified
2024-09-17
First seen
2026-08-07
Aliases
EUVD-2022-53078, GHSA-JFC6-9GW3-FHFG
Products
PHP Group:PHP 7.4.X <7.4.30, PHP Group:PHP 8.0.X <8.0.20, PHP Group:PHP 8.1.X <8.1.7
Sources
github d944ef99e750bb00e41055e6|CVE-2022-31626
euvd EUVD-2022-53078

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.

References