BIT-libphp-2022-31625

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/libphp/BIT-libphp-2022-31625.json
JSON Data
https://api.test.osv.dev/v1/vulns/BIT-libphp-2022-31625
Aliases
Published
2025-08-11T13:53:34.951Z
Modified
2025-08-11T14:44:38.539304Z
Summary
Freeing unallocated memory in php_pgsql_free_params()
Details

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.

Database specific
{
    "severity": "High",
    "cpes": [
        "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"
    ]
}
References

Affected packages

Bitnami / libphp

Package

Name
libphp
Purl
pkg:bitnami/libphp

Severity

  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
7.4.0
Fixed
7.4.30
Introduced
8.0.0
Fixed
8.0.20
Introduced
8.1.0
Fixed
8.1.7