Skip to main content
HIGH

CVE-2022-31625

CVSS v3

8.1

HIGH

EPSS Score

3.8 %

exploit probability, as of 2026-09-25

CISA KEV

No

known exploited

Exploitation

—

SSVC status

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.

Technical details

Published
2022-06-16

Frequently asked questions

What is 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.

Is CVE-2022-31625 actively exploited?

Active exploitation of CVE-2022-31625 has not been confirmed. Its EPSS score was 3.8% on 2026-09-25, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-31625?

CVE-2022-31625 has a CVSS v3 base score of 8.1 (HIGH severity).

Is CVE-2022-31625 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.

No credit card required · 500 free checks/month · Free API key