6.8medium
Rocq Prover before 9.2.0 Guard Checker Accepts Fixpoint Passed as a Higher-Order Argument
- Severity
- 6.8medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.13% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
The guard checker in Rocq Prover does not follow recursive calls made through a fixpoint's own arguments. A fixpoint may pass itself as a higher-order argument to a second fixpoint, which then applies it to a value that is not a subterm of the structural argument. Passing the recursive function to a plain definition is rejected because the checker unfolds the definition and observes the call, but passing it to a fixpoint is accepted because higher-order recursive calls through fixpoint arguments are not tracked. This admits a type that is definitionally equal to its own negation, so self-application produces False in purely definitional code, without tactics, axioms, plugins or unsafe flags, and Print Assumptions reports the result as closed under the global context. Fixed in Rocq 9.2.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rocq-prover rocq | before 9.2.0 | CVE List |
All scores
| VulnCheck | 6.8medium CVSS:4.0 | 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 | 6.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
The guard checker in Rocq Prover does not follow recursive calls made through a fixpoint's own arguments. A fixpoint may pass itself as a higher-order argument to a second fixpoint, which then applies it to a value that is not a subterm of the structural argument. Passing the recursive function to a plain definition is rejected because the checker unfolds the definition and observes the call, but passing it to a fixpoint is accepted because higher-order recursive calls through fixpoint arguments are not tracked. This admits a type that is definitionally equal to its own negation, so self-application produces False in purely definitional code, without tactics, axioms, plugins or unsafe flags, and Print Assumptions reports the result as closed under the global context. Fixed in Rocq 9.2.0.
NVD (es)
El verificador de guardas en Rocq Prover no sigue las llamadas recursivas realizadas a través de los propios argumentos de un punto fijo. Un punto fijo puede pasarse a sí mismo como un argumento de orden superior a un segundo punto fijo, el cual luego lo aplica a un valor que no es un subtérmino del argumento estructural. Pasar la función recursiva a una definición simple es rechazado porque el verificador despliega la definición y observa la llamada, pero pasarlo a un punto fijo es aceptado porque las llamadas recursivas de orden superior a través de argumentos de punto fijo no son rastreadas. Esto admite un tipo que es definicionalmente igual a su propia negación, por lo que la autoaplicación produce Falso en código puramente definicional, sin tácticas, axiomas, plugins o flags inseguros, y Print Assumptions informa el resultado como cerrado bajo el contexto global. Corregido en Rocq 9.2.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-72705 changed 2026-10-26 | CVE Terms of Use |
| NVD | CVE-2026-72705 changed 2026-10-26 | Public domain |