8.8

CVE-2022-31626: mysqlnd/pdo password buffer overflow

Modified
AliasesRHSA-2022:5467RHSA-2022:5468RHSA-2022:5471
Published 16-06-2022Last modified 17-09-2024

Vulnerability summary

CVE-2022-31626 is a high (CVSS 8.8) vulnerability in debian debian_linux. EPSS estimates a 58.12% chance of exploitation in the next 30 days, higher than 99% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
58.12%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 17 · Related 13

Timeline

  1. 16-06-2022
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 6 sources · 2 versions

EPSS trend

Probability

58.12%

Chance of exploitation in the next 30 days

Percentile

99%

Versus all other CVEs

30-day change

No change 0.00 pp

From 58.12% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugs.php.net)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat78 products
  • apcu-panel< 0:5.1.18-1.module+el8.3.0+6678+b09f589e | < 0:5.1.20-1.module+el8.6.0+13671+84712317
  • libzip< 0:1.6.1-1.module+el8.3.0+6678+b09f589e | < 0:1.7.3-1.module+el8.6.0+13671+84712317
  • libzip-debuginfo< 0:1.6.1-1.module+el8.3.0+6678+b09f589e | < 0:1.7.3-1.module+el8.6.0+13671+84712317
  • libzip-debugsource< 0:1.6.1-1.module+el8.3.0+6678+b09f589e | < 0:1.7.3-1.module+el8.6.0+13671+84712317
  • libzip-devel< 0:1.6.1-1.module+el8.3.0+6678+b09f589e | < 0:1.7.3-1.module+el8.6.0+13671+84712317
Ubuntu5 products
  • php5All versions (No fix recorded)
  • php7.0< 7.0.33-0ubuntu0.16.04.16+esm4
  • php7.2< 7.2.24-0ubuntu0.18.04.12
  • php7.4< 7.4.3-4ubuntu2.12
  • php8.1< 8.1.2-1ubuntu2.1
Alpine3 products
  • php7< 7.4.32-r0
  • php8< 8.0.24-r0 | < 8.0.25-r0
  • php81< 8.1.7-r0 | < 8.1.6-r2
Debian2 products
Php1 product
  • php≥ 7.4.0, < 7.4.30 | ≥ 8.0.0, < 8.0.20 | ≥ 8.1.0, < 8.1.7
Php group1 product
  • php≥ 7.4.X, < 7.4.30 | ≥ 8.0.X, < 8.0.20 | ≥ 8.1.X, < 8.1.7

6 vendors · 90 products

References

25 links
Show all 25 references