CVE-2026-68186binfmt_misc: set have_execfd only once the interpreter is opened
- —Not scoredno CVSS score yet
- 0.22%Exploitation in 30 daysEPSS · top 88% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: binfmt_misc: set have_execfd only once the interpreter is opened load_misc_binary() raises bprm->have_execfd as soon as it sees the 'O' (or 'C') flag. This happens well before it opens the interpreter. If that open fails the flag stays set on the bprm. binfmt_misc is at the head of the format list so an interpreter open failure that returns -ENOEXEC lets the search fall through to a later format. This means it runs the matched binary directly having never staged an interpreter. So bprm->executable is NULL while have_execfd falsely claims a descriptor is present. Consequently, begin_new_exec() dereferences the missing executable: would_dump(bprm, bprm->executable); and NULL derefs. Had it not, the hand-off later in the same function would have failed anyway. FD_ADD(0, bprm->executable) rejects a NULL file with -ENOMEM. Both sites are past the point of no return so the exec cannot be unwound either way. This can be reached by unprivileged users as binfmt_misc can be mounted in user namespaces. So a user can register an 'O' entry whose interpreter lives on a FUSE mount, have the FUSE server fail the open with -ENOEXEC and execute a native ELF file that matches the entry. have_execfd only means anything alongside the executable it describes which is not set until the interpreter has been opened and staged. So lets raise it there, next to execfd_creds, which is already set at that point. An open failure now leaves it clear, so the fallback format derives credentials from the binary and emits no AT_EXECFD, as it would for any native exec. The argv rewrite load_misc_binary() performs before the open is still not undone. This means the binary sees the interpreter path in argv[0] and its own path in argv[1] but that predates this change and only became observable once the exec stopped faulting.
Timeline
ID reserved
By Linux
- 11 days later
· 11 days later
Published
- 3 months later
· 3 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
No CVSS score yet: neither the CNA, CISA nor NVD has scored this CVE. NVD status: Received.
- EPSS (exploitation in 30 days)
- 0.22% · top 88% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Not scored.
Affected products
- affected bc2bf338d54b7aadaed49bb45b9e10d4592b2a46 – < a8e9e9450df44e9dd529ec5beff283f48f4f4b97
- affected bc2bf338d54b7aadaed49bb45b9e10d4592b2a46 – < a261dc49d99681c9c71f38d16e31812dc3e30412
- affected bc2bf338d54b7aadaed49bb45b9e10d4592b2a46 – < 40c09b7a1d4e0a4866042c87c2bd911bb57566c8
- affected bc2bf338d54b7aadaed49bb45b9e10d4592b2a46 – < 0f19d54e2524f0bf183b82f365ae4e49b4a2f788
- affected bc2bf338d54b7aadaed49bb45b9e10d4592b2a46 – < 2dd0298905e97795a9c5ec30cf5b41975f821632
- affected bc2bf338d54b7aadaed49bb45b9e10d4592b2a46 – < 1cd4e9b7967dab48c9f79a00b06ffff7208c0993
- affected bc2bf338d54b7aadaed49bb45b9e10d4592b2a46 – < 5ccc99d58f94fad258c9c375715b3974e48620e8
- affected bc2bf338d54b7aadaed49bb45b9e10d4592b2a46 – < bbf5f639918dc011aaf60aab8480218758ee68c5
- affected 5.8
- unaffected < 5.8
- unaffected 5.10.265 – ≤ 5.10.*
- unaffected 5.15.216 – ≤ 5.15.*
- unaffected 6.1.183 – ≤ 6.1.*
- unaffected 6.6.148 – ≤ 6.6.*
- unaffected 6.12.101 – ≤ 6.12.*
- unaffected 6.18.42 – ≤ 6.18.*
- unaffected 7.1.6 – ≤ 7.1.*
- unaffected 7.2 – ≤ *
References
References8
- https://git.kernel.org/stable/c/a8e9e9450df44e9dd529ec5beff283f48f4f4b97 (opens in a new tab)
- https://git.kernel.org/stable/c/a261dc49d99681c9c71f38d16e31812dc3e30412 (opens in a new tab)
- https://git.kernel.org/stable/c/40c09b7a1d4e0a4866042c87c2bd911bb57566c8 (opens in a new tab)
- https://git.kernel.org/stable/c/0f19d54e2524f0bf183b82f365ae4e49b4a2f788 (opens in a new tab)
- https://git.kernel.org/stable/c/2dd0298905e97795a9c5ec30cf5b41975f821632 (opens in a new tab)
- https://git.kernel.org/stable/c/1cd4e9b7967dab48c9f79a00b06ffff7208c0993 (opens in a new tab)
- https://git.kernel.org/stable/c/5ccc99d58f94fad258c9c375715b3974e48620e8 (opens in a new tab)
- https://git.kernel.org/stable/c/bbf5f639918dc011aaf60aab8480218758ee68c5 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-55287 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-68186)Record last updated .