CVE-2022-31627

Heap buffer overflow in finfo_buffer

Published Jul 28, 2022 CVSS 3.1 · 7.7 High EPSS 2.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-53079 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.
Ubuntu USN Ubuntu USN USN-5530-1 PHP vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
php
Published
Updated
Sep 16, 2024, 9:02 PM
Reserved
May 25, 2022, 12:00 AM
Status
Modified
Published
Jul 28, 2022, 6:15 AM
Modified
Jun 17, 2026, 4:45 AM
Severity
Low
Public date
Jul 8, 2022, 12:00 AM