CVE-2026-72711: leanprover lean4 · Improper Input Validation
Affects leanprover lean4Source CVE Database V5
Not known to be exploited · CVSS 6.8 Medium : upgrade to 4.32.2 when convenient.
Data as of 21 Nov 2026, 17:35 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.8 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.3 |
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.32.2
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 24 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 21 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
Upgrade Lean 4 to version 4.32.2 or later, where the missing closure check in environment::add_opaque has been added to prevent this vulnerability. No other mitigations are necessary as the fix fully addresses the issue.
Description
CVE-2026-72711 is a vulnerability in the Lean 4 kernel where improper input validation allows creation of an opaque declaration with an unclosed body. This flaw permits an attacker to introduce an opaque constant of type False without triggering kernel checks, potentially undermining logical soundness. The issue is fixed in version 4.32.2 by adding the missing closure check.
References
- github.com/leanprover/lean4 (opens in a new tab)
- github.com/leanprover/lean4/issues/14484 (opens in a new tab)
- github.com/leanprover/lean4/pull/14498 (opens in a new tab)
- github.com/endrazine/lean-cve-poc-14484 (opens in a new tab)
- vulncheck.com/advisories/lean-4-before-kernel-accepts-opaque-declaration-with-an-unbound-free-variable (opens in a new tab)
- openwall.com/lists/oss-security/2026/10/26/3 (opens in a new tab)