๐Ÿ” CVE Alert

CVE-2026-72704

MEDIUM 6.3

Rocq Prover through 9.2.0 Guard Checker Trusts Corrupted Recursive Tree After Transport

CVSS Score
6.3
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-670
Vendor rocq-prover
Product rocq
Published Aug 24, 2026
Stay Ahead of the Next One

Get instant alerts for rocq-prover rocq

Be the first to know when new medium vulnerabilities affecting rocq-prover rocq are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
None
Integrity
High
Availability
None

Affected Versions

rocq-prover / rocq
0 โ‰ค 9.2.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/rocq-prover/rocq github.com: https://github.com/rocq-prover/rocq/issues/22024 github.com: https://github.com/rocq-prover/rocq/pull/22027 github.com: https://github.com/endrazine/rocq-cve-poc-22024 vulncheck.com: https://www.vulncheck.com/advisories/rocq-prover-through-guard-checker-trusts-corrupted-recursive-tree-after-transport

Credits

Yann Leray ๐Ÿ” Jonathan Brossard (MOABI)