CVE-2026-72844: leanprover lean4 · Type Confusion
Affects leanprover lean4Source CVE Database V5
Not known to be exploited · CVSS 6.3 Medium : upgrade to 4.32.2 when convenient.
Data as of 17 Nov 2026, 20:25 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 3.1 | 6.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 4.0 | 6.8 |
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.32.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.
What to do
Upgrade leanprover lean4 to 4.32.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| leanproverlean4 | Affected
| Fixed in
|
GitHublean4pkg:github/lean4Other threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in Lean 4 version 4.32.2. Users should upgrade to version 4.32.2 or later to remediate this vulnerability. Since exploitation requires running a metaprogram in-process, avoiding untrusted or malicious metaprograms or dependencies can reduce risk. No other mitigations are indicated.
Description
CVE-2026-72844 is a type confusion vulnerability in the Lean 4 kernel where the system fails to verify that the structure named in a projection expression matches the type of the value being projected. This allows a metaprogram running within the Lean process to register an ill-typed nested inductive type, resulting in a proof of False without axioms, from which any proposition can be derived. Exploitation requires running a metaprogram in-process, such as building a project or importing a malicious dependency. The flaw is fixed in version 4.32.2.
References
- github.com/leanprover/lean4/issues/14576 (opens in a new tab)
- github.com/leanprover/lean4/commit/a39eab69e1eee9ad38f4efe507907b1026a77808 (opens in a new tab)
- github.com/leanprover/lean4/pull/14577 (opens in a new tab)
- github.com/endrazine/lean-cve-poc (opens in a new tab)
- github.com/xrchz/CollatzLean (opens in a new tab)
- openwall.com/lists/oss-security/2026/08/02/1 (opens in a new tab)
- github.com/leanprover/lean4 (opens in a new tab)
- vulncheck.com/advisories/lean-4-kernel-type-checking-bypass-via-mismatched-structure-projections (opens in a new tab)
- openwall.com/lists/oss-security/2026/10/26/2 (opens in a new tab)