CVE-2022-31627 - CVE House
Back to Database
Status published High CVE-2022-31627

Heap buffer overflow in finfo_buffer

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-31627

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • reported by xd4rker at gmail dot com

Affected Vendor

Affected Software

PHP
Vulnerable Versions:
8.1.X

Timeline

Official Publish: July 28th, 2022
Last Modified: September 16th, 2024
Added to House: July 21st, 2026

CVSS Vectors

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

Weaknesses (CWE)

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.