CVE-2026-139392
publishedlib: validate in-memory LZ4 chunk length
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 to < 5403bbc282a39f9d5a72a166269f66a161acf76c · e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 to < bf5f9969b5d8b1bcfd617601a07fe387a6fe37bc · e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 to < 53a935854b07f047f6940bff4f23aee4e986db29 · e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 to < 84018d80b72c9c4c65879999dcb48db03e3f0b1d · e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 to < 4c2a385f76dae12584fb9676a13cc9d8e112649a · e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 to < a850a995549c5de30a98e018120358389180f658 · e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 to < 52ff0793f4e73fe7b197d8e5ccbabcf23e9bca34 · e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 to < 138a84817df01eda67bb23032ab49c23fe2ffc16 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.11 (affected) · 0 to < 3.11 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 to < 5403bbc282a39f9d5a72a166269f66a161acf76c (affected · git)e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 to < bf5f9969b5d8b1bcfd617601a07fe387a6fe37bc (affected · git)e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 to < 53a935854b07f047f6940bff4f23aee4e986db29 (affected · git)e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 to < 84018d80b72c9c4c65879999dcb48db03e3f0b1d (affected · git)e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 to < 4c2a385f76dae12584fb9676a13cc9d8e112649a (affected · git)e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 to < a850a995549c5de30a98e018120358389180f658 (affected · git)e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 to < 52ff0793f4e73fe7b197d8e5ccbabcf23e9bca34 (affected · git)e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 to < 138a84817df01eda67bb23032ab49c23fe2ffc16 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.11 (affected)0 to < 3.11 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/138a84817df01eda67bb23032ab49c23fe2ffc16
- https://git.kernel.org/stable/c/4c2a385f76dae12584fb9676a13cc9d8e112649a
- https://git.kernel.org/stable/c/52ff0793f4e73fe7b197d8e5ccbabcf23e9bca34
- https://git.kernel.org/stable/c/53a935854b07f047f6940bff4f23aee4e986db29
- https://git.kernel.org/stable/c/5403bbc282a39f9d5a72a166269f66a161acf76c
- https://git.kernel.org/stable/c/84018d80b72c9c4c65879999dcb48db03e3f0b1d
- https://git.kernel.org/stable/c/a850a995549c5de30a98e018120358389180f658
- https://git.kernel.org/stable/c/bf5f9969b5d8b1bcfd617601a07fe387a6fe37bc
Provider assertions
1Linux · cna
lib: validate in-memory LZ4 chunk length
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e1f0b9a7a21f7e21e2cd292226e68d977182cdf9762f93f71f3baa30e639c4ca
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record