CVE-2022-31625

Freeing unallocated memory in php_pgsql_free_params()

Published Jun 16, 2022 CVSS 3.1 · 8.1 High EPSS 3.8% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3243-1 php7.3 security update
Debian DSA Debian DSA DSA-5179-1 php7.4 security update
EUVD EUVD EUVD-2022-53077 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.
Ubuntu USN Ubuntu USN USN-5479-1 PHP vulnerabilities
Ubuntu USN Ubuntu USN USN-5479-2 PHP vulnerabilities
Ubuntu USN Ubuntu USN USN-5479-3 PHP regression
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
php
Published
Updated
Sep 16, 2024, 6:35 PM
Reserved
May 25, 2022, 12:00 AM
Status
Modified
Published
Jun 16, 2022, 6:15 AM
Modified
Jun 17, 2026, 4:45 AM
Severity
Moderate
Public date
May 16, 2022, 12:00 AM