CVE-2022-31625 HIGH

CVE-2022-31625: Freeing unallocated memory in php_pgsql_free_params()

Vendor Php Group
Product PHP
Weakness CWE-590
Published June 16, 2022
Last update September 16, 2024

CVSS base score

8.1/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 16, 2022 CVE published
September 16, 2024 Record updated