CVE-2026-72704: Always-Incorrect Control Flow Implementation in rocq-prover rocq
CVE-2026-72704 is a medium severity vulnerability in rocq-prover's rocq component affecting versions up to and including 9.2.0. The flaw involves the guard checker failing to revalidate the recursive tree representation of an inductive type parameter after it is modified by transport. This allows non-terminating definitions to be accepted as terminating, leading to logical contradictions within the system. A fix has been proposed but not yet merged, and no official patch is currently available.
AI Analysis
Technical Summary
The vulnerability in rocq-prover's rocq arises because the guard checker does not recheck the recursive tree representation of an inductive type parameter after it has been changed by transport. Specifically, a fixpoint may rewrite its recursive argument along an equality between types, which the guard checker accepts since the inductive type remains the same, but the recursive tree is altered. A second fixpoint calling the first inherits this altered recursive tree without verification, allowing a call that is not structurally decreasing to be accepted as terminating. This flaw enables the construction of a non-terminating definition that proves a natural number equals its own successor and thus False, from which any proposition can be derived. The demonstration relies on two axioms consistent with the calculus of inductive constructions, indicating the contradiction stems from the guard check implementation rather than the axioms themselves. Although a fix has been proposed, it has not been merged into the codebase.
Potential Impact
This vulnerability undermines the logical soundness of the rocq-prover system by allowing non-terminating definitions to be accepted as terminating. This leads to the derivation of false propositions, effectively breaking the trustworthiness of proofs constructed using the affected versions. The impact is significant within the context of formal verification and theorem proving, as it compromises the integrity of proofs relying on the system.
Mitigation Recommendations
No official fix or patch is currently available for this vulnerability. A fix has been proposed but not merged. Users should monitor the vendor's advisories for updates regarding an official remediation. Until a fix is released, caution is advised when using affected versions, especially in contexts requiring high assurance of proof correctness.
CVE-2026-72704: Always-Incorrect Control Flow Implementation in rocq-prover rocq
Description
CVE-2026-72704 is a medium severity vulnerability in rocq-prover's rocq component affecting versions up to and including 9.2.0. The flaw involves the guard checker failing to revalidate the recursive tree representation of an inductive type parameter after it is modified by transport. This allows non-terminating definitions to be accepted as terminating, leading to logical contradictions within the system. A fix has been proposed but not yet merged, and no official patch is currently available.
CVSS v4.0
Score 6.8medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in rocq-prover's rocq arises because the guard checker does not recheck the recursive tree representation of an inductive type parameter after it has been changed by transport. Specifically, a fixpoint may rewrite its recursive argument along an equality between types, which the guard checker accepts since the inductive type remains the same, but the recursive tree is altered. A second fixpoint calling the first inherits this altered recursive tree without verification, allowing a call that is not structurally decreasing to be accepted as terminating. This flaw enables the construction of a non-terminating definition that proves a natural number equals its own successor and thus False, from which any proposition can be derived. The demonstration relies on two axioms consistent with the calculus of inductive constructions, indicating the contradiction stems from the guard check implementation rather than the axioms themselves. Although a fix has been proposed, it has not been merged into the codebase.
Potential Impact
This vulnerability undermines the logical soundness of the rocq-prover system by allowing non-terminating definitions to be accepted as terminating. This leads to the derivation of false propositions, effectively breaking the trustworthiness of proofs constructed using the affected versions. The impact is significant within the context of formal verification and theorem proving, as it compromises the integrity of proofs relying on the system.
Mitigation Recommendations
No official fix or patch is currently available for this vulnerability. A fix has been proposed but not merged. Users should monitor the vendor's advisories for updates regarding an official remediation. Until a fix is released, caution is advised when using affected versions, especially in contexts requiring high assurance of proof correctness.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-10T13:02:20.829Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a8ca814acd9273b4915058e
Added to database: 08/24/2026, 20:22:44 UTC
Last enriched: 08/24/2026, 20:37:40 UTC
Last updated: 08/24/2026, 20:52:57 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.