PT-2026-79074 · Lean 4 · Lean4
CVSS v4.0
6.8
Medium
| Vector | AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Lean 4 (affected versions not specified)
Description
The kernel fails to verify that the structure named in a projection expression matches the type of the value being projected. Additionally, the
environment::add inductive function in src/kernel/inductive.cpp does not type check nested inductive applications replaced by auxiliary types, allowing parametric arguments to bypass checking. A metaprogram running in-process, such as through a malicious Lake dependency or during project builds, can register an ill-typed nested inductive. This is achieved by applying a .proj C 0 projection to a value of an unrelated type W. This leads to type confusion, enabling a proof of False from which any proposition can be derived. The issue can be triggered by padding expressions to cause hash and depth collisions, which bypasses kernel caching.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Type Confusion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Lean4