Rapid7

vulnerability

Ubuntu: (Multiple Advisories) (CVE-2022-31626): PHP vulnerabilities

Severity
6
CVSS
(AV:N/AC:M/Au:S/C:P/I:P/A:P)
Published
Jun 16, 2022
Added
Mar 22, 2023
Modified
Apr 16, 2026

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.

Solutions

ubuntu-pro-upgrade-libapache2-mod-php7-0ubuntu-pro-upgrade-php7-0-cgiubuntu-pro-upgrade-php7-0-cliubuntu-pro-upgrade-php7-0-fpmubuntu-pro-upgrade-php7-0-mysqlubuntu-pro-upgrade-php7-0-pgsqlubuntu-upgrade-libapache2-mod-php7-2ubuntu-upgrade-libapache2-mod-php7-4ubuntu-upgrade-libapache2-mod-php8-0ubuntu-upgrade-libapache2-mod-php8-1ubuntu-upgrade-php7-2-cgiubuntu-upgrade-php7-2-cliubuntu-upgrade-php7-2-fpmubuntu-upgrade-php7-2-mysqlubuntu-upgrade-php7-2-pgsqlubuntu-upgrade-php7-4-cgiubuntu-upgrade-php7-4-cliubuntu-upgrade-php7-4-fpmubuntu-upgrade-php7-4-mysqlubuntu-upgrade-php7-4-pgsqlubuntu-upgrade-php8-0-cgiubuntu-upgrade-php8-0-cliubuntu-upgrade-php8-0-fpmubuntu-upgrade-php8-0-mysqlubuntu-upgrade-php8-0-pgsqlubuntu-upgrade-php8-1-cgiubuntu-upgrade-php8-1-cliubuntu-upgrade-php8-1-fpmubuntu-upgrade-php8-1-mysqlubuntu-upgrade-php8-1-pgsql
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.