Skip to main content
VulnerabilityPublished Updated

CVE-2026-72844: leanprover lean4 · Type Confusion

Affects leanprover lean4Source CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.3 Medium : upgrade to 4.32.2 when convenient.

Data as of 17 Nov 2026, 20:25 UTC

CVSS 3.1 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 3.16.3
CNA (VulnCheck)CVSS 4.06.8
EPSS
0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.32.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.

What to do

Upgrade leanprover lean4 to 4.32.2.

Affected software

ProductAffectedFixed in
leanproverlean4Affected
  • <4.32.2
  • =4.33.0-rc1
Fixed in
  • 4.32.2
GitHublean4pkg:github/lean4Other threatsAffected
  • <4.32.2
  • =4.33.0-rc1
Fixed in
  • 4.32.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Lean 4 version 4.32.2. Users should upgrade to version 4.32.2 or later to remediate this vulnerability. Since exploitation requires running a metaprogram in-process, avoiding untrusted or malicious metaprograms or dependencies can reduce risk. No other mitigations are indicated.

Description

CVE-2026-72844 is a type confusion vulnerability in the Lean 4 kernel where the system fails to verify that the structure named in a projection expression matches the type of the value being projected. This allows a metaprogram running within the Lean process to register an ill-typed nested inductive type, resulting in a proof of False without axioms, from which any proposition can be derived. Exploitation requires running a metaprogram in-process, such as building a project or importing a malicious dependency. The flaw is fixed in version 4.32.2.

References

Community reviews

Loading reviews…