CVE-2022-31625 vulnerability in Canonical and Other Products
Published on June 16, 2022
Freeing unallocated memory in php_pgsql_free_params()
Vulnerability Analysis
CVE-2022-31625 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Types
Free of Memory not on the Heap
The application calls free() on a pointer to memory that was not allocated using associated heap allocation functions such as malloc(), calloc(), or realloc(). When free() is called on an invalid pointer, the program's memory management data structures may become corrupted. This corruption can cause the program to crash or, in some circumstances, an attacker may be able to cause free() to operate on controllable memory locations to modify critical program variables or execute code.
Access of Uninitialized Pointer
The program accesses or uses a pointer that has not been initialized.
Products Associated with CVE-2022-31625
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2022-31625 are published in these products:
Affected Versions
PHP Group PHP:- Version 7.4.X and below 7.4.30 is affected.
- Version 8.0.X and below 8.0.20 is affected.
- Version 8.1.X and below 8.1.7 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.