Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-49078

published high CVSS 3.1 · 7.8

lz4: fix LZ4_decompress_safe_partial read out of bound

Published
26 Feb 2025, 01:54:40 UTC
Updated
05 Aug 2026, 08:53:46 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux2209fda323e2fd2a2d0885595fd5097717f8d2aa to < 73953dfa9d50e5c9fe98ee13fd1d3427aa12a0a3 · 2209fda323e2fd2a2d0885595fd5097717f8d2aa to < 6adc01a7aa37445dafe8846faa0610a86029b253 · 2209fda323e2fd2a2d0885595fd5097717f8d2aa to < 9fb8bc6cfc58773ce95414e11c9ccc8fc6ac4927 · 2209fda323e2fd2a2d0885595fd5097717f8d2aa to < e64dbe97c05c769525cbca099ddbd22485630235 · 2209fda323e2fd2a2d0885595fd5097717f8d2aa to < 467d5e200ab4486b744fe1776154a43d1aa22d4b · 2209fda323e2fd2a2d0885595fd5097717f8d2aa to < eafc0a02391b7b36617b36c97c4b5d6832cf5e24 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.20 (affected) · 0 to < 4.20 (unaffected · semver) · 5.4.189 through 5.4.* (unaffected · semver) · 5.10.111 through 5.10.* (unaffected · semver) · 5.15.34 through 5.15.* (unaffected · semver) · 5.16.20 through 5.16.* (unaffected · semver) · 5.17.3 through 5.17.* (unaffected · semver) · 5.18 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2023-036 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2024-076 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftoolx86_64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoaarch64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoppc64le Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfos390x Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfox86_64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64kaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debugaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-debuginfoaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-develaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-devel-matchedaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modulesaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-extraaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debuginfoaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-develaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-devel-matchedaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-modulesaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-extraaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-abi-stablelistsnoarch Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-coreppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-cores390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-corex86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debugaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debugppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debugs390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debugx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-cores390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-corex86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfos390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfox86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-develaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-develppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-devels390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-develx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matcheds390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-moduless390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-cores390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-corex86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extraaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrappc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extras390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrax86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-uki-virtx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debuginfos390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debuginfox86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-aarch64aarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-ppc64leppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-s390xs390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-x86_64x86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-develaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-develppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-devels390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-develx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-devel-matcheds390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-docnoarch Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-headersaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-headersppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-headerss390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-headersx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modulesaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modulesppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-moduless390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modulesx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modules-cores390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modules-corex86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modules-extraaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrappc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modules-extras390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrax86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: lz4: fix LZ4_decompress_safe_partial read out of bound When partialDecoding, it is EOF if we've either filled the output buffer or can't proceed with reading an offset for following match. In some extreme corner cases when compressed data is suitably corrupted, UAF will occur. As reported by KASAN [1], LZ4_decompress_safe_partial may lead to read out of bound problem during decoding. lz4 upstream has fixed it [2] and this issue has been disscussed here [3] before. current decompression routine was ported from lz4 v1.8.3, bumping lib/lz4 to v1.9.+ is certainly a huge work to be done later, so, we'd better fix it first. [1] https://lore.kernel.org/all/[email protected]/ [2] https://github.com/lz4/lz4/commit/c5d6f8a8be3927c0bec91bcc58667a6cfad244ad# [3] https://lore.kernel.org/all/[email protected]/

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

12

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The bug is only reachable via LZ4_decompress_safe_partial, whose sole in-tree caller is EROFS decompression on a locally mounted image (syzbot repro: mount erofs loop image then open/read a compressed file); it is not reachable from network packet processing. AC:L - An attacker who controls EROFS compressed contents can craft suitably corrupted LZ4 streams that deterministically hit the missing ip>=(iend-2) EOF check during partial decoding, as demonstrated by reliable syzkaller reproducers. PR:L - Once a malicious or legacy EROFS image is mounted, an unprivileged local user can trigger the vulnerable decompress path simply by reading a compressed file; mounting is treated as an environmental precondition and EROFS is widely deployed (e.g. Android). UI:N - No additional victim interaction is required beyond the attacker-controlled image being present and read; the open/read that drives z_erofs_decompressqueue_work needs no further user action. S:U - Impact is confined to the host kernel’s memory authority (OOB/UAF during in-kernel decompression); there is no VM/IOMMU/sandbox boundary crossing. C:H - The defect is an out-of-bounds/use-after-free read (KASAN: UAF Read in LZ4_readLE16 past the compressed input into a freed page), which can disclose adjacent or reused memory contents. I:H - Classified and observed as a use-after-free memory-corruption bug in the LZ4 partial decoder; per scoring guidance UAFs are treated as enabling strong integrity impact (heap spray / controlled subsequent decode state), so I:H is appropriate. A:H - OOB reads past vm_map_ram or into invalid/freed pages can cause kernel oops/GPF (also seen as general protection fault in LZ4_decompress_safe_partial on syzbot), yielding high availability impact.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.8 high CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 2209fda323e2fd2a2d0885595fd5097717f8d2aa to < 73953dfa9d50e5c9fe98ee13fd1d3427aa12a0a3 (affected · git)2209fda323e2fd2a2d0885595fd5097717f8d2aa to < 6adc01a7aa37445dafe8846faa0610a86029b253 (affected · git)2209fda323e2fd2a2d0885595fd5097717f8d2aa to < 9fb8bc6cfc58773ce95414e11c9ccc8fc6ac4927 (affected · git)2209fda323e2fd2a2d0885595fd5097717f8d2aa to < e64dbe97c05c769525cbca099ddbd22485630235 (affected · git)2209fda323e2fd2a2d0885595fd5097717f8d2aa to < 467d5e200ab4486b744fe1776154a43d1aa22d4b (affected · git)2209fda323e2fd2a2d0885595fd5097717f8d2aa to < eafc0a02391b7b36617b36c97c4b5d6832cf5e24 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.20 (affected)0 to < 4.20 (unaffected · semver)5.4.189 through 5.4.* (unaffected · semver)5.10.111 through 5.10.* (unaffected · semver)5.15.34 through 5.15.* (unaffected · semver)5.16.20 through 5.16.* (unaffected · semver)5.17.3 through 5.17.* (unaffected · semver)5.18 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (CISA-ADP · adp)

References

6

Provider assertions

2

Linux · cna

lz4: fix LZ4_decompress_safe_partial read out of bound

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
33a66ee8529d93f4ca197bcaa653cc40de340a8be82c834dc9e7f6285e068d53
Ingested
23 Sep 2026, 08:04:03 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected