Critical Lean theorem prover flaw can fabricate fake math proofs, incl. bogus FLT

OwariDa · x · 2026-11-27

Trail of Bits disclosed a critical vulnerability in the Lean 4 theorem prover (versions up to 4.33.1): a string-manipulation flaw in String.Pos.Raw.extract created inconsistencies between logical definitions and compiled native code, letting attackers manufacture contradictions and prove false theorems — including a bogus proof of Fermat's Last Theorem.

Original post →

More from Safety

Safety channel →