CVE-2026-72711: The Lean 4 kernel does not check that the body of an opaque declaration is closed. environment::add_opaque omits the che
Summary
Lean 4 (a proof assistant software) has a bug where its kernel (the core component that verifies proofs) doesn't properly check that opaque declarations (sealed definitions whose contents are hidden) have no free variables (unbound references). An attacker can exploit this by manipulating the type checker's cache to make the kernel accept a false proof, potentially breaking the entire system's logical soundness without requiring any unsafe operations.
Solution / Mitigation
Fixed in 4.32.2 by adding the missing closure check.
Vulnerability Details
6.3(medium)
EPSS: 0.0%
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
local
low
none
required
August 24, 2026
Classification
Taxonomy References
Original source: https://nvd.nist.gov/vuln/detail/CVE-2026-72711
First tracked: August 24, 2026 at 08:07 PM
Classified by LLM (prompt v3) · confidence: 85%