← Database

CVE-2022-31627

HIGH CVSS: 7.7 Published: 2022-07-28 Modified: 2026-06-17

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 Platforms

Php Php

Weakness Type

CWE-590, CWE-787

References