Phrack article shows how proof assistant kernel bugs can forge formal proofs
The authors of this Phrack article, endrazine and veorq, examine the limits of computation and proof. They present a constructive reduction to Rice's theorem[1], which states that all non-trivial semantic properties of programs are undecidable, and a 1911-line Rocq proof of it. They then attack proof assistants[2] that check formal proofs, building twelve soundness PoCs against six of them: Lean 4, Rocq, Agda, Dafny, F*, and Isabelle/HOL.
Seven kernel soundness failures in Lean 4 and Rocq received CVE identifiers, which the authors say are to their knowledge the first CVEs assigned to proof-assistant soundness failures. The authors did not discover these bugs; they reclassified bugs already reported by maintainers, outside contributors, or AI agents. They also describe a pure-Lean exploit chain from use-after-free to arbitrary code execution in a single .lean file, and a backdoored CompCert[3] whose forged correctness proof the Coq kernel accepts.
The authors also forged proofs of five Millennium Problems in Rocq and Lean 4, including axiom-free certificates for both P = NP and P != NP. They additionally sabotaged a local fork of Fiat-Crypto so that its field multiplier always returns zero while its original correctness theorem is still accepted. Their conclusion is that a formal proof is only as trustworthy as the small kernel that checks it.
Read the original phrack.orgDiscussion
Sources
-
Phrack
Owning the Truth: Undecidability, unsound kernels, and the forging of proof


