Lean 4 kernel soundness bug lets malicious metaprograms forge proofs of 0 = 1

jamesmurdza · x · 2026-11-23

A report to the oss-security mailing list describes a soundness vulnerability in the Lean 4 theorem prover kernel: a malicious metaprogram using nested inductive projections can make the kernel accept invalid proofs, including proofs of False and 0 = 1 — with no axioms and full kernel checking enabled. jamesmurdza shared it with the sarcastic note that surely 17M lines of code can't contain a single bug.

Original post →

More from Safety

Safety channel →