CertiK and Columbia Uncover 38 Hidden Bugs in AI's Core Math
CertiK and Columbia University researchers unveiled TensorLean on November 20, a framework that mathematically proves GPU kernel code is correct. Testing 149 compiled kernel instances, they verified 83 and found 38 distinct bugs across six libraries — including 23 in FlashAttention and two in DeepSeek's DeepGEMM.
- Original source: beincrypto.com.
- The source published it on Nov 26, 2026 at 1:49 AM.
- No second outlet has reported it yet. Treat it as a single-source claim.
CertiK and Columbia University announced TensorLean on November 20, a framework built to mathematically verify the correctness of production GPU kernels — the small programs handling the fundamental math behind modern AI. The team evaluated 149 compiled kernel instances, proved 83 met their mathematical specifications, and turned up 38 distinct bugs spread across six software libraries. The haul included 19 memory access errors and 13 numerical bugs.
FlashAttention, a widely used library that speeds up AI models, accounted for 23 of the bugs, while DeepSeek's DeepGEMM library carried two. One of the flaws slipped past 17,760 runs of relevant software tests. In FlashAttention-4, researchers found that some computing operations could overwrite data before other operations finished reading it. CertiK CEO and Columbia computer science professor Ronghui Gu said the effect was 'essentially making the AI blind to parts of the context it is supposed to be reading.'
The bugs are hard to pin down by design. Nineteen of the 23 FlashAttention issues only surfaced under specific combinations of input shapes and software features. 'The same kernel may behave differently depending on input sizes, sequence lengths, hardware architectures, and execution configurations,' Gu told BeInCrypto. Some bugs crash software outright; others quietly produce wrong calculations. CertiK has not yet determined whether these particular bugs hit commercial AI training runs or real chatbot responses.
Silent math errors carry a price tag. Gu sketched a hypothetical training run costing $100 million in compute, where repeating just 1% of that computation would add $1 million in compute costs alone — before engineering time, debugging or delays. Anthropic already got a taste of this in August 2025, when some Claude users saw English prompts answered with stray Thai or Chinese characters and generated code riddled with syntax errors. Anthropic's postmortem traced the mess to a performance optimization that broke probability calculations during response generation.
TensorLean leans on formal verification rather than conventional testing, which runs a program through scenarios and checks the output. The framework examines compiled GPU code and builds mathematical proofs in Lean, a language computers can independently check. The guarantees have boundaries: they cover specific calculations under defined conditions and numerical tolerances, and they can't stop AI hallucinations or guarantee factually accurate answers. CertiK plans to open-source TensorLean and publish the full research paper in December 2026, and Gu said leading AI companies have already approached the firm — best known for blockchain security — to verify their GPU kernels, especially when new models rely on freshly designed ones.
TopicsCertiK · Columbia University · TensorLean · Ronghui Gu · FlashAttention · DeepSeek · Anthropic · Google DeepMind
Source: beincrypto.com
Written by AI from verified reporting.
More stories
- Tech & AI cryptopolitan.com 2 viewsOpenAI Scraps Pro Usage Cuts, Puts ChatGPT and Codex on One Token Budget
- Tech & AI 9to5mac.com Caught by @buta 3 viewsApple Pulls Talkie AI App Worldwide After Child Safety Investigation
- Tech & AI bleepingcomputer.com Caught by @ghoryoss 0 viewsDrupal installer flaw lets attackers seize sites, and it's already happening
- Tech & AI nytimes.com 2 viewsTrump Cheered Nvidia's 30% Pop. Two Days of Losses Followed.

