Coq, Lean and Isabelle soundness bugs collected in one list
A page on cr.yp.to titled "False computer-checked proofs" (version 20261125) takes on programs that claim to check every step in a proof. Various "soundness bugs" have been reported in them that at least potentially allowed false statements to slip past. In many cases, the author says, the bugs have been demonstrated to be exploitable.
The list links to what appear to be reports of such bugs, sorted in increasing order of the number of reports: HOL Light, 3; Mizar, 7; Metamath, 9; Isabelle, 20; Lean 3 and Lean 4, 23; HOL98 and HOL4, 24; Coq/Rocq, 111. Several counts have a stated scope. They cover default usage, leaving out Candle for HOL Light, mizar-rs for Mizar, mmverify.py for Metamath, nanoda for Lean, the experimental kernel for HOL4 and coqchk/rocqchk for Coq. The Lean count also excludes native_decide. Each bug link comes with a second link to the Internet Archive Wayback Machine.
The author says the list includes many more soundness bugs for these programs than those mentioned in 2026 Paulson and 2026 Stérin, does not think any bug mentioned there is missing, but has probably missed some reports, and asks for corrections or additions. User-interface vulnerabilities are not included, although they can mislead a user about what has been proven in the same important way.
The page then turns to defences. One standard path is to minimize the trusted computing base, the part of a system that security reviewers need to check. HOL Light's proof-checking kernel is attractive here for its stability and simplicity, at only 400 lines of code, though that size says nothing about how carefully the code was reviewed or about bugs in the underlying programming language. Running a proof through several checkers, preferably each in its own isolated environment, can save the day when one has a bug. How well this stops attacks is unclear, since checkers sometimes share bugs.
A better answer to "Who watches the provers?" is a proof that a checker works correctly. In 2006, a close translation of the HOL Light kernel's inference rules, except those that introduce new definitions, was proven to generate only correct theorems, and HOL Light checked that proof. In 2022, a HOL Light clone called Candle was proven to allow only proofs of correct theorems, provided the CPU implements the instructions in its binary as expected. That proof was checked in HOL4. Also in 2022 came a computer-checked correctness proof for a standalone checker of HOL proofs in OpenTheory format. The author still finds it concerning to rely on large proof-checking binaries that are trusted because another large binary supposedly checked them, and wants more work on simplifying them.
Key facts
- Reported soundness bugs per program: HOL Light 3, Mizar 7, Metamath 9, Isabelle 20, Lean 3/4 23, HOL98/HOL4 24, Coq/Rocq 111, several with stated scope limits.
- Such bugs at least potentially let false statements pass the checker, and in many cases have been demonstrated to be exploitable, the author writes.
- The list leaves out user-interface vulnerabilities, and the author says some reports have probably been missed.
- Suggested safeguards include a small trusted computing base (HOL Light's kernel is 400 lines) and multiple checkers, though checkers sometimes share bugs.
- Candle, a HOL Light clone, was proven correct in 2022 under a CPU assumption, with the proof checked in HOL4.
Why it matters
A proof checker's job is to check every step, so a soundness bug goes to the core of that promise: a false statement can at least potentially get through. The page gathers links for seven families of tools in one place and, by its author's account, includes many more bugs for these programs than 2026 Paulson and 2026 Stérin mention. It also treats proof checking as a security problem, asking what has to be trusted and why.
Who it affects
Anyone relying on results checked by HOL Light, Mizar, Metamath, Isabelle, Lean 3 or Lean 4, HOL98 or HOL4, or Coq/Rocq has a reason to look. So do security reviewers, whose task is to check the trusted computing base, and people building proof checkers, since the author wants more work on simplifying large proof-checking binaries.
How to use it
Find your checker in the list and follow its report links, or the Wayback Machine copies beside them. Check the scope note first, because several counts cover default usage only and set aside a named alternative such as coqchk/rocqchk or nanoda.
For risk reduction, the page points to a few options. Keep the trusted computing base small. Run proofs through several checkers, ideally isolated from one another, which is particularly easy when they accept the same input language. Look at checkers with computer-checked correctness proofs, such as Candle or the 2022 standalone checker for OpenTheory-format HOL proofs. Corrections and additions to the list are invited.
How solid is it
This is a compiled list of links with the author's short commentary, in a version marked 20261125. The author describes the entries as what appear to be reports of soundness bugs and acknowledges that some have probably been missed. Exploitability is said to be demonstrated in many cases, which is not a claim about every entry.
The correctness proofs come with conditions. The 2006 result leaves out the rules for new definitions and assumes a large cardinal (Vω+ω is enough for HOL Light). The same paper has a variant without that assumption, which in turn omits the axiom of infinity from the logic being proven. The Candle result depends on the CPU behaving as expected.
Risks and caveats
The counts are not a security ranking. The list is sorted by number of reports, and the page makes no comparison of age, usage, scrutiny or severity. It also does not say whether any listed bug is still open or has been fixed, or that any specific published mathematical result is false because of one.
The suggested defences have limits too. A 400-line kernel can still sit on a buggy programming language. Multiple checkers sometimes share bugs. User-interface flaws fall outside the list altogether. And checking one large binary with another still leaves the author concerned.
“From a security perspective, it's still concerning to be relying on large proof-checking binaries, where the answer to why we're supposed to trust one binary is that the binary has supposedly been checked by another large proof-checking binary.”
— Author of the "False computer-checked proofs" page on cr.yp.to