CVE-2022-48554 json
File before 5.43 has an stack-based buffer over-read in file_copystr in funcs.c.
published 2023-08-22 3 y ago modified 2026-06-17 4 mo ago also EUVD-2022-51250
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- file Debian 14, Debian 13, Debian 12 1:5.44-1
debian advisories DEBIAN-CVE-2022-48554
- file Ubuntu 22.04 LTS 1:5.41-3ubuntu0.1
ubuntu advisories UBUNTU-CVE-2022-48554
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- file RHEL 9 5.39-16.el9
- file-libs RHEL 9 5.39-16.el9
- python3-file-magic RHEL 9 5.39-16.el9
red hat advisories RHSA-2024:2512
- file AlmaLinux 9 5.39-16.el9
- file-libs AlmaLinux 9 5.39-16.el9
- python3-file-magic AlmaLinux 9 5.39-16.el9
almalinux advisories ALSA-2024:2512
- file Rocky Linux 9 5.39-16.el9
rocky linux advisories RLSA-2024:2512
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-48554 updated cvss 5.5
file: stack-based buffer over-read in file_copystr in funcs.c
-
Red Hat Enterprise Linux 6 file, file-libs, python-magic Red Hat Enterprise Linux 7 file, file-libs, python-magicaffected: workaround, no fix planned “Do not process untrusted files with the file program.”
-
Red Hat Enterprise Linux AppStream (v. 9) python3-file-magic 5.39-16.el9 Red Hat Enterprise Linux BaseOS (v. 9) file 5.39-16.el9, file-libs 5.39-16.el9 Red Hat Enterprise Linux CRB (v. 9) file-devel 5.39-16.el9, file-debuginfo 5.39-16.el9, file-debugsource 5.39-16.el9, file-libs-debuginfo 5.39-16.el9fixed: vendor fix “Do not process untrusted files with the file program.” RHSA-2024:2512
-
Red Hat Enterprise Linux 8 file, file-libs, python3-magicnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.68% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugs.astron.com https://bugs.astron.com/view.php?id=310 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
bugs.astron.com
/view.php?id=310
exploit, vendor-advisory
-
debian.org
/security/2023/dsa-5489
vendor-advisory, third-party-advisory
-
security.netapp.com
/advisory/ntap-20231116-0002/
third-party-advisory
- support.apple.com /kb/HT214081
- support.apple.com /kb/HT214088
- support.apple.com /kb/HT214084
- support.apple.com /kb/HT214086
-
seclists.org
/fulldisclosure/2024/Mar/21
mailing-list
-
seclists.org
/fulldisclosure/2024/Mar/25
mailing-list
-
seclists.org
/fulldisclosure/2024/Mar/24
mailing-list
Sources
- CVE List CVE-2022-48554
- NVD CVE-2022-48554
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.