🛡️ CVE-2022-31626
🟠 CVSS 8.0 — High ⚠️ Exploit Public CWE-120 NVD
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE CWE-120
Public Exploit ⚠️ Yes
Source NVD
Published 2022-06-16
Updated 2026-06-15
Modified 2024-11-21

Affected Packages

Software From version Fixed in
debian-linux
libphp
php
php-min

References

Exploit, Issue Tracking, Mailing List, Patch, Vendor Advisory https://bugs.php.net/bug.php?id=81719
Exploit, Issue Tracking, Mailing List, Patch, Vendor Advisory https://bugs.php.net/bug.php?id=81719

Similar Threats

Vulnerability Monitoring

Stay informed about vulnerabilities in your stack

BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.