Skip to main content
Network Thinking Solutions Logo

CVE-2022-49078

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.

All CVEs
CVE-2022-49078Published 2/26/2025

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.

Vendor advisory
CVSS7.8High

Overview

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/000000000000830d1205cf7f0477@google.com/ [2] https://github.com/lz4/lz4/commit/c5d6f8a8be3927c0bec91bcc58667a6cfad244ad# [3] https://lore.kernel.org/all/CC666AE8-4CA4-4951-B6FB-A2EFDE3AC03B@fb.com/

Published
2/26/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.20, < 5.4.189

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.111

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.34

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.16.20

Verify advisory

Source
linux kernel
linux
≥ 5.17, < 5.17.3

Verify advisory

Source
Linux
Linux
≥ 2209fda323e2fd2a2d0885595fd5097717f8d2aa, < 73953dfa9d50e5c9fe98ee13fd1d3427aa12a0a3

Verify advisory

Source
Linux
Linux
≥ 2209fda323e2fd2a2d0885595fd5097717f8d2aa, < 6adc01a7aa37445dafe8846faa0610a86029b253

Verify advisory

Source
Linux
Linux
≥ 2209fda323e2fd2a2d0885595fd5097717f8d2aa, < 9fb8bc6cfc58773ce95414e11c9ccc8fc6ac4927

Verify advisory

Source
Linux
Linux
≥ 2209fda323e2fd2a2d0885595fd5097717f8d2aa, < e64dbe97c05c769525cbca099ddbd22485630235

Verify advisory

Source
Linux
Linux
≥ 2209fda323e2fd2a2d0885595fd5097717f8d2aa, < 467d5e200ab4486b744fe1776154a43d1aa22d4b

Verify advisory

Source
Linux
Linux
≥ 2209fda323e2fd2a2d0885595fd5097717f8d2aa, < eafc0a02391b7b36617b36c97c4b5d6832cf5e24

Verify advisory

Source
Linux
Linux
4.20

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.