# CVE-2026-139817: DeepSeek-AI DeepGEMM attention.hpp fp8_fp4_mqa_logits out-of-bounds write

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-11-30T18:30:19.908Z
- Modified: 2026-12-01T14:18:15.477Z
- Weaknesses: CWE-119, CWE-787
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- DeepSeek-AI DeepGEMM: 2.8.1; 2.8.2

## Every score

- VulDB: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X`
- VulDB: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:C`
- VulDB: CVSS:3.0 7.3 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:C`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:ND/RL:ND/RC:C`

## References

- <https://vuldb.com/vuln/445441> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/445441/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-139817> (third-party-advisory)
- <https://vuldb.com/submit/1081815> (third-party-advisory)
- <https://github.com/deepseek-ai/DeepGEMM/issues/481> (issue-tracking)
- <https://github.com/deepseek-ai/DeepGEMM/> (product)

## Sources

- CVE List: [CVE-2026-139817](https://www.cve.org/CVERecord?id=CVE-2026-139817), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139817](https://nvd.nist.gov/vuln/detail/CVE-2026-139817), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139817 · Whole record: https://cve.day/CVE-2026-139817.json · Rebuilt by cve.day 2026-12-01T14:32:16.714Z
