{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-31627","published":"2022-07-28T06:15:07.547000Z","last_modified":"2026-06-17T04:45:50.163000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-590","CWE-787"],"cpes":[{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"8.1.0","version_end_excluding":"8.1.8"}],"cpes_truncated":false,"vendors":["php"],"products":["php/php"],"epss":{"score":0.02254,"percentile":0.83656,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"web","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2022-31627/","html_en":"/en/cve/CVE-2022-31627/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31627","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-31627"},"untrusted":{"vendor_name":"Php","product_name":"Php","desc_en":"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":[{"untrusted_vendor":"PHP Group","untrusted_product":"PHP","versions":[]}],"references":[{"url":"https://bugs.php.net/bug.php?id=81723","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202209-20","tags":["Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220826-0008/","tags":["Third Party Advisory"]}]}}