cve.bz

CVE-2022-31627

9.8 criticalEPSS 2.1%

Critical (9.8) in php php. EPSS 2.1% chance of exploitation in the next 30 days.

In PHP versions 8.1.x below 8.1.8, when fileinfo functions, such as finfo_buffer, due to incorrect patch applied to the third party code from libmagic, incorrect function may be used to free allocated memory, which may lead to heap corruption.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.1% chance of exploitation in the next 30 days; higher than 82% of CVEs (scores of 2026-10-31)
CWEs
CWE-787, CWE-590
Published
Modified
Record from
the NVD, synced

Affected

References

Check your stackJSON