Skip to main content
← All vulnerabilities
CVE-2022-31625

Freeing unallocated memory in php_pgsql_free_params()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.4.30, 8.0.20, 8.1.7
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • PHP Group PHP

    From 7.4.X · fixed in 7.4.30; From 8.0.X · fixed in 8.0.20; From 8.1.X · fixed in 8.1.7

References 7

bugs.php.net

lists.fedoraproject.org

debian.org

security.netapp.com

security.gentoo.org

lists.debian.org