Vulnerability Database

317,182

Total vulnerabilities in the database

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 the third party code from libmagic, incorrect function may be used to free allocated memory, which may lead to heap corruption.

  • Published: Jul 28, 2022
  • Updated: Nov 16, 2025
  • CVE: CVE-2022-31627
  • Severity: High
  • Exploit:

CVSS v3:

  • Severity: High
  • Score: 7.7
  • AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L