CVE-2026-68186: binfmt_misc: set have_execfd only once the interpreter is opened

Received
AliasesUBUNTU-CVE-2026-68186DEBIAN-CVE-2026-68186
Published 10-08-2026Last modified 19-08-2026

Vulnerability summary

CVE-2026-68186 is a vulnerability in linux with no CVSS score yet. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 12.1% of scored vulnerabilities.

Priority
Insufficient evidence

No CVSS vector published; no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
Not scored
010
No CVSS score recorded
EPSS score
0.22%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 18 · Related 16

Timeline

  1. 10-08-2026
    PublishedVulnerability first disclosed.
  2. 19-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

Risk metrics not yet published.

EPSS trend

Probability

0.22%

Chance of exploitation in the next 30 days

Percentile

12%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.22% on 06-10-2026

06-10-202605-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: not stated in public data.

Ubuntu157 products
  • linuxAll versions (No fix recorded) | < 5.15.0-198.208 | < 6.8.0-147.147 | < 7.0.0-38.38
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1117.124 | < 6.8.0-1067.70 | < 7.0.0-1014.14
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian2 products
  • linux< 6.1.187-1 | < 6.12.101-1 | < 7.1.6-1
  • linux-6.12< 6.12.101-1~deb12u1
Linux1 product
  • linux≥ bc2bf338d54b7aadaed49bb45b9e10d4592b2a46, < a8e9e9450df44e9dd529ec5beff283f48f4f4b97 | ≥ bc2bf338d54b7aadaed49bb45b9e10d4592b2a46, < a261dc49d99681c9c71f38d16e31812dc3e30412 | ≥ bc2bf338d54b7aadaed49bb45b9e10d4592b2a46, < 40c09b7a1d4e0a4866042c87c2bd911bb57566c8 | ≥ bc2bf338d54b7aadaed49bb45b9e10d4592b2a46, < 0f19d54e2524f0bf183b82f365ae4e49b4a2f788 | ≥ bc2bf338d54b7aadaed49bb45b9e10d4592b2a46, < 2dd0298905e97795a9c5ec30cf5b41975f821632 | ≥ bc2bf338d54b7aadaed49bb45b9e10d4592b2a46, < 1cd4e9b7967dab48c9f79a00b06ffff7208c0993 | ≥ bc2bf338d54b7aadaed49bb45b9e10d4592b2a46, < 5ccc99d58f94fad258c9c375715b3974e48620e8 | ≥ bc2bf338d54b7aadaed49bb45b9e10d4592b2a46, < bbf5f639918dc011aaf60aab8480218758ee68c5 | 5.8

3 vendors · 160 products

References

27 links
Show all 27 references