Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-72704: Always-Incorrect Control Flow Implementation in rocq-prover rocq

0
Medium
VulnerabilityCVE-2026-72704cvecve-2026-72704
Published: 08/24/2026 (08/24/2026, 20:08:31 UTC)
Source: CVE Database V5
Vendor/Project: rocq-prover
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →cve
rocq
pkg:github/rocq
Affected versions
<=9.2.0

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

AILast updated: 08/24/2026, 20:37:40 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses