CVE-2022-31625 - CVE House
Back to Database
Status published High CVE-2022-31625

Freeing unallocated memory in php_pgsql_free_params()

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-31625

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • c dot fol at ambionics dot io

Affected Vendor

Affected Software

PHP
Vulnerable Versions:
7.4.X, 8.0.X, 8.1.X

Timeline

Official Publish: June 16th, 2022
Last Modified: September 16th, 2024
Added to House: July 21st, 2026

CVSS Vectors

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

Weaknesses (CWE)