CVE-2022-31625

HIGHCVSS 8.1/10EPSS 3.44%

Last modified

CVE-2022-31625 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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.. EPSS estimates a 3.44% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
8.1/10

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
3.44%

87.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PhpPhp>= 7.4.0, < 7.4.30
PhpPhp>= 8.0.0, < 8.0.20
PhpPhp>= 8.1.0, < 8.1.7
DebianDebian Linux10.0
DebianDebian Linux11.0

References

Timeline

Published
Last Modified
Status
Modified

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.
How severe is CVE-2022-31625?
CVE-2022-31625 has a CVSS score of 8.1/10 (HIGH severity). The EPSS model estimates a 3.44% probability of exploitation in the next 30 days.
How do I fix CVE-2022-31625?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2022-31625?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST