CVE-2022-31627Published Jul 28, 2022 · Jul 28Updated Oct 28
Heap buffer overflow in finfo_buffer
PHP Group PHP
High7.7Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| PHP Group PHP |
| No fix yet |
Original 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.
From the CVE record · php