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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | >= 8.1.X, < 8.1.8 |
References
- https://bugs.php.net/bug.php?id=81723Exploit, Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202209-20Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220826-0008/Third Party Advisory
- https://bugs.php.net/bug.php?id=81723Exploit, Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202209-20Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220826-0008/Third Party Advisory
Timeline
- Published
- Jul 28, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified