GCVE-1988-2026-0447

Vulnerability from gna-1988 – Published: 2026-11-02 07:29 – Updated: 2026-11-02 07:29
VLAI
Title
[Bugtraq] CVE-2020-37268: Rocq/Coq Print Assumptions omits unsafe universe checking inlined through Parameter Inline (0 = 1 demonstrated) — unfixed since 2020
Summary
1. Summary ========== A soundness-audit bypass in the Rocq (formerly Coq) module system allows construction of a proof of False that Print Assumptions reports as closed under the global context — no axioms, no unsafe flags visible. When a module type declares Parameter Inline and functor application inlines the parameter's body, the metadata recording that the original definition was produced under Unset Universe Checking is dropped. Print Assumptions therefore sees no trace of the unsafe context, while the universe graph silently accepts inconsistent universe constraints from the inlined body. This allows Girard's / Hurkens' paradox to prove False via universe polymorphism. coqchk does reject the resulting compiled .vo file, but the in-process assumption audit (Print Assumptions) — the tool most Rocq/Coq users rely on — does not catch the issue. This bug has been open since 2020 and is documented in the project's own dev/doc/critical-bugs.md. No fix has been merged as of Rocq 9.2.0. 2. Context ========== Rocq (formerly Coq) is the reference implementation of the Calculus of Inductive Constructions and one of the most widely deployed proof assistants. Print Assumptions is the standard command users and CI pipelines run to verify that a proof does not depend on axioms or unsafe flags. It is the primary integrity check in most Rocq/Coq workflows. A bypass that makes Print Assumptions report a universe-inconsistent proof as clean undermines the trust model at the workflow level: the kernel itself is not unsound, but the tool users rely on to audit proofs produces silently incorrect output. Formally verified systems certified under Common Criteria (ISO 15408) or DO-178C (airborne software) that use Print Assumptions as part of their verification chain are affected. 3. Impact ========= - Any workflow that relies on Print Assumptions as the sole integrity check — which is the default for most Rocq/Coq projects - Formally verified compilers (CompCert) - Verified OS kernels (CertiKOS) - Separation logic frameworks (Iris) - Mathematical libraries (MathComp) - Proof-carrying code: a malicious .v file in a dependency could introduce unsound declarations that pass assumption auditing - Verified smart contracts (ConCert) - Any project not routinely running coqchk on compiled output 4. Proof of Concept =================== A Docker-reproducible PoC is available: git clone https://github.com/endrazine/rocq-cve-poc-12155 cd rocq-cve-poc-12155 docker build -t rocq-cve-poc-12155 . docker run --rm rocq-cve-poc-12155 On a vulnerable version (Rocq 8.11 – 9.2.0, all Coq 8.x with the module system), the output confirms the proof of 0 = 1 with Print Assumptions reporting it as closed (no axioms, no unsafe flags). 5. Root Cause ============= When a module type declares Parameter Inline, functor application inlines the parameter's body into the calling context. This inlining discards the metadata recording that the original definition was produced under Unset Universe Checking. The universe graph therefore accepts inconsistent universe constraints from the inlined body, and Print Assumptions sees no trace of the unsafe context. CWE-778: Insufficient Logging — the assumption-tracking subsystem fails to record the safety-critical flag state through the module inlining path. 6. Scoring ========== CVSS 3.1: AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N — 7.1 (High) 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 — 6.8 (Medium) 7. CWE ====== CWE-778: Insufficient Logging 8. CVE ====== CVE-2020-37268 (assigned by VulnCheck as CNA) 9. Affected Versions ==================== Coq 8.11 – 8.20 (all versions with the module system) Rocq Prover 8.20 – 9.2.0 Fixed in: UNFIXED as of Rocq 9.2.0. 10. Mitigation ============== - No patched version is available. - Run coqchk on all compiled .vo files before trusting proofs in production — coqchk catches the universe inconsistency that Print Assumptions misses. - Audit module dependencies for use of Parameter Inline compiled under Unset Universe Checking. 11. References ============== Bug report: https://github.com/rocq-prover/rocq/issues/12155 Critical bugs: https://github.com/rocq-prover/rocq/blob/master/dev/doc/critical-bugs.md PoC: https://github.com/endrazine/rocq-cve-poc-12155 VulnCheck: https://www.vulncheck.com/advisories/coq-and-rocq-prover-print-assumptions-o... NVD: https://nvd.nist.gov/vuln/detail/CVE-2020-37268 12. Timeline ============ 2020 Bug reported by Jason Gross (coq/coq#12155) 2020–2026 Bug remains open, documented in critical-bugs.md 2026-08-24 CVE-2020-37268 published by VulnCheck 2026-08-24 Docker-reproducible PoC published 13. Credit ========== Bug discovery: Jason Gross PoC packaging: Jonathan Brossard (@endrazine) — MOABI / PSIRT.com
Severity
No CVSS data available.
CWE
Assigner
VULNARCHIVE GNA GNA-1988
GNA scorecard E 38/100 over 556 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
rocq-prover rocq Affected: unknown
guessed Create a notification for this product.
Relationships
analysis GCVE-1988-2026-0447 (this record)

{
  "containers": {
    "cna": {
      "affected": [
        {
          "product": "rocq",
          "vendor": "rocq-prover",
          "versions": [
            {
              "status": "affected",
              "version": "unknown"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Jonathan Brossard"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "1. Summary\n==========\nA soundness-audit bypass in the Rocq (formerly Coq) module system\nallows construction of a proof of False that Print Assumptions reports\nas closed under the global context \u2014 no axioms, no unsafe flags visible.\nWhen a module type declares Parameter Inline and functor application\ninlines the parameter\u0027s body, the metadata recording that the original\ndefinition was produced under Unset Universe Checking is dropped. Print\nAssumptions therefore sees no trace of the unsafe context, while the\nuniverse graph silently accepts inconsistent universe constraints from\nthe inlined body. This allows Girard\u0027s / Hurkens\u0027 paradox to prove\nFalse via universe polymorphism.\ncoqchk does reject the resulting compiled .vo file, but the in-process\nassumption audit (Print Assumptions) \u2014 the tool most Rocq/Coq users\nrely on \u2014 does not catch the issue.\nThis bug has been open since 2020 and is documented in the project\u0027s\nown dev/doc/critical-bugs.md. No fix has been merged as of Rocq 9.2.0.\n2. Context\n==========\nRocq (formerly Coq) is the reference implementation of the Calculus of\nInductive Constructions and one of the most widely deployed proof\nassistants. Print Assumptions is the standard command users and CI\npipelines run to verify that a proof does not depend on axioms or unsafe\nflags. It is the primary integrity check in most Rocq/Coq workflows.\nA bypass that makes Print Assumptions report a universe-inconsistent\nproof as clean undermines the trust model at the workflow level: the\nkernel itself is not unsound, but the tool users rely on to audit proofs\nproduces silently incorrect output.\nFormally verified systems certified under Common Criteria (ISO 15408) or\nDO-178C (airborne software) that use Print Assumptions as part of their\nverification chain are affected.\n3. Impact\n=========\n- Any workflow that relies on Print Assumptions as the sole integrity\ncheck \u2014 which is the default for most Rocq/Coq projects\n- Formally verified compilers (CompCert)\n- Verified OS kernels (CertiKOS)\n- Separation logic frameworks (Iris)\n- Mathematical libraries (MathComp)\n- Proof-carrying code: a malicious .v file in a dependency could\nintroduce unsound declarations that pass assumption auditing\n- Verified smart contracts (ConCert)\n- Any project not routinely running coqchk on compiled output\n4. Proof of Concept\n===================\nA Docker-reproducible PoC is available:\ngit clone https://github.com/endrazine/rocq-cve-poc-12155\ncd rocq-cve-poc-12155\ndocker build -t rocq-cve-poc-12155 .\ndocker run --rm rocq-cve-poc-12155\nOn a vulnerable version (Rocq 8.11 \u2013 9.2.0, all Coq 8.x with the\nmodule system), the output confirms the proof of 0 = 1 with Print\nAssumptions reporting it as closed (no axioms, no unsafe flags).\n5. Root Cause\n=============\nWhen a module type declares Parameter Inline, functor application\ninlines the parameter\u0027s body into the calling context. This inlining\ndiscards the metadata recording that the original definition was\nproduced under Unset Universe Checking. The universe graph therefore\naccepts inconsistent universe constraints from the inlined body, and\nPrint Assumptions sees no trace of the unsafe context.\nCWE-778: Insufficient Logging \u2014 the assumption-tracking subsystem\nfails to record the safety-critical flag state through the module\ninlining path.\n6. Scoring\n==========\nCVSS 3.1: AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N \u2014 7.1 (High)\nCVSS 4.0: AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N \u2014 6.8\n(Medium)\n7. CWE\n======\nCWE-778: Insufficient Logging\n8. CVE\n======\nCVE-2020-37268 (assigned by VulnCheck as CNA)\n9. Affected Versions\n====================\nCoq 8.11 \u2013 8.20 (all versions with the module system)\nRocq Prover 8.20 \u2013 9.2.0\nFixed in: UNFIXED as of Rocq 9.2.0.\n10. Mitigation\n==============\n- No patched version is available.\n- Run coqchk on all compiled .vo files before trusting proofs in\nproduction \u2014 coqchk catches the universe inconsistency that Print\nAssumptions misses.\n- Audit module dependencies for use of Parameter Inline compiled under\nUnset Universe Checking.\n11. References\n==============\nBug report:       https://github.com/rocq-prover/rocq/issues/12155\nCritical bugs:\nhttps://github.com/rocq-prover/rocq/blob/master/dev/doc/critical-bugs.md\nPoC:              https://github.com/endrazine/rocq-cve-poc-12155\nVulnCheck:\nhttps://www.vulncheck.com/advisories/coq-and-rocq-prover-print-assumptions-o...\nNVD:              https://nvd.nist.gov/vuln/detail/CVE-2020-37268\n12. Timeline\n============\n2020        Bug reported by Jason Gross (coq/coq#12155)\n2020\u20132026   Bug remains open, documented in critical-bugs.md\n2026-08-24  CVE-2020-37268 published by VulnCheck\n2026-08-24  Docker-reproducible PoC published\n13. Credit\n==========\nBug discovery:   Jason Gross\nPoC packaging:   Jonathan Brossard (@endrazine) \u2014 MOABI / PSIRT.com"
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-778",
              "description": "CWE-778",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-02T07:29:48Z",
        "orgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
        "shortName": "VULNARCHIVE"
      },
      "references": [
        {
          "tags": [
            "technical-description",
            "exploit"
          ],
          "url": "https://vuln.freearchive.org/archive/item/2e2d0639c85a38a0f3fd0374d648e1cc4beeed83bb7b1d2eece84cd3ad4706bc"
        },
        {
          "tags": [
            "technical-description"
          ],
          "url": "https://lists.securityfocus.com/hyperkitty/list/bugtraq@bugtraq.ai/message/4V2CUCS3QXJYDNRTCOIZ6JUAGSVILKEY/"
        },
        {
          "url": "https://github.com/endrazine/rocq-cve-poc-12155"
        },
        {
          "url": "https://github.com/rocq-prover/rocq/blob/master/dev/doc/critical-bugs.md"
        },
        {
          "url": "https://github.com/rocq-prover/rocq/issues/12155"
        },
        {
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-37268"
        },
        {
          "url": "https://www.vulncheck.com/advisories/coq-and-rocq-prover-print-assumptions-omits-unsafe-universe-checking-inlined-through-parameter-inline"
        }
      ],
      "source": {
        "defect": [
          "4ac7b1ae-2514-47a1-b751-3be80c388a1b%40gmail.com"
        ],
        "discovery": "EXTERNAL"
      },
      "title": "[Bugtraq] CVE-2020-37268: Rocq/Coq Print Assumptions omits unsafe universe checking inlined through Parameter Inline (0 = 1 demonstrated) \u2014 unfixed since 2020",
      "x_gcve": [
        {
          "recordType": "analysis",
          "relationships": [
            {
              "destId": "CVE-2020-37268",
              "type": "related"
            }
          ],
          "vulnId": "GCVE-1988-2026-0447",
          "x_vulnarchive": {
            "archiveUrl": "https://vuln.freearchive.org/archive/item/2e2d0639c85a38a0f3fd0374d648e1cc4beeed83bb7b1d2eece84cd3ad4706bc",
            "automated": true,
            "contentSha256": "2e2d0639c85a38a0f3fd0374d648e1cc4beeed83bb7b1d2eece84cd3ad4706bc",
            "evidenceScore": 10,
            "messageId": "4ac7b1ae-2514-47a1-b751-3be80c388a1b%40gmail.com",
            "originalUrl": "https://lists.securityfocus.com/hyperkitty/list/bugtraq@bugtraq.ai/message/4V2CUCS3QXJYDNRTCOIZ6JUAGSVILKEY/",
            "policy": "vulnarchive-1",
            "sourceFormat": "text/html",
            "sourcePublishedAt": "2026-11-02T07:29:48Z"
          }
        },
        {
          "recordType": "advisory",
          "vulnId": "gcve-1988-2026-0447"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
    "assignerShortName": "VULNARCHIVE",
    "datePublished": "2026-11-02T07:29:48Z",
    "dateUpdated": "2026-11-02T07:29:48Z",
    "state": "PUBLISHED",
    "vulnId": "GCVE-1988-2026-0447"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.