ADVISORIES

Vulnerability

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.

5 advisories report this vulnerability, across 4 ecosystems.

Advisories in Ubuntu

  • UBUNTU-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…

    CVE-2022-31627 Ubuntu Updated 24 November 2026
  • USN-5530-1

    php8.1 vulnerability

    CVE-2022-31627 Ubuntu Updated 24 November 2026

References