BlogSafe.org

PHP CVEs

Vulnerabilities in the PHP language itself, and which PHP versions they affect.

← Back to CVE list

CVE-2022-31625

HIGH 8.1 CVSS 3.1
Published
June 16, 2022
Last modified
June 17, 2026
NVD status
Modified
Reported by
security@php.net
Weakness
CWE-590, CWE-824, CWE-763
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

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.

Affected products and versions

  • PHP — From 7.4.0 (including) to 7.4.30 (excluding)
  • PHP — From 8.0.0 (including) to 8.0.20 (excluding)
  • PHP — From 8.1.0 (including) to 8.1.7 (excluding)

References

  • bugs.php.net https://bugs.php.net/bug.php?id=81720 Exploit, Issue Tracking, Mailing List, Patch, Vendor Advisory
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html Mailing List, Third Party Advisory
  • lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3T4MMEEZYYAEHPQMZDFN44PHORJWJFZQ/
  • lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZTZQKRGEYJT5UB4FGG3MOE72SQUHSL4/
  • security.gentoo.org https://security.gentoo.org/glsa/202209-20 Third Party Advisory
  • security.netapp.com https://security.netapp.com/advisory/ntap-20220722-0005/ Third Party Advisory
  • www.debian.org https://www.debian.org/security/2022/dsa-5179 Third Party Advisory
  • nvd.nist.gov Official NVD record