VULNERABILITY INTELLIGENCE
CVE-2022-31627
CVSS score7.7 HIGH
EPSS probability2.14%
CISA KEVNot currently listed
Published2022-07-28
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
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.
Weakness classification
- security@php.net: CWE-590
- nvd@nist.gov: CWE-787
Primary references
- security@php.net — Exploit, Issue Tracking, Patch, Third Party Advisory
- security@php.net — Third Party Advisory
- security@php.net — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Issue Tracking, Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory