CVE Database›Document archive›CVE-2022-31627

CVE-2022-31627

php: heap buffer overflow in finfo_buffer

Loading…

Severity

Low

Red Hat Product Security

7.5

CVSS 3.1

Review impact separately from score.

Published · July 8, 2022

Updated · November 22, 2025

Description

A vulnerability was found in php. This issue occurs due to memory corruption in the finfo_buffer() function and a bad patch of the libmagic library. This flaw allows an attacker or malicious actor to execute a heap buffer overflow successfully, causing a memory crash.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

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

CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer