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 in Red Hat

  • 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 27 November 2026
  • RHSA-2022:5904

    Red Hat Security Advisory: php security update

    CVE-2022-31626 Red Hat Updated 13 November 2026

References