PT-2022-3056

CVE-2022-31626

·

Published

2019-01-17

·

Updated

2026-10-31

Description by

CVSS 2.0
10
High
MetricsAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions PHP versions 7.4.x through 7.4.29 PHP versions 8.0.x through 8.0.19 PHP versions 8.1.x through 8.1.6
Description The issue is related to a buffer overflow vulnerability in the mysqlnd/pdo function of the PHP interpreter, specifically in the mysqlnd wireprotocol.c file. This vulnerability can be exploited by a remote attacker to execute arbitrary code. The vulnerability occurs when a third-party supplier is allowed to provide the host to connect to and the password for the connection, and an excessively long password can trigger the buffer overflow.
Recommendations For PHP versions 7.4.x through 7.4.29, update to version 7.4.30 or later. For PHP versions 8.0.x through 8.0.19, update to version 8.0.20 or later. For PHP versions 8.1.x through 8.1.6, update to version 8.1.7 or later.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
ALSA-2022:5468
ALSA-2022_5468
ALSA-2022:5904
ALSA-2022_5904
ALSA-2025_16880
ALT-PU-2022-2064
ALT-PU-2022-2065
ALT-PU-2022-2075
ALT-PU-2022-2098
ALT-PU-2022-2100
ALT-PU-2022-2112
ALT-PU-2022-2117
ALT-PU-2022-2119
BIT-LIBPHP-2022-31626
BIT-PHP-2022-31626
BIT-PHP-MIN-2022-31626
CESA-2022_5467
CESA-2022_5468
CLEANSTART-2024-EC92761
CLSA-2022-1656958574
CLSA-2022-1656958778
CLSA-2022-1657182029
CLSA-2024-1706700142
CLSA-2024-1733429914
CLSA-2025-1748639500
CLSA-2026-1776942343
DLA-3243-1
DSA-5179-1
ECHO-615F-247F-A22B
ELSA-2022-5467
ELSA-2022-5468
ELSA-2022-5904
MGASA-2022-0234
OESA-2022-1721
OPENSUSE-SU-2022_2185-1
OPENSUSE-SU-2022_2275-1
OPENSUSE-SU-2022_2292-1
OPENSUSE-SU-2022_2303-1
OPENSUSE-SU-2022_3997-1
OPENSUSE-SU-2022_4067-1
OPENSUSE-SU-2022_4069-1
OPENSUSE-SU-2024:13267-1
RHSA-2022:5467
RHSA-2022_5467
RHSA-2022:5468
RHSA-2022_5468
RHSA-2022:5471
RHSA-2022:5491
RHSA-2022:5904
RHSA-2022_5904
RLSA-2022:5467
RLSA-2022_5467
RLSA-2022:5468
RLSA-2022_5468
RLSA-2022:5904
RLSA-2022_5904
SUSE-SU-2022:2161-1
SUSE-SU-2022_2161-1
SUSE-SU-2022:2183-1
SUSE-SU-2022_2183-1
SUSE-SU-2022:2185-1
SUSE-SU-2022_2185-1
SUSE-SU-2022:2275-1
SUSE-SU-2022_2275-1
SUSE-SU-2022:2292-1
SUSE-SU-2022_2292-1
SUSE-SU-2022:2303-1
SUSE-SU-2022_2303-1
SUSE-SU-2022:3997-1
SUSE-SU-2022_3997-1
SUSE-SU-2022:4067-1
SUSE-SU-2022:4068-1
SUSE-SU-2022_4068-1
SUSE-SU-2022:4069-1
SUSE-SU-2022_4069-1
USN-5479-1
USN-5479-2
Found an issue in the description? Have something to add? Feel free to write us 👾