CVE-2026-139817: DeepSeek-AI DeepGEMM attention.hpp fp8_fp4_mqa_logits out-of-bounds write
A security flaw has been discovered in DeepSeek-AI DeepGEMM 2.8.1/2.8.2. The affected element is the function fp8fp4mqalogits of the file csrc/apis/attention.hpp. The manipulation of the argument maxseqlenk results in out-of-bounds write. It is possible to launch the attack remotely. The project was informed of the problem early through an issue report but has not responded yet.
Affected Software
Event History
Frequently Asked Questions
Which releases are identified as affected?
DeepGEMM versions 2.8.1 and 2.8.2 are identified as affected.
Does exploitation require authentication or user interaction?
The supplied CVSS vector indicates no privileges are required and no user interaction is required. The issue is described as remotely exploitable.
What attacker-controlled input is involved?
The flaw is triggered through manipulation of the max_seqlen_k argument to fp8_fp4_mqa_logits in csrc/apis/attention.hpp, leading to an out-of-bounds write.
Is a fix available if affected systems cannot be patched?
No fix or workaround is provided in the available data. The project was reportedly notified through an issue report but had not responded at the time of publication.
How can teams determine whether they may be affected?
Check whether the deployment uses DeepGEMM 2.8.1 or 2.8.2 and invokes fp8_fp4_mqa_logits from csrc/apis/attention.hpp. The available data does not provide a runtime detection method or indicators of compromise.