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 using Postgres database extension, supplying invalid parameters to the parametrized query may lead to PHP attempting to free memory using uninitialized data as pointers. This could lead to RCE vulnerability or denial of service.
Published 2022-06-16 06:15:09
Updated 2023-02-23 01:34:29
Source PHP Group
View at NVD,   CVE.org
Vulnerability category: Denial of service

Products affected by CVE-2022-31625

Threat overview for CVE-2022-31625

Top countries where our scanners detected CVE-2022-31625
Top open port discovered on systems with this issue 80
IPs affected by CVE-2022-31625 217,350
Threat actors abusing to this issue? Yes
Find out if you* are affected by CVE-2022-31625!
*Directly or indirectly through your vendors, service providers and 3rd parties. Powered by attack surface intelligence from SecurityScorecard.

Exploit prediction scoring system (EPSS) score for CVE-2022-31625

0.36%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 69 %
Percentile, the proportion of vulnerabilities that are scored at or less

CVSS scores for CVE-2022-31625

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
6.8
MEDIUM AV:N/AC:M/Au:N/C:P/I:P/A:P
8.6
6.4
NIST
8.1
HIGH CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
2.2
5.9
NIST
8.1
HIGH CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
2.2
5.9
PHP Group

CWE ids for CVE-2022-31625

  • The product calls free() on a pointer to memory that was not allocated using associated heap allocation functions such as malloc(), calloc(), or realloc().
    Assigned by: security@php.net (Secondary)
  • The product attempts to return a memory resource to the system, but it calls the wrong release function or calls the appropriate release function incorrectly.
    Assigned by: nvd@nist.gov (Primary)
  • The product accesses or uses a pointer that has not been initialized.
    Assigned by: security@php.net (Secondary)

References for CVE-2022-31625

Jump to
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!