CVE-2026-139337
CVE-2026-139337 — ima: reject a kexec buffer whose declared size exceeds the buffer
In the Linux kernel, the following vulnerability has been resolved: ima: reject a kexec buffer whose declared size exceeds the buffer ima_restore_measurement_list() parses the measurement list persisted across kexec. It computes the parse end directly from the blob: bufendp = buf + khdr->buffer_size; khdr->buffer_size is a u64 read straight from the persisted buffer. The only length checks in the function are size >= sizeof(*khdr), version == 1 and count -- none relates buffer_size to size, the actual buffer size the caller (ima_load_kexec_buffer()) obtained from the ima-kexec-buffer region. ima_parse_buf() bounds every field read to bufendp, so a blob whose internal buffer_size exceeds the real size makes the parse loop read past the end of the buffer (CWE-125). The buffer's memory range is validated against addressable RAM by commit cbf9c4b9617b ("of: check previous kernel's ima-kexec-buffer against memory bounds") and commit c5489d04337b ("x86/kexec: add a sanity check on previous kernel's ima kexec buffer"), but the blob's own declared size is never clamped to it. Reject a buffer_size larger than size before the loop. This is on the boot-time kexec-restore path (__init) and the buffer comes from the previous kernel, so triggering it requires control of the persisted buffer; it is an out-of-bounds read only.
Published Updated Sources: NVD, Linux (CNA), GitHub, GitHub Security Advisory
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
n/a
FIRST has not published a score
CVSS base
Unscored
no source published a base score
Remediation
The vendor's own words where we have them.
Upgrade Linux to a fixed release (0 to < 4.10). Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Linux | Linux | 94c3aac567a9ddb9e868a7fae3c927c08b51b7c6 to < 86d5ca8cd79fec82865b9b32a06f0c28e19062cf | Vulnerable |
| Linux | Linux | 94c3aac567a9ddb9e868a7fae3c927c08b51b7c6 to < 3d1660732042d4c2ae7795255141185372bce6e2 | Vulnerable |
| Linux | Linux | 94c3aac567a9ddb9e868a7fae3c927c08b51b7c6 | Vulnerable |
| Linux | Linux | 94c3aac567a9ddb9e868a7fae3c927c08b51b7c6 to < 3343fc0c5d3e6df67f7d09b5bb59982db03a5c1d | Vulnerable |
| Linux | Linux | 94c3aac567a9ddb9e868a7fae3c927c08b51b7c6 to < 9f867274b208d0830232f01ac26ef5a92f4ec0e4 | Vulnerable |
| Linux | Linux | 94c3aac567a9ddb9e868a7fae3c927c08b51b7c6 to < 6d76d153afa3ac90701a23f5715bdb3648be2f7b | Vulnerable |
| Linux | Linux | 94c3aac567a9ddb9e868a7fae3c927c08b51b7c6 to < 0f33ef07be4121c87df3d5b2fa05609d743a4570 | Vulnerable |
| Linux | Linux | 94c3aac567a9ddb9e868a7fae3c927c08b51b7c6 | Vulnerable |
| Linux | Linux | 4.10 | Vulnerable |
| Linux | Linux | 0 to < 4.10 | Patched |
| Linux | Linux | 5.10.275 to <= 5.10.* | Patched |
| Linux | Linux | 5.15.226 to <= 5.15.* | Patched |
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /kexec.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Initial · CVE published
Nov 30, 2026 · NVD
Added · GHSA-77mx-h558-g49w published (unknown)
Nov 30, 2026 · GitHub Security Advisory
References
10 on the record
- git.kernel.org/stable/c/0f33ef07be4121c87df3d5b2fa05609d743a4570
Vendor Advisory
- git.kernel.org/stable/c/3343fc0c5d3e6df67f7d09b5bb59982db03a5c1d
Vendor Advisory
- git.kernel.org/stable/c/3d1660732042d4c2ae7795255141185372bce6e2
Vendor Advisory
- git.kernel.org/stable/c/6d76d153afa3ac90701a23f5715bdb3648be2f7b
Vendor Advisory
- git.kernel.org/stable/c/86d5ca8cd79fec82865b9b32a06f0c28e19062cf
Vendor Advisory
- git.kernel.org/stable/c/9f867274b208d0830232f01ac26ef5a92f4ec0e4
Vendor Advisory
- git.kernel.org/stable/c/afacba62cd4a6d5fbf1a2b44a8e201e6bc69401e
Vendor Advisory
- git.kernel.org/stable/c/ceb24c7052cc4649e3b52a51a7cca7dfe4896cec
Vendor Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-39682 tls: fix handling of zero-length records on the rx_listCVSS 9.8 · CISA KEV
- CVE-2016-3427 Oracle Java SE and JRockit Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-53266 netfilter: bridge: make ebt_snat ARP rewrite writableCVSS 8.8 · CISA KEV
- CVE-2026-46300 net: skbuff: preserve shared-frag marker during coalescingCVSS 7.8 · CISA KEV
- CVE-2026-31431 crypto: algif_aead - Revert to operating out-of-placeCVSS 7.8 · CISA KEV
- CVE-2014-3153 Linux Kernel Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
- Linuxevery CVE for this vendor
- Unclassifiedsame class
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-139337 is ima: reject a kexec buffer whose declared size exceeds the buffer, a unscored vulnerability affecting Linux from Linux. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-139337. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-139337. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS null describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.