CVE-2022-31627: PHP
Critical severity, CVSS 9.8. 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.
Affected products
- PHP PHP: from 8.1.0, before 8.1.8 (fixed in 8.1.8)
Published 2022-07-28. Last modified 2026-06-17.