CVE-2022-31627 HIGH

CVE-2022-31627: Heap buffer overflow in finfo_buffer

Vendor Php Group
Product PHP
Weakness CWE-590
Published July 28, 2022
Last update September 16, 2024

CVSS base score

7.7/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 28, 2022 CVE published
September 16, 2024 Record updated