A AegiFlow
HIGHCVSS 7.7

CVE-2022-31627

CVE-2022-31627 updated by NVD

Modified
2026-09-20
Sources
nvd

Summary

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 packages

EcosystemPackageAffected versionsFixed versions
PHPphp[object Object]

References

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.