CVE-2022-31626
mysqlnd/pdo password buffer overflow
- State
- Published
- Severity
- 7.5 High
- Published
- Jun 16, 2022
- Updated
- Sep 17, 2024
- Reserved
- May 25, 2022
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | php |
Weaknesses
- CWE-120 Buffer Overflow
Affected Products
| Product | Versions |
|---|---|
PHPPHP Group |
|
References
- https://bugs.php.net/bug.php?id=81719
- FEDORA-2022-0a96e5b9b1vendor-advisory
- FEDORA-2022-f3fc52428evendor-advisory
- DSA-5179vendor-advisory
- https://security.netapp.com/advisory/ntap-20220722-0005/
- GLSA-202209-20vendor-advisory
- [debian-lts-announce] 20221215 [SECURITY] [DLA 3243-1] php7.3 security updatemailing-list
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.