ADVISORIES

Vulnerability

CVE-2022-31625

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.

35 advisories report this vulnerability, across 12 ecosystems.

Advisories in Red Hat

  • RHSA-2022:5491

    Red Hat Security Advisory: rh-php73-php security and bug fix update

    CVE-2021-21703CVE-2021-21707CVE-2022-31625CVE-2022-31626 Red Hat Updated 27 November 2026
  • RHSA-2022:6158

    Red Hat Security Advisory: php:7.4 security update

    CVE-2022-31625 Red Hat Updated 13 November 2026
  • RHSA-2022:7624

    Red Hat Security Advisory: php:8.0 security, bug fix, and enhancement update

    CVE-2021-21708CVE-2022-31625 Red Hat Updated 27 November 2026
  • RHSA-2022:8197

    Red Hat Security Advisory: php security, bug fix, and enhancement update

    CVE-2021-21708CVE-2022-31625 Red Hat Updated 27 November 2026

References