CVE-2026-72704
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.
Weakness
- CWE-670: Always-Incorrect Control Flow Implementation
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-08-25 |
Timeline
- 2026-08-24Published by the CNA20:08 UTC
- 2026-08-25CISA SSVC decision recorded1 day after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| rocq-prover rocq | from 0 through 9.2.0no fix listed | not listed |
References
- https://github.com/rocq-prover/rocq/pull/22027
- https://github.com/endrazine/rocq-cve-poc-22024
- http://www.openwall.com/lists/oss-security/2026/10/26/5
- https://github.com/rocq-prover/rocq
- https://github.com/rocq-prover/rocq/issues/22024
- https://www.vulncheck.com/advisories/rocq-prover-through-guard-checker-trusts-corrupted-recursive-tree-after-transport
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-72704'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-72704'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-72704'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-72704'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).