Skip to main content
← All vulnerabilities
CVE-2022-31627

Heap buffer overflow in finfo_buffer

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.1.8
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • PHP Group PHP

    From 8.1.X · fixed in 8.1.8

References 3

bugs.php.net

security.netapp.com

security.gentoo.org