All vulnerabilities

Servers and applications

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.

Severity
High 8.1
Published
16 Jun 2022
Last changed
17 Jun 2026
Added to UpHeron
14 Oct 2026
Fixed in
7.4.30, 8.0.20, 8.1.7
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • From 7.4.0 before 7.4.30
  • From 8.0.0 before 8.0.20
  • From 8.1.0 before 8.1.7

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2022-31625
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2022-31625