CVE-2026-72704
CVE-2026-72704
The guard checker in Rocq Prover does not recheck the recursive tree representation of an inductive type parameter after that parameter has been changed by transport. A fixpoint may apply a rewrite along an equality between types to its recursive argument, which the guard checker accepts because the inductive type is preserved, while the recursive tree recorded for the parameter is altered. A second fixpoint that calls the first inherits the altered recursive tree without verification, so a call that is not structurally decreasing is accepted as terminating. The resulting non-terminating definition proves that a natural number equals its own successor and therefore False, from which any proposition follows. The demonstration uses two axioms that follow from univalence and are consistent with the calculus of inductive constructions, so the contradiction comes from the guard check rather than from the assumptions. A fix is proposed but not merged.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.002 (6.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 7th percentile — 6.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.002 · change: +0.001
Weakness classification (CWE)
References
- github.com/endrazine/rocq-cve-poc-22024 (exploit)
- github.com/rocq-prover/rocq (product)
- github.com/rocq-prover/rocq/issues/22024 (issue-tracking)
- github.com/rocq-prover/rocq/pull/22027 (issue-tracking, patch)
- VulnCheck Advisory: Rocq Prover through 9.2.0 Guard Checker Trusts Corrupted Recursive Tree After Transport (third-party-advisory)
Frequently asked questions
- What is CVE-2026-72704?
- CVE-2026-72704 is a medium-severity vulnerability, classified under Always-Incorrect Control Flow Implementation. CVSS score: 6.3/10. Published 2026-08-24.
- How severe is CVE-2026-72704?
- Medium severity. CVSS v3 base score is 6.3 out of 10.