CVE-2026-72704
Rocq Prover through 9.2.0 Guard Checker Trusts Corrupted Recursive Tree After Transport
- State
- Published
- Severity
- 6.8 Medium
- Published
- Aug 24, 2026
- Updated
- Oct 26, 2026
- Reserved
- Aug 10, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.8 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 6.3 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N | VulnCheck |
Weaknesses
- CWE-670 Always-Incorrect Control Flow Implementation
Affected Products
| Product | Versions |
|---|---|
rocqrocq-prover |
|
References
- https://github.com/rocq-prover/rocqproduct
- https://github.com/rocq-prover/rocq/issues/22024issue-tracking
- https://github.com/rocq-prover/rocq/pull/22027issue-trackingpatch
- https://github.com/endrazine/rocq-cve-poc-22024exploit
- VulnCheck Advisory: Rocq Prover through 9.2.0 Guard Checker Trusts Corrupted Recursive Tree After Transportthird-party-advisory
- http://www.openwall.com/lists/oss-security/2026/10/26/5
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.