vulnerability

PHP Vulnerability: CVE-2022-31627

Severity
9
CVSS
(AV:N/AC:M/Au:N/C:C/I:C/A:P)
Published
Jul 28, 2022
Added
Aug 26, 2022
Modified
Mar 30, 2026

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.

Solution

php-upgrade-8_1_8
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.