ADVISORIES

Vulnerability

CVE-2022-31626

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.

33 advisories report this vulnerability, across 11 ecosystems.

Advisories

  • ALPINE-CVE-2022-31626

    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…

    CVE-2022-31626 Alpine Updated 20 November 2026
  • ALSA-2022:5468

    ALSA-2022:5468: php:8.0 security update (Important)

    CVE-2022-31626 AlmaLinux Updated 29 October 2026
  • ALSA-2022:5904

    Important: php security update

    CVE-2022-31626 AlmaLinux Updated 29 October 2026
  • CNA-CVE-2022-31626

    mysqlnd/pdo password buffer overflow

    CVE-2022-31626 PHP Updated 17 September 2024
  • DEBIAN-CVE-2022-31626

    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…

    CVE-2022-31626 Debian Updated 24 November 2026
  • DLA-3243-1

    php7.3 - security update

    CVE-2021-21707CVE-2022-31625CVE-2022-31626CVE-2022-31628 Debian Updated 20 November 2026
  • DSA-5179-1

    php7.4 - security update

    CVE-2022-31625CVE-2022-31626 Debian Updated 20 November 2026
  • ELSA-2022-5467

    ELSA-2022-5467: php:7.4 security update (IMPORTANT)

    Important CVE-2022-31626 Oracle Linux Updated 4 July 2022
  • ELSA-2022-5468

    ELSA-2022-5468: php:8.0 security update (IMPORTANT)

    Important CVE-2022-31626 Oracle Linux Updated 4 July 2022
  • ELSA-2022-5904

    ELSA-2022-5904: php security update (IMPORTANT)

    Important CVE-2022-31626 Oracle Linux Updated 4 August 2022
  • OESA-2022-1721

    php security update

    High CVE-2022-31625CVE-2022-31626 openEuler Updated 18 August 2026
  • RHSA-2022:5467

    Red Hat Security Advisory: php:7.4 security update

    CVE-2022-31626 Red Hat Updated 13 November 2026
  • RHSA-2022:5468

    Red Hat Security Advisory: php:8.0 security update

    CVE-2022-31626 Red Hat Updated 13 November 2026
  • RHSA-2022:5471

    Red Hat Security Advisory: php:7.4 security update

    CVE-2022-31626 Red Hat Updated 13 November 2026
  • RHSA-2022:5491

    Red Hat Security Advisory: rh-php73-php security and bug fix update

    CVE-2021-21703CVE-2021-21707CVE-2022-31625CVE-2022-31626 Red Hat Updated 13 November 2026
  • RHSA-2022:5904

    Red Hat Security Advisory: php security update

    CVE-2022-31626 Red Hat Updated 13 November 2026
  • RLSA-2022:5467

    Important: php:7.4 security update

    CVE-2022-31626 Rocky Linux Updated 5 February 2026
  • RLSA-2022:5468

    Important: php:8.0 security update

    CVE-2022-31626 Rocky Linux Updated 5 February 2026
  • RLSA-2022:5904

    Important: php security update

    CVE-2022-31626 Rocky Linux Updated 5 February 2026
  • SUSE-SU-2022:2161-1

    Security update for php74

    CVE-2022-31625CVE-2022-31626 SUSE Updated 4 February 2026
  • SUSE-SU-2022:2183-1

    Security update for php72

    CVE-2022-31625CVE-2022-31626 SUSE Updated 2 May 2025
  • SUSE-SU-2022:2185-1

    Security update for php7

    CVE-2022-31625CVE-2022-31626 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:2275-1

    Security update for php7

    CVE-2022-31625CVE-2022-31626 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:2292-1

    Security update for php7

    CVE-2021-21707CVE-2022-31625CVE-2022-31626 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:2303-1

    Security update for php8

    CVE-2021-21707CVE-2022-31625CVE-2022-31626 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:3997-1

    Security update for php7

    CVE-2021-21707CVE-2021-21708CVE-2022-31625CVE-2022-31626 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:4067-1

    Security update for php7

    Known exploited CVE-2015-9253CVE-2017-8923CVE-2017-9120CVE-2018-1000222 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:4068-1

    Security update for php74

    CVE-2017-8923CVE-2020-7068CVE-2020-7069CVE-2020-7070 SUSE Updated 4 February 2026
  • SUSE-SU-2022:4069-1

    Security update for php7

    CVE-2017-8923CVE-2020-7068CVE-2020-7069CVE-2020-7070 SUSEopenSUSE Updated 4 February 2026
  • UBUNTU-CVE-2022-31626

    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…

    CVE-2022-31626 Ubuntu Updated 21 October 2026
  • USN-5479-1

    php7.2, php7.4, php8.0, php8.1 vulnerabilities

    CVE-2022-31625CVE-2022-31626 Ubuntu Updated 27 April 2026
  • USN-5479-2

    php7.0 vulnerabilities

    CVE-2022-31625CVE-2022-31626 Ubuntu Updated 25 June 2026
  • openSUSE-SU-2024:13267-1

    php8-8.2.10-3.1 on GA media

    CVE-2022-31625CVE-2022-31626CVE-2023-3247 openSUSE Updated 4 February 2026

References