CVEvulnerability
CVE-2022-31627
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2022-07-28
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.7 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-590, CWE-787
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.
Affected configurations
• php php (>= 8.1.0 < 8.1.8)
Related
References
- https://bugs.php.net/bug.php?id=81723 Exploit, Issue Tracking, Patch, Third 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 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202209-20 Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220826-0008/ Third Party Advisory