Search for vulnerabilities
Vulnerability details: VCID-5ay1-t2s8-aaam
Vulnerability ID VCID-5ay1-t2s8-aaam
Aliases CVE-2022-31626
Summary 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.
Status Published
Exploitability 0.5
Weighted Severity 8.0
Risk 4.0
Affected and Fixed Packages Package Details
Weaknesses (1)
System Score Found at
rhas Important https://access.redhat.com/errata/RHSA-2022:5467
rhas Important https://access.redhat.com/errata/RHSA-2022:5468
rhas Important https://access.redhat.com/errata/RHSA-2022:5471
rhas Important https://access.redhat.com/errata/RHSA-2022:5491
rhas Important https://access.redhat.com/errata/RHSA-2022:5904
cvssv3 8.8 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-31626.json
epss 0.00699 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.00699 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.00699 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.00699 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.01121 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.01121 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.01121 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.01121 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.01121 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.01121 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.01121 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.01121 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.01121 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.01121 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.01121 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14525 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14525 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14525 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14525 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.14826 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.15162 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.15162 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.15162 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.15162 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.15162 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.15162 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.18115 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.18115 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.18115 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.18115 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.18115 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.18115 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.21152 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.2156 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.2156 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.2156 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.2156 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.2156 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.2156 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.2156 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.21691 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.21691 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.21691 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.21691 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.21691 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.21691 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.21691 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.22134 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.22134 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
epss 0.5032 https://api.first.org/data/v1/epss?cve=CVE-2022-31626
rhbs high https://bugzilla.redhat.com/show_bug.cgi?id=2098523
cvssv3.1 7.5 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv2 6.0 https://nvd.nist.gov/vuln/detail/CVE-2022-31626
cvssv3 8.8 https://nvd.nist.gov/vuln/detail/CVE-2022-31626
cvssv3.1 8.8 https://nvd.nist.gov/vuln/detail/CVE-2022-31626
archlinux Unknown https://security.archlinux.org/AVG-2768
Reference id Reference type URL
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-31626.json
https://api.first.org/data/v1/epss?cve=CVE-2022-31626
https://bugs.php.net/bug.php?id=81719
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31625
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31626
https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3T4MMEEZYYAEHPQMZDFN44PHORJWJFZQ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZTZQKRGEYJT5UB4FGG3MOE72SQUHSL4/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3T4MMEEZYYAEHPQMZDFN44PHORJWJFZQ/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZZTZQKRGEYJT5UB4FGG3MOE72SQUHSL4/
https://security.gentoo.org/glsa/202209-20
https://security.netapp.com/advisory/ntap-20220722-0005/
https://www.debian.org/security/2022/dsa-5179
1014533 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014533
2098523 https://bugzilla.redhat.com/show_bug.cgi?id=2098523
AVG-2768 https://security.archlinux.org/AVG-2768
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
CVE-2022-31626 https://nvd.nist.gov/vuln/detail/CVE-2022-31626
RHSA-2022:5467 https://access.redhat.com/errata/RHSA-2022:5467
RHSA-2022:5468 https://access.redhat.com/errata/RHSA-2022:5468
RHSA-2022:5471 https://access.redhat.com/errata/RHSA-2022:5471
RHSA-2022:5491 https://access.redhat.com/errata/RHSA-2022:5491
RHSA-2022:5904 https://access.redhat.com/errata/RHSA-2022:5904
USN-5479-1 https://usn.ubuntu.com/5479-1/
USN-5479-2 https://usn.ubuntu.com/5479-2/
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-31626.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:N/AC:M/Au:S/C:P/I:P/A:P Found at https://nvd.nist.gov/vuln/detail/CVE-2022-31626
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2022-31626
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2022-31626
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.80079
EPSS Score 0.00699
Published At Dec. 17, 2024, midnight
Date Actor Action Source VulnerableCode Version
There are no relevant records.