Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-31626

61
FAUCET Score

CVE-2022-31626 is a buffer overflow vulnerability in PHP versions 7.4.x, 8.0.x, and 8.1.x, specifically within the pdo_mysql extension when using the mysqlnd driver. This flaw allows remote code execution if a third party can supply the host and an excessively long password for a database connection. With a CVSS score of 8.8 (High), this vulnerability presents a significant risk, requiring low privileges and no user interaction for a complete compromise of confidentiality, integrity, and availability. Currently, there is no public exploit code available, nor is there evidence of active exploitation or significant community discussion surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
>= 7.4.0, < 7.4.30CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.0.0, < 8.0.20CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.1.0, < 8.1.7CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
10.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
11.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

7.5HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
1.6
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
58.38%
Probability of exploitation in next 30 days
EPSS Percentile
99.0%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.5838 is in the 99th percentile among its peer group of 17,844 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.3 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (8)

githubpatch availablevia llm_extracted
View patch
microsoftpatch availablevia msrc
Product: 19641-16823
microsoftpatch availablevia msrc
Product: cbl2 php on CBL Mariner 2.0
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: php-0:8.0.13-2.el9_0
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: php:7.4-8060020220622080643.5caa48ff
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7Fixed in: rh-php73-php-0:7.3.33-1.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: php:8.0-8060020220622070726.5caa48ff
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.4 Extended Update SupportFixed in: php:7.4-8040020220622090235.d7c09045
View patch

Vendor Advisories (3)

githubllm-github-97fc759cd1e6bb18HIGH

AS-2022-010: PHP

Aug 3, 2022
microsoft2022-Jun/CVE-2022-31626Important

mysqlnd/pdo password buffer overflow

Jun 14, 2022
redhatCVE-2022-31626Important

php: password of excessive length triggers buffer overflow leading to RCE

May 16, 2022

References

bugs.php.net / bug.php
ExploitIssue TrackingMailing ListPatchVendor Advisory
lists.debian.org / debian-lts-announce/2022/12/msg00030.html
Mailing ListThird Party Advisory
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/3T4MMEEZYYAEHPQMZDFN44PHORJWJFZQ
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/ZZTZQKRGEYJT5UB4FGG3MOE72SQUHSL4
security.gentoo.org / glsa/202209-20
Third Party Advisory
security.netapp.com / advisory/ntap-20220722-0005
Third Party Advisory
debian.org / security/2022/dsa-5179
Third Party Advisory