Vulnerability record · CVE-2022-31627 · published 28 July 2022
CVE-2022-31627: Php out-of-bounds write vulnerability
Php · Php
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.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://bugs.php.net/bug.php?id=81723 | ExploitIssue TrackingPatchThird Party Advisory |
| https://security.gentoo.org/glsa/202209-20 | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20220826-0008/ | Third Party Advisory |
| https://bugs.php.net/bug.php?id=81723 | ExploitIssue TrackingPatchThird Party Advisory |
| https://security.gentoo.org/glsa/202209-20 | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20220826-0008/ | Third Party Advisory |
Track CVE-2022-31627 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-31627), CISA KEV, FIRST EPSS (scores of 2026-09-29). This page is refreshed as NVD updates the record.