CVE-2022-26280
libarchive: an out-of-bounds read via the component zipx_lzma_alone_init
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 29, 2022
Updated · November 21, 2025
Description
An out-of-bounds read flaw was found in libarchive. This flaw allows an attacker who can supply a specially crafted zip file to libarchive to cause an out-of-bounds read in programs linked with libarchive, using the LZMA zip functionality. The consequences depend on the specific program linked with libarchive. Still, they would most likely result in an application crash or information disclosure that could be used in conjunction with another exploit.
Statement
Versions of libarchive shipped with Red Hat Enterprise Linux 8 and prior are not affected by this vulnerability as the affected code (zipx_lzma_alone_init routine) is not shipped.
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
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6.5CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
CWE-125 · Out-of-bounds Read