{"api_version":"1","generated_at":"2026-11-30T18:46:14+00:00","cve":"CVE-2026-139392","urls":{"html":"https://cve.report/CVE-2026-139392","api":"https://cve.report/api/cve/CVE-2026-139392.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139392","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139392"},"summary":{"title":"lib: validate in-memory LZ4 chunk length","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nlib: validate in-memory LZ4 chunk length\n\nWe found and validated an issue in lib/decompress_unlz4.c.  The bug is\nreachable by a root user through kexec_file_load() with a crafted external\ninitrd.\n\nunlz4() reads the compressed chunk length from an in-memory initrd and\npasses it to LZ4_decompress_safe().  It only checks the chunk length\nagainst the allocation size when the input is filled by a callback.\n\nReject an in-memory chunk that extends past the remaining input before\ncalling the LZ4 decoder.  This prevents malformed initrds from making\nthe decoder read past the mapped archive.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:07","updated_at":"2026-11-30 14:19:07"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/52ff0793f4e73fe7b197d8e5ccbabcf23e9bca34","name":"https://git.kernel.org/stable/c/52ff0793f4e73fe7b197d8e5ccbabcf23e9bca34","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bf5f9969b5d8b1bcfd617601a07fe387a6fe37bc","name":"https://git.kernel.org/stable/c/bf5f9969b5d8b1bcfd617601a07fe387a6fe37bc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/53a935854b07f047f6940bff4f23aee4e986db29","name":"https://git.kernel.org/stable/c/53a935854b07f047f6940bff4f23aee4e986db29","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4c2a385f76dae12584fb9676a13cc9d8e112649a","name":"https://git.kernel.org/stable/c/4c2a385f76dae12584fb9676a13cc9d8e112649a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/138a84817df01eda67bb23032ab49c23fe2ffc16","name":"https://git.kernel.org/stable/c/138a84817df01eda67bb23032ab49c23fe2ffc16","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a850a995549c5de30a98e018120358389180f658","name":"https://git.kernel.org/stable/c/a850a995549c5de30a98e018120358389180f658","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5403bbc282a39f9d5a72a166269f66a161acf76c","name":"https://git.kernel.org/stable/c/5403bbc282a39f9d5a72a166269f66a161acf76c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/84018d80b72c9c4c65879999dcb48db03e3f0b1d","name":"https://git.kernel.org/stable/c/84018d80b72c9c4c65879999dcb48db03e3f0b1d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139392","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139392","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 5403bbc282a39f9d5a72a166269f66a161acf76c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 bf5f9969b5d8b1bcfd617601a07fe387a6fe37bc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 53a935854b07f047f6940bff4f23aee4e986db29 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 84018d80b72c9c4c65879999dcb48db03e3f0b1d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 4c2a385f76dae12584fb9676a13cc9d8e112649a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 a850a995549c5de30a98e018120358389180f658 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 52ff0793f4e73fe7b197d8e5ccbabcf23e9bca34 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 138a84817df01eda67bb23032ab49c23fe2ffc16 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.11","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["lib/decompress_unlz4.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"5403bbc282a39f9d5a72a166269f66a161acf76c","status":"affected","version":"e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936","versionType":"git"},{"lessThan":"bf5f9969b5d8b1bcfd617601a07fe387a6fe37bc","status":"affected","version":"e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936","versionType":"git"},{"lessThan":"53a935854b07f047f6940bff4f23aee4e986db29","status":"affected","version":"e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936","versionType":"git"},{"lessThan":"84018d80b72c9c4c65879999dcb48db03e3f0b1d","status":"affected","version":"e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936","versionType":"git"},{"lessThan":"4c2a385f76dae12584fb9676a13cc9d8e112649a","status":"affected","version":"e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936","versionType":"git"},{"lessThan":"a850a995549c5de30a98e018120358389180f658","status":"affected","version":"e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936","versionType":"git"},{"lessThan":"52ff0793f4e73fe7b197d8e5ccbabcf23e9bca34","status":"affected","version":"e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936","versionType":"git"},{"lessThan":"138a84817df01eda67bb23032ab49c23fe2ffc16","status":"affected","version":"e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["lib/decompress_unlz4.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.11"},{"lessThan":"3.11","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"3.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"3.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"3.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"3.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"3.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"3.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"3.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"3.11","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nlib: validate in-memory LZ4 chunk length\n\nWe found and validated an issue in lib/decompress_unlz4.c.  The bug is\nreachable by a root user through kexec_file_load() with a crafted external\ninitrd.\n\nunlz4() reads the compressed chunk length from an in-memory initrd and\npasses it to LZ4_decompress_safe().  It only checks the chunk length\nagainst the allocation size when the input is filled by a callback.\n\nReject an in-memory chunk that extends past the remaining input before\ncalling the LZ4 decoder.  This prevents malformed initrds from making\nthe decoder read past the mapped archive."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:34:19.910Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/5403bbc282a39f9d5a72a166269f66a161acf76c"},{"url":"https://git.kernel.org/stable/c/bf5f9969b5d8b1bcfd617601a07fe387a6fe37bc"},{"url":"https://git.kernel.org/stable/c/53a935854b07f047f6940bff4f23aee4e986db29"},{"url":"https://git.kernel.org/stable/c/84018d80b72c9c4c65879999dcb48db03e3f0b1d"},{"url":"https://git.kernel.org/stable/c/4c2a385f76dae12584fb9676a13cc9d8e112649a"},{"url":"https://git.kernel.org/stable/c/a850a995549c5de30a98e018120358389180f658"},{"url":"https://git.kernel.org/stable/c/52ff0793f4e73fe7b197d8e5ccbabcf23e9bca34"},{"url":"https://git.kernel.org/stable/c/138a84817df01eda67bb23032ab49c23fe2ffc16"}],"title":"lib: validate in-memory LZ4 chunk length","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139392","datePublished":"2026-11-30T13:34:19.910Z","dateReserved":"2026-11-30T13:22:15.931Z","dateUpdated":"2026-11-30T13:34:19.910Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:07","lastModifiedDate":"2026-11-30 14:19:07","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139392","Ordinal":"1","Title":"lib: validate in-memory LZ4 chunk length","CVE":"CVE-2026-139392","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139392","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nlib: validate in-memory LZ4 chunk length\n\nWe found and validated an issue in lib/decompress_unlz4.c.  The bug is\nreachable by a root user through kexec_file_load() with a crafted external\ninitrd.\n\nunlz4() reads the compressed chunk length from an in-memory initrd and\npasses it to LZ4_decompress_safe().  It only checks the chunk length\nagainst the allocation size when the input is filled by a callback.\n\nReject an in-memory chunk that extends past the remaining input before\ncalling the LZ4 decoder.  This prevents malformed initrds from making\nthe decoder read past the mapped archive.","Type":"Description","Title":"lib: validate in-memory LZ4 chunk length"}]}}}