CVE-2026-139392
lib: validate in-memory LZ4 chunk length
Description
In the Linux kernel, the following vulnerability has been resolved: lib: validate in-memory LZ4 chunk length We found and validated an issue in lib/decompress_unlz4.c. The bug is reachable by a root user through kexec_file_load() with a crafted external initrd. unlz4() reads the compressed chunk length from an in-memory initrd and passes it to LZ4_decompress_safe(). It only checks the chunk length against the allocation size when the input is filled by a callback. Reject an in-memory chunk that extends past the remaining input before calling the LZ4 decoder. This prevents malformed initrds from making the decoder read past the mapped archive.
INFO
Published Date :
Nov. 30, 2026, 2:19 p.m.
Last Modified :
Nov. 30, 2026, 2:19 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the Linux kernel patch for lib/decompress_unlz4.c.
- Validate in-memory chunks before decompression.
- Update the Linux kernel to a patched version.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139392.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139392 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139392
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139392 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139392 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: lib: validate in-memory LZ4 chunk length We found and validated an issue in lib/decompress_unlz4.c. The bug is reachable by a root user through kexec_file_load() with a crafted external initrd. unlz4() reads the compressed chunk length from an in-memory initrd and passes it to LZ4_decompress_safe(). It only checks the chunk length against the allocation size when the input is filled by a callback. Reject an in-memory chunk that extends past the remaining input before calling the LZ4 decoder. This prevents malformed initrds from making the decoder read past the mapped archive. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139392.json">CVE-2026-139392</a> Added Reference https://git.kernel.org/stable/c/138a84817df01eda67bb23032ab49c23fe2ffc16 Added Reference https://git.kernel.org/stable/c/4c2a385f76dae12584fb9676a13cc9d8e112649a Added Reference https://git.kernel.org/stable/c/52ff0793f4e73fe7b197d8e5ccbabcf23e9bca34 Added Reference https://git.kernel.org/stable/c/53a935854b07f047f6940bff4f23aee4e986db29 Added Reference https://git.kernel.org/stable/c/5403bbc282a39f9d5a72a166269f66a161acf76c Added Reference https://git.kernel.org/stable/c/84018d80b72c9c4c65879999dcb48db03e3f0b1d Added Reference https://git.kernel.org/stable/c/a850a995549c5de30a98e018120358389180f658 Added Reference https://git.kernel.org/stable/c/bf5f9969b5d8b1bcfd617601a07fe387a6fe37bc