PT-2022-4484
CVE-2022-31625
·
Published
2022-02-27
·
Updated
2026-10-31
Description by
CVSS 2.0
10
HighMetricsAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions
PHP versions 7.4.x through 7.4.29
PHP versions 8.0.x through 8.0.19
PHP versions 8.1.x through 8.1.6
Description
The issue is related to the
pg query params() function in PHP's Postgres database extension, where supplying invalid parameters to a parametrized query may cause PHP to attempt to free memory using uninitialized data as pointers. This could lead to remote code execution or denial of service. The vulnerability can be exploited by a remote attacker, potentially allowing them to execute arbitrary code.Recommendations
For PHP versions 7.4.x through 7.4.29, update to version 7.4.30 or later.
For PHP versions 8.0.x through 8.0.19, update to version 8.0.20 or later.
For PHP versions 8.1.x through 8.1.6, update to version 8.1.7 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾