Skip to content
CVE PROGRAM SOURCE RECORD7.7 High

CVE-2022-31627

Heap buffer overflow in finfo_buffer

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

PHP Group PHP

  • 8.1.X to < 8.1.8affected

References