CVE-2022-48554
File before 5.43 has an stack-based buffer over-read in file_copystr in funcs.c. NOTE: "File" is...
File before 5.43 has an stack-based buffer over-read in file_copystr in funcs.c. NOTE: "File" is the name of an Open Source project.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
File before 5.43 has an stack-based buffer over-read in file_copystr in funcs.c. NOTE: "File" is the name of an Open Source project.
- Record
CVE-2022-48554- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
File before 5.43 has an stack-based buffer over-read in file_copystr in funcs.c. NOTE: "File" is the name of an Open Source project.
- Record
CVE-2022-48554- Updated
- 2026-11-02
EUVDEUVD-2022-51250 No score
File before 5.43 has an stack-based buffer over-read in file_copystr in funcs.c. NOTE: "File" is the name of an Open Source project.
- Record
EUVD-2022-51250- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-wpfg-7xq2-mv49
5.5
File before 5.43 has an stack-based buffer over-read in file_copystr in funcs.c. NOTE: "File" is...
File before 5.43 has an stack-based buffer over-read in file_copystr in funcs.c. NOTE: "File" is the name of an Open Source project.
- Record
GHSA-wpfg-7xq2-mv49- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVAZL-28055
5.5
CVE-2022-48554 affecting package file for versions less than 5.40-3
File before 5.43 has an stack-based buffer over-read in file_copystr in funcs.c. NOTE: "File" is the name of an Open Source project.
- Record
AZL-28055- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2023-1574
5.5
file security update
The program checks to see if the file is empty,or if its some sort of special file.
Security Fix(es):
File before 5.43 has an stack-based buffer over-read in file_copystr in funcs.c. NOTE: "File" is the name of an Open Source project.(CVE-2022-48554)
- Record
OESA-2023-1574- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 9 moreShow less
OSVRHSA-2024:2512
5.5
Red Hat Security Advisory: file security update
- Record
RHSA-2024:2512- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRLSA-2024:2512
5.5
Low: file security update
The file command is used to identify a particular file according to the type of data the file contains. It can identify many different file types, including Executable and Linkable Format (ELF) binary files, system libraries, RPM packages, and different graphics formats.
Security Fix(es):
- file: stack-based buffer over-read in file_copystr in funcs.c (CVE-2022-48554)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Rocky Linux 9.4 Release Notes linked from the References section.
- Record
RLSA-2024:2512- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-48554
5.5
File before 5.43 has an stack-based buffer over-read in file_copystr in funcs.c. NOTE: "File" is the name of an Open Source project.
- Record
UBUNTU-CVE-2022-48554- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVALSA-2024:2512 No score
Low: file security update
The file command is used to identify a particular file according to the type of data the file contains. It can identify many different file types, including Executable and Linkable Format (ELF) binary files, system libraries, RPM packages, and different graphics formats.
Security Fix(es):
- file: stack-based buffer over-read in file_copystr in funcs.c (CVE-2022-48554)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
- Record
ALSA-2024:2512- Updated
- 2026-11-02
OSVCLSA-2024-1717691179 No score
file: Fix of CVE-2022-48554
- CVE-2022-48554: fix stack-based buffer over-read in file_copystr in funcs.c
- Record
CLSA-2024-1717691179- Updated
- 2026-11-02
OSV No score
File before 5.43 has an stack-based buffer over-read in file_copystr in funcs.c. NOTE: "File" is the name of an Open Source project.
- Record
CVE-2022-48554- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-48554 No score
File before 5.43 has an stack-based buffer over-read in file_copystr in funcs.c. NOTE: "File" is the name of an Open Source project.
- Record
DEBIAN-CVE-2022-48554- Updated
- 2026-11-03
OSVMGASA-2023-0268 No score
Updated file packages fix security vulnerability
File before 5.43 has a stack-based buffer over-read in file_copystr in funcs.c. (CVE-2022-48554)
- Record
MGASA-2023-0268- Updated
- 2026-11-02
OSVUSN-6359-1 No score
file vulnerability
It was discovered that file incorrectly handled certain malformed files. An attacker could use this issue to cause a denial of service, or possibly execute arbitrary code.
- Record
USN-6359-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
fileAlmaLinux:9 |
before 5.39-16.el9 | 5.39-16.el9 |
file-develAlmaLinux:9 |
before 5.39-16.el9 | 5.39-16.el9 |
file-libsAlmaLinux:9 |
before 5.39-16.el9 | 5.39-16.el9 |
python3-file-magicAlmaLinux:9 |
before 5.39-16.el9 | 5.39-16.el9 |
fileAzure Linux:2 |
before 5.40-3 | 5.40-3 |
fileTuxCare:AlmaLinux:9.2 |
before 5.39-12.1.el9_2.tuxcare.els1 | 5.39-12.1.el9_2.tuxcare.els1 |
file-develTuxCare:AlmaLinux:9.2 |
before 5.39-12.1.el9_2.tuxcare.els1 | 5.39-12.1.el9_2.tuxcare.els1 |
file-libsTuxCare:AlmaLinux:9.2 |
before 5.39-12.1.el9_2.tuxcare.els1 | 5.39-12.1.el9_2.tuxcare.els1 |
file-staticTuxCare:AlmaLinux:9.2 |
before 5.39-12.1.el9_2.tuxcare.els1 | 5.39-12.1.el9_2.tuxcare.els1 |
python3-file-magicTuxCare:AlmaLinux:9.2 |
before 5.39-12.1.el9_2.tuxcare.els1 | 5.39-12.1.el9_2.tuxcare.els1 |
Show 22 moreShow less
| Package | Affected | Fixed |
|---|---|---|
fileDebian:12 |
before 1:5.44-1 | 1:5.44-1 |
fileDebian:13 |
before 1:5.44-1 | 1:5.44-1 |
fileDebian:14 |
before 1:5.44-1 | 1:5.44-1 |
fileDebian:11 |
before 1:5.39-3+deb11u1, plus listed versions 1:5.39-3 |
1:5.39-3+deb11u1 |
fileMageia:8 |
before 5.39-4.1.mga8 | 5.39-4.1.mga8 |
fileopenEuler:20.03-LTS-SP1 |
before 5.39-7.oe1 | 5.39-7.oe1 |
fileopenEuler:20.03-LTS-SP3 |
before 5.39-7.oe1 | 5.39-7.oe1 |
fileopenEuler:22.03-LTS |
before 5.41-3.oe2203sp2 | 5.41-3.oe2203sp2 |
fileopenEuler:22.03-LTS-SP1 |
before 5.41-3.oe2203sp1 | 5.41-3.oe2203sp1 |
fileopenEuler:22.03-LTS-SP2 |
before 5.41-3.oe2203sp2 | 5.41-3.oe2203sp2 |
python3-file-magicRed Hat:enterprise_linux:9::appstream |
before 0:5.39-16.el9 | 0:5.39-16.el9 |
fileRed Hat:enterprise_linux:9::baseos |
before 0:5.39-16.el9 | 0:5.39-16.el9 |
file-debuginfoRed Hat:enterprise_linux:9::baseos |
before 0:5.39-16.el9 | 0:5.39-16.el9 |
file-debugsourceRed Hat:enterprise_linux:9::baseos |
before 0:5.39-16.el9 | 0:5.39-16.el9 |
file-libsRed Hat:enterprise_linux:9::baseos |
before 0:5.39-16.el9 | 0:5.39-16.el9 |
file-libs-debuginfoRed Hat:enterprise_linux:9::baseos |
before 0:5.39-16.el9 | 0:5.39-16.el9 |
file-debuginfoRed Hat:enterprise_linux:9::crb |
before 0:5.39-16.el9 | 0:5.39-16.el9 |
file-debugsourceRed Hat:enterprise_linux:9::crb |
before 0:5.39-16.el9 | 0:5.39-16.el9 |
file-develRed Hat:enterprise_linux:9::crb |
before 0:5.39-16.el9 | 0:5.39-16.el9 |
file-libs-debuginfoRed Hat:enterprise_linux:9::crb |
before 0:5.39-16.el9 | 0:5.39-16.el9 |
fileRocky Linux:9 |
before 0:5.39-16.el9 | 0:5.39-16.el9 |
fileUbuntu:22.04:LTS |
before 1:5.41-3ubuntu0.1, plus listed versions 1:5.39-31:5.39-3build11:5.41-21:5.41-3 |
1:5.41-3ubuntu0.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-48554 is a medium vulnerability (CVSS 5.5) in File Project File, published August 22, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.68%, the 52nd percentile. Fixed in file 5.39-16.el9.
References
bugs.astron.com/view.php?id=310
debian.org/security/2023/dsa-5489
security.netapp.com/advisory/ntap-20231116-0002
support.apple.com/kb/HT214081
support.apple.com/kb/HT214088
support.apple.com/kb/HT214084
Show 25 moreShow less
support.apple.com/kb/HT214086
seclists.org/fulldisclosure/2024/Mar/21
seclists.org/fulldisclosure/2024/Mar/25
seclists.org/fulldisclosure/2024/Mar/24
nvd.nist.gov/vuln/detail/CVE-2022-48554
github.com/advisories/GHSA-wpfg-7xq2-mv49
access.redhat.com/errata/RHSA-2024:2512
access.redhat.com/security/cve/CVE-2022-48554
bugzilla.redhat.com/2235714
errata.almalinux.org/9/ALSA-2024-2512.html
errata.tuxcare.com/almalinux9.2-esu/CLSA-2024-1717691179.html
github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48554.json
security-tracker.debian.org/tracker/CVE-2022-48554
advisories.mageia.org/MGASA-2023-0268.html
bugs.mageia.org/show_bug.cgi?id=32282
ubuntu.com/security/notices/USN-6359-1
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1574
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.4_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=2235714
issues.redhat.com/browse/RHEL-5734
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_2512.json
cve.org/CVERecord?id=CVE-2022-48554
errata.rockylinux.org/RLSA-2024:2512
ubuntu.com/security/CVE-2022-48554