CVE-2022-31627

critical

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.

References

https://bugs.php.net/bug.php?id=81723

https://security.netapp.com/advisory/ntap-20220826-0008/

https://security.gentoo.org/glsa/202209-20

Details

Source: MITRE

Published: 2022-07-28

Updated: 2022-10-25

Type: CWE-787