A joint study by CertiK and Columbia University identified 38 bugs in libraries that perform critical computations for modern artificial intelligence systems. Among them are two vulnerabilities in DeepSeek's DeepGEMM library and 23 bugs in FlashAttention, a popular technology that accelerates the operation of AI models.
One of the discovered bugs did not manifest even after 17,760 test runs of the software. Under certain conditions, this vulnerability caused the AI model to ignore important information during data processing.
For an industry that is pouring billions of dollars into computing power, the question of machine accuracy is coming to the fore.
On November 20, CertiK and Columbia University announced TensorLean — a framework for mathematical verification of the correctness of industrial GPU kernels. The researchers tested 149 compiled kernels: they proved that 83 of them conform to mathematical specifications, and found another 38 bugs in six software libraries.
Among the identified bugs are 19 memory access bugs and 13 computational errors. The most illustrative was a vulnerability in FlashAttention-4 — a library that optimizes information processing in AI models.
The researchers found that certain computations could overwrite data before other operations finished reading that information. As a result, the AI literally "goes blind" and fails to notice parts of the context it should be analyzing.
The hidden problem of modern AI models
When a user asks a question to an AI chatbot, tens of thousands of mathematical operations take place under the hood. A significant portion of these computations is performed by small programs — so-called GPU kernels. Developers constantly refine such programs to speed up computations and reduce the cost of running AI, often by parallelizing operations or making compromises on calculation accuracy.
Such optimizations can lead to errors that are extremely difficult to notice. Some of the discovered bugs cause software failures, while others silently distort computations.
What is particularly dangerous is that the program may continue to operate as usual while producing incorrect results. Such an answer looks quite plausible to the user, which complicates the detection of such computational errors.
A computational error can cost millions
For companies working with AI, computational reliability is also a matter of economics. Training modern AI models requires major investments in hardware, electricity, and engineers. An unnoticed error can render all this work worthless — a bug will corrupt the calculations before developers realize there is a problem.
A hypothetical training run costing $100 million in compute, if at least 1% of the work needs to be repeated, would require an additional $1 million in costs — not counting engineers' time, debugging, or delays in model development.
TensorLean brings the principle of formal verification to AI computational software. The system analyzes compiled GPU code and builds mathematical proofs using the Lean language, which allows computers to independently verify the logical soundness of mathematical reasoning. Developers will be able to run such verification every time they update a program.
CertiK plans to open-source TensorLean and publish the full scientific report in December 2026. Leading AI developers have already approached the company, wanting to verify their GPU kernels, especially if their new models rely on proprietary kernels.
Cryptalist analysis: The identified vulnerabilities in fundamental AI acceleration libraries demonstrate a systemic risk that the market currently underestimates: hidden computational errors can silently distort training and inference results, and therefore directly affect the capitalization of infrastructure costs. The emergence of formal verification like TensorLean is creating a new segment of computational stack auditing that could become a compliance standard for institutional players in the AI sector.