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.

Subscriptions

Vendors Products
Debian Linux Subscribe
Enterprise Linux Subscribe
Rhel Eus Subscribe
Rhel Software Collections Subscribe

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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: php

Published:

Updated: 2024-09-17T03:38:54.950Z

Reserved: 2022-05-25T00:00:00.000Z

Link: CVE-2022-31626

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-06-16T06:15:08.807

Modified: 2024-11-21T07:04:53.017

Link: CVE-2022-31626

cve-icon Redhat

Severity : Important

Publid Date: 2022-05-16T00:00:00Z

Links: CVE-2022-31626 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses