{"id":"CVE-2022-31625","published":"2022-06-16T05:45:15Z","modified":"2024-09-16T18:35:01Z","title":"Freeing unallocated memory in php_pgsql_free_params()","vendor":"PHP","product":"PHP","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02784,"percentile":0.87108,"provenance":"source"},"cwes":[{"id":"CWE-590","name":"Free of Memory not on the Heap"},{"id":"CWE-824","name":"Access of Uninitialized Pointer"}],"references":[{"url":"https://bugs.php.net/bug.php?id=81720","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZTZQKRGEYJT5UB4FGG3MOE72SQUHSL4/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3T4MMEEZYYAEHPQMZDFN44PHORJWJFZQ/","tags":["vendor-advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5179","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220722-0005/","tags":[]},{"url":"https://security.gentoo.org/glsa/202209-20","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html","tags":["mailing-list"]}],"priority":{"score":23.1,"factors":[{"name":"EPSS percentile","points":17.42},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"php","affectedVersions":[{"vendor":"PHP Group","product":"PHP","versions":[">= 7.4.X, < 7.4.30",">= 8.0.X, < 8.0.20",">= 8.1.X, < 8.1.7"]}],"euvd":{"id":"EUVD-2022-53077","exploited":false,"provenance":"source"}}