CVE-2022-31627
CRITICAL
9.8
CVSS 3.1
Description
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 and versions
- PHP — From 8.1.0 (including) to 8.1.8 (excluding)
References
- bugs.php.net https://bugs.php.net/bug.php?id=81723 Exploit, Issue Tracking, Patch, Third Party Advisory
- security.gentoo.org https://security.gentoo.org/glsa/202209-20 Third Party Advisory
- security.netapp.com https://security.netapp.com/advisory/ntap-20220826-0008/ Third Party Advisory
- nvd.nist.gov Official NVD record