CVE-2022-31627
Heap buffer overflow in finfo_buffer
- State
- Published
- Severity
- 7.7 High
- Published
- Jul 28, 2022
- Updated
- Sep 16, 2024
- Reserved
- May 25, 2022
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.7 High | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L | php |
Weaknesses
- CWE-590 Free of Memory not on the Heap
Affected Products
| Product | Versions |
|---|---|
PHPPHP Group |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.