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 Ubuntu

  • UBUNTU-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…

    CVE-2022-31625 Ubuntu Updated 24 November 2026
  • USN-5479-1

    php7.2, php7.4, php8.0, php8.1 vulnerabilities

    CVE-2022-31625CVE-2022-31626 Ubuntu Updated 24 November 2026
  • USN-5479-2

    php7.0 vulnerabilities

    CVE-2022-31625CVE-2022-31626 Ubuntu Updated 24 November 2026
  • USN-5479-3

    php7.2 regression

    CVE-2022-31625 Ubuntu Updated 24 November 2026

References