CVE-2026-139817 — DeepSeek-AI DeepGEMM
Summary
A security flaw has been discovered in DeepSeek-AI DeepGEMM 2.8.1/2.8.2. The affected element is the function fp8_fp4_mqa_logits of the file csrc/apis/attention.hpp. The manipulation of the argument max_seqlen_k 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.
Severity breakdown
Medium · 6.9
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- no
- Impact
- low on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-787: Out-of-bounds Write
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| DeepSeek-AI DeepGEMM | 2.8.1, 2.8.2 | — |
References by type
Other references
Affected
- DeepSeek-AI DeepGEMM
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-139817?
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. Weakness type: Improper Restriction of Operations within the Bounds of a Memory Buffer (CWE-119).
How severe is CVE-2026-139817?
CVE-2026-139817 has a CVSS 4.0 base score of 6.9 (medium), from the CNA (vuldb.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-139817 being exploited?
Not as far as is known: CVE-2026-139817 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-139817?
DeepSeek-AI DeepGEMM 2.8.1, 2.8.2.
How do I fix CVE-2026-139817?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.