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.
https://security.netapp.com/advisory/ntap-20220826-0008/
https://security.gentoo.org/glsa/202209-20
https://bugs.php.net/bug.php?id=81723
Source: Mitre, NVD
Published: 2022-07-28
Updated: 2022-10-25
Base Score: 10
Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C
Severity: Critical
Base Score: 9.8
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.00122