Skip to content
7.7 High

CVE-2022-31627 In PHP versions 8.1.x below 8.1.8, when fileinfo functions, such as finfo_buffer, due to incorrect patch applied to…

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 and versions

Product Affected versions Fixed in
PHP 8.1 8.1.X → < 8.1.8 8.1.8

References

Timeline

  1. Published
  2. Last modified
The 103 CVEs of PHP →
Track this CVE