cve.bz

CVE-2022-48554 Out-of-bounds Read

5.5 mediumExploit referenceEPSS 0.7%

Medium (5.5). EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 53rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-48554 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-48554?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-48554?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-48554 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
file_project:file5.41
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11file1:5.39-3+deb11u1DSA-5489-1
Debian12, 13, 14file1:5.44-1DEBIAN-CVE-2022-48554
Ubuntu22.04:LTSfile1:5.41-3ubuntu0.1UBUNTU-CVE-2022-48554 USN-6359-1
Red Hatenterprise_linux:9::appstreampython3-file-magic0:5.39-16.el9RHSA-2024:2512
Red Hatenterprise_linux:9::baseosfile, file-libs, file-debuginfo and 2 more0:5.39-16.el9RHSA-2024:2512
Red Hatenterprise_linux:9::crbfile-devel, file-debuginfo, file-debugsource and 1 more0:5.39-16.el9RHSA-2024:2512
AlmaLinux9file, file-libs, file-devel and 1 more5.39-16.el9ALSA-2024:2512
Rocky Linux9file0:5.39-16.el9RLSA-2024:2512
Azure Linux2file5.40-3AZL-28055

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Do not process untrusted files with the file program.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9file-0:5.39-16.el9Fixed 2024-04-30RHSA-2024:2512
Red Hat Enterprise Linux 6fileOut of support scope
Red Hat Enterprise Linux 7fileOut of support scope
Red Hat Enterprise Linux 8fileNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-48554.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON