Linux Kernel up to 5.17.2 LZ4_decompress_safe_partial out-of-bounds

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.4 | $0-$5k | 0.00 |
Summary
A vulnerability described as problematic has been identified in Linux Kernel up to 5.4.188/5.10.110/5.15.33/5.16.19/5.17.2. This affects the function LZ4_decompress_safe_partial. Executing a manipulation can lead to out-of-bounds.
This vulnerability is handled as CVE-2022-49078. There is not any exploit available.
Upgrading the affected component is recommended.
Details
A vulnerability classified as problematic was found in Linux Kernel up to 5.4.188/5.10.110/5.15.33/5.16.19/5.17.2. This vulnerability affects the function LZ4_decompress_safe_partial. The manipulation with an unknown input leads to a out-of-bounds vulnerability. The CWE definition for the vulnerability is CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. As an impact it is known to affect confidentiality. CVE summarizes:
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]/
The advisory is shared for download at git.kernel.org. This vulnerability was named CVE-2022-49078 since 02/26/2025. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 238183 (EulerOS 2.0 SP12 : kernel (EulerOS-SA-2025-1590)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 5.4.189, 5.10.111, 5.15.34, 5.16.20 or 5.17.3 eliminates this vulnerability. Applying the patch 73953dfa9d50e5c9fe98ee13fd1d3427aa12a0a3/6adc01a7aa37445dafe8846faa0610a86029b253/9fb8bc6cfc58773ce95414e11c9ccc8fc6ac4927/e64dbe97c05c769525cbca099ddbd22485630235/467d5e200ab4486b744fe1776154a43d1aa22d4b/eafc0a02391b7b36617b36c97c4b5d6832cf5e24 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (238183). Once again VulDB remains the best source for vulnerability data.
Product
Type
Vendor
Name
Version
- 5.4.188
- 5.10.110
- 5.15.0
- 5.15.1
- 5.15.2
- 5.15.3
- 5.15.4
- 5.15.5
- 5.15.6
- 5.15.7
- 5.15.8
- 5.15.9
- 5.15.10
- 5.15.11
- 5.15.12
- 5.15.13
- 5.15.14
- 5.15.15
- 5.15.16
- 5.15.17
- 5.15.18
- 5.15.19
- 5.15.20
- 5.15.21
- 5.15.22
- 5.15.23
- 5.15.24
- 5.15.25
- 5.15.26
- 5.15.27
- 5.15.28
- 5.15.29
- 5.15.30
- 5.15.31
- 5.15.32
- 5.15.33
- 5.16.0
- 5.16.1
- 5.16.2
- 5.16.3
- 5.16.4
- 5.16.5
- 5.16.6
- 5.16.7
- 5.16.8
- 5.16.9
- 5.16.10
- 5.16.11
- 5.16.12
- 5.16.13
- 5.16.14
- 5.16.15
- 5.16.16
- 5.16.17
- 5.16.18
- 5.16.19
- 5.17.0
- 5.17.1
- 5.17.2
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 3.5VulDB Meta Temp Score: 3.4
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Out-of-boundsCWE: CWE-125 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Partially
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 238183
Nessus Name: EulerOS 2.0 SP12 : kernel (EulerOS-SA-2025-1590)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Kernel 5.4.189/5.10.111/5.15.34/5.16.20/5.17.3
Patch: 73953dfa9d50e5c9fe98ee13fd1d3427aa12a0a3/6adc01a7aa37445dafe8846faa0610a86029b253/9fb8bc6cfc58773ce95414e11c9ccc8fc6ac4927/e64dbe97c05c769525cbca099ddbd22485630235/467d5e200ab4486b744fe1776154a43d1aa22d4b/eafc0a02391b7b36617b36c97c4b5d6832cf5e24
Timeline
02/26/2025 🔍02/26/2025 🔍
02/26/2025 🔍
06/13/2025 🔍
Sources
Vendor: kernel.orgAdvisory: c5d6f8a8be3927c0bec91bcc58667a6cfad244ad
Status: Confirmed
CVE: CVE-2022-49078 (🔍)
GCVE (CVE): GCVE-0-2022-49078
GCVE (VulDB): GCVE-100-297316
Entry
Created: 02/26/2025 11:11Updated: 06/13/2025 08:28
Changes: 02/26/2025 11:11 (59), 03/26/2025 07:58 (1), 06/13/2025 08:28 (2)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.