CVE-2020-37268
Coq and Rocq Prover Print Assumptions Omits Unsafe Universe Checking Inlined Through Parameter Inline
- State
- Published
- Severity
- 6.8 Medium
- Published
- Aug 24, 2026
- Updated
- Oct 26, 2026
- Reserved
- Aug 19, 2026
Description
Print Assumptions does not report that a definition was produced while universe checking was disabled when that definition reaches the caller through Parameter Inline in a module type. Applying a functor inlines the body of the parameter, and the inlining drops the record that the term was built under Unset Universe Checking, so the resulting constant carries no trace of the unsafe operation. A module implementation can therefore prove False using a universe inconsistency, expose it through an inlined parameter, and have Print Assumptions report the dependent proof as closed under the global context. Because Print Assumptions is the in-process audit used to confirm that a development rests on no unexpected assumptions, a dependency built this way passes that audit while proving arbitrary propositions. The standalone checker coqchk does reject the resulting compiled file. The project records this in dev/doc/critical-bugs.md under non-fixed bugs and rates the risk as moderate when coqchk is not used.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.8 Medium | 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 |
| 3.1 | 6.3 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N | VulnCheck |
Weaknesses
- CWE-778 Insufficient Logging
Affected Products
| Product | Versions |
|---|---|
rocqrocq-prover |
|
References
- https://github.com/rocq-prover/rocqproduct
- https://github.com/rocq-prover/rocq/issues/12155issue-tracking
- https://github.com/rocq-prover/rocq/blob/master/dev/doc/critical-bugs.mdtechnical-description
- https://github.com/endrazine/rocq-cve-poc-12155exploit
- VulnCheck Advisory: Coq and Rocq Prover Print Assumptions Omits Unsafe Universe Checking Inlined Through Parameter Inlinethird-party-advisory
- http://www.openwall.com/lists/oss-security/2026/10/26/8
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.