synced 10 MIN AGO
01 Record

CVE-2022-31626

mysqlnd/pdo password buffer overflow

HighPUBLISHEDCNA: php
CNA base score7.5 CVSS v3.xCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

02 Description

mysqlnd/pdo password buffer overflow

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
58.12% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 99.0% of scored records. A rank, not a probability.
NVD base score
8.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Important. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2022-06-16 05:45Z4 YR AGO
Last updated
2024-09-17 03:38Z2 YR AGO
Reserved
2022-05-25
Assigning CNA
php
Record state
PUBLISHED
Severity
High (CVSS 7.5)
CNA CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
  • CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')Base
Data version
5.1
Document digest
ca8586f126e8e8b767503950fc0a2dac68ba0648af1cd4f005531b86ed4674a7

05 Affected products

VendorProductVersionsPlatforms
PHP GroupPHP7.4.X to < 7.4.30, 8.0.X to < 8.0.20, 8.1.X to < 8.1.7—

06 References

07 Fixed in

AlmaLinux 8

  • apcu-panel
    Fixed in 5.1.20-1.module_el8.6.0+2739+efabdb8f
  • libzip
    Fixed in 1.7.3-1.module_el8.6.0+2739+efabdb8f
  • libzip-devel
    Fixed in 1.7.3-1.module_el8.6.0+2739+efabdb8f
  • libzip-tools
    Fixed in 1.7.3-1.module_el8.6.0+2739+efabdb8f
  • php-pear
    Fixed in 1:1.10.13-1.module_el8.6.0+3268+b150a051
  • php-pecl-apcu
    Fixed in 5.1.20-1.module_el8.6.0+2739+efabdb8f
  • php-pecl-apcu-devel
    Fixed in 5.1.20-1.module_el8.6.0+2739+efabdb8f
  • php-pecl-rrd
    Fixed in 2.0.3-1.module_el8.6.0+2739+efabdb8f
  • php-pecl-xdebug3
    Fixed in 3.1.2-1.module_el8.6.0+2739+efabdb8f
  • php-pecl-zip
    Fixed in 1.19.2-1.module_el8.6.0+2739+efabdb8f

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • php
    Fixed in 8.0.13-2.el9_0
  • php-bcmath
    Fixed in 8.0.13-2.el9_0
  • php-cli
    Fixed in 8.0.13-2.el9_0
  • php-common
    Fixed in 8.0.13-2.el9_0
  • php-dba
    Fixed in 8.0.13-2.el9_0
  • php-dbg
    Fixed in 8.0.13-2.el9_0
  • php-devel
    Fixed in 8.0.13-2.el9_0
  • php-embedded
    Fixed in 8.0.13-2.el9_0
  • php-enchant
    Fixed in 8.0.13-2.el9_0
  • php-ffi
    Fixed in 8.0.13-2.el9_0
  • php-fpm
    Fixed in 8.0.13-2.el9_0
  • php-gd
    Fixed in 8.0.13-2.el9_0
  • php-gmp
    Fixed in 8.0.13-2.el9_0
  • php-intl
    Fixed in 8.0.13-2.el9_0
  • php-ldap
    Fixed in 8.0.13-2.el9_0
  • php-mbstring
    Fixed in 8.0.13-2.el9_0
  • php-mysqlnd
    Fixed in 8.0.13-2.el9_0
  • php-odbc
    Fixed in 8.0.13-2.el9_0
  • php-opcache
    Fixed in 8.0.13-2.el9_0
  • php-pdo
    Fixed in 8.0.13-2.el9_0
  • php-pgsql
    Fixed in 8.0.13-2.el9_0
  • php-process
    Fixed in 8.0.13-2.el9_0
  • php-snmp
    Fixed in 8.0.13-2.el9_0
  • php-soap
    Fixed in 8.0.13-2.el9_0
  • php-xml
    Fixed in 8.0.13-2.el9_0

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Arch Linux

  • php
    Fixed in 8.1.7-1

Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.

CloudLinux 8

  • apcu-panel
    Fixed in 5.1.20-1.module_el8.6.0+2739+efabdb8f
  • libzip
    Fixed in 1.7.3-1.module_el8.6.0+2739+efabdb8f
  • libzip-devel
    Fixed in 1.7.3-1.module_el8.6.0+2739+efabdb8f
  • libzip-tools
    Fixed in 1.7.3-1.module_el8.6.0+2739+efabdb8f
  • php-pear
    Fixed in 1:1.10.13-1.module_el8.6.0+3268+b150a051
  • php-pecl-apcu
    Fixed in 5.1.20-1.module_el8.6.0+2739+efabdb8f
  • php-pecl-apcu-devel
    Fixed in 5.1.20-1.module_el8.6.0+2739+efabdb8f
  • php-pecl-rrd
    Fixed in 2.0.3-1.module_el8.6.0+2739+efabdb8f
  • php-pecl-xdebug3
    Fixed in 3.1.2-1.module_el8.6.0+2739+efabdb8f
  • php-pecl-zip
    Fixed in 1.19.2-1.module_el8.6.0+2739+efabdb8f

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • php
    Fixed in 8.0.13-2.el9_0
  • php-bcmath
    Fixed in 8.0.13-2.el9_0
  • php-cli
    Fixed in 8.0.13-2.el9_0
  • php-common
    Fixed in 8.0.13-2.el9_0
  • php-dba
    Fixed in 8.0.13-2.el9_0
  • php-dbg
    Fixed in 8.0.13-2.el9_0
  • php-devel
    Fixed in 8.0.13-2.el9_0
  • php-embedded
    Fixed in 8.0.13-2.el9_0
  • php-enchant
    Fixed in 8.0.13-2.el9_0
  • php-ffi
    Fixed in 8.0.13-2.el9_0
  • php-fpm
    Fixed in 8.0.13-2.el9_0
  • php-gd
    Fixed in 8.0.13-2.el9_0
  • php-gmp
    Fixed in 8.0.13-2.el9_0
  • php-intl
    Fixed in 8.0.13-2.el9_0
  • php-ldap
    Fixed in 8.0.13-2.el9_0
  • php-mbstring
    Fixed in 8.0.13-2.el9_0
  • php-mysqlnd
    Fixed in 8.0.13-2.el9_0
  • php-odbc
    Fixed in 8.0.13-2.el9_0
  • php-opcache
    Fixed in 8.0.13-2.el9_0
  • php-pdo
    Fixed in 8.0.13-2.el9_0
  • php-pgsql
    Fixed in 8.0.13-2.el9_0
  • php-process
    Fixed in 8.0.13-2.el9_0
  • php-snmp
    Fixed in 8.0.13-2.el9_0
  • php-soap
    Fixed in 8.0.13-2.el9_0
  • php-xml
    Fixed in 8.0.13-2.el9_0

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 11

  • php7.4
    Fixed in 7.4.30-1+deb11u1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • php7.2
    Fixed in 7.2.24-0ubuntu0.18.04.12

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • php7.4
    Fixed in 7.4.3-4ubuntu2.12

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • php8.1
    Fixed in 8.1.2-1ubuntu2.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • php5
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • php7.0
    Fixed in 7.0.33-0ubuntu0.16.04.16+esm4
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.