CVE-2022-31626

mysqlnd/pdo password buffer overflow

Published Jun 16, 2022 CVSS 3.1 · 7.5 High EPSS 58.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3243-1 php7.3 security update
Debian DSA Debian DSA DSA-5179-1 php7.4 security update
EUVD EUVD EUVD-2022-53078 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.
Ubuntu USN Ubuntu USN USN-5479-1 PHP vulnerabilities
Ubuntu USN Ubuntu USN USN-5479-2 PHP vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
php
Published
Updated
Sep 17, 2024, 3:38 AM
Reserved
May 25, 2022, 12:00 AM
Status
Modified
Published
Jun 16, 2022, 6:15 AM
Modified
Jun 17, 2026, 4:45 AM
Severity
Important
Public date
May 16, 2022, 12:00 AM