CVE-2022-48554
file: stack-based buffer over-read in file_copystr in funcs.c
Loading…
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · January 21, 2022
Updated · November 21, 2025
Description
A flaw was found in file, a program used to identify a particular file according to the type of data contained by the file. This issue occurs when processing a specially crafted file, causing a stack-based buffer over-read, resulting in an application crash.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Do not process untrusted files with the file program.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CWE-125 · Out-of-bounds Read