Skip to main content

DeepGEMM EUVDEUVD-2026-139634

| CVE-2026-139817 MEDIUM
Buffer Overflow (CWE-119)
2026-11-30 cna@vuldb.com GHSA-v876-m9wg-x9gp
6.9
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach DeepGEMM attention API
  2. Delivery
    Supply oversized max_seqlen_k
  3. Exploit
    Trigger out-of-bounds write in fp8_fp4_mqa_logits
  4. Execution
    Corrupt adjacent memory
  5. Impact
    Crash or memory corruption impact

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that an attacker control (or influence) the max_seqlen_k argument supplied to the fp8_fp4_mqa_logits function in csrc/apis/attention.hpp, and requires that DeepGEMM 2.8.1 or 2.8.2 be in use. The realistic limiting factor is reachability: the affected code is a library/kernel API, so an attacker must have a path that forwards untrusted sequence-length input into this call (e.g., an inference service exposing the parameter). The input's AV:N 'remote' claim is not supported by any described network-facing service, so true unauthenticated remote reach against a default deployment is not established. No fixed version is available because the project has not responded.

Impact

This is a moderate-severity, low-urgency issue, not a top-tier priority. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores 6.9 with only partial impact across confidentiality, integrity and availability (VC:L/VI:L/VA:L), and the vuln.today decision label is 'this_month' rather than act_now or emergency. CONFLICTING SIGNAL: the vector asserts a network attack vector (AV:N) and 'attack remotely', but the described mechanism is manipulation of the max_seqlen_k argument to the fp8_fp4_mqa_logits function in a CUDA GEMM library (csrc/apis/attention.hpp) - a code-level/local API misuse, not an exposed network service. This AV:N rating from the VulDB CNA should be verified; realistically exploitation requires an attacker-controlled sequence-length value to reach the function, which is far more plausible in a local or hosted-inference context than over a raw network path. There is no CISA KEV listing, no EPSS score supplied, and no confirmed working exploit - only a GitHub issue report (#481) to which the project has not yet responded. Taken together: a real but bounded code-safety bug (out-of-bounds write / CWE-119), unproven in the wild, in a specialized library - prioritize as routine patch/review work, not emergency response.

Exploit ScenarioDerived

An attacker who can influence the max_seqlen_k parameter passed into fp8_fp4_mqa_logits (for example through a hosted inference endpoint or application that forwards untrusted sequence metadata into DeepGEMM) supplies an out-of-range value, triggering an out-of-bounds write in the attention kernel path. Depending on memory layout this corrupts adjacent GPU/host memory and could crash the process or potentially be shaped toward further impact. No verified working exploit code exists - only a public GitHub issue report describing the flaw.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 30, 2026

An out-of-bounds write exists in DeepSeek-AI's DeepGEMM FP8 kernel library, specifically in the fp8_fp4_mqa_logits function declared in csrc/apis/attention.hpp, where an insufficiently validated max_seqlen_k argument is used for buffer bounds in versions 2.8.1 and 2.8.2. A caller that forwards an attacker-influenced sequence-length value into this kernel can corrupt memory, giving limited impact to confidentiality, integrity and availability of the process performing inference. The project was notified via issue #481 and has not responded, so no vendor patch exists; no public exploit code has been identified at time of analysis, and the vendor-supplied CVSS 4.0 score of 6.9 (network) is more pessimistic than the assessed vector, which requires local access to the affected library call path.

RemediationAI

No vendor-released patch identified at time of analysis: DeepGEMM 2.8.1 and 2.8.2 remain the affected releases and the project has not responded to issue #481 (https://github.com/deepseek-ai/DeepGEMM/issues/481), so there is no fixed version to cite. Until an upstream fix lands, the effective control is at the call site rather than in the library: validate and clamp max_seqlen_k against the actual allocated key-buffer capacity before invoking fp8_fp4_mqa_logits, and never forward a client-supplied sequence length into this function without an explicit upper-bound check derived from the real tensor dimensions - the trade-off is that legitimate requests with unexpectedly large sequence lengths must be rejected or truncated, which can change model output for those requests. Where an inference service exposes sequence length as a request parameter, cap it at the configured maximum context at the API boundary so the value can never reach the kernel unchecked; the trade-off is reduced flexibility for callers and the need to keep the service-side cap in sync with the model's real context window. Restricting execution of inference workers that link DeepGEMM to trusted operators and trusted inputs reduces exposure but is a significant operational constraint and does not fix the underlying write. Monitor the project repository (https://github.com/deepseek-ai/DeepGEMM/) and the advisory entries at https://vuldb.com/vuln/445441 for a patched release and upgrade as soon as one is published.

Affected VersionsENISA

DeepGEMM 2.8.2
DeepGEMM 2.8.1

Affected Packages

euvd deepgemm no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

DeepGEMM is DeepSeek's high-performance GEMM/kernel library for FP8 (and FP4) matrix operations on modern NVIDIA GPUs, written largely in CUDA C++ with host-side wrapper headers under csrc/apis. The affected routine, fp8_fp4_mqa_logits, computes multi-query attention logits over quantized FP8/FP4 operands, and it takes a max_seqlen_k parameter that describes the maximum key sequence length used for indexing and shape assumptions in the kernel launch and in device-side buffer arithmetic. The flaw is classified as CWE-119 (improper restriction of operations within the bounds of a memory buffer): the parameter is trusted without adequate bounds validation, so a value outside the buffer's real capacity leads to an out-of-bounds write. The exact trigger preconditions and the precise buffer that is overrun are not described in the available sources; what is established is the vulnerable file/function/argument triple and the memory-safety class. Because this is a library/kernel API rather than a network service, reachability depends entirely on whether an embedding application (for example an inference server that accepts client-specified sequence lengths) passes untrusted input into this call. The CNA's CVSS 4.0 vector nonetheless rates it AV:N/PR:N, while the assessed vector (CVSS 3.1 AV:L/AC:L/PR:N/UI:N) reflects that no network-facing service is described and that local access to the calling code path is the realistic prerequisite. No CPE identifiers were supplied, so version scoping relies on the advisory text naming 2.8.1 and 2.8.2.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 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
vuln.today AI 5.9 MEDIUM

Argument manipulation in a library/kernel API implies a local/code-level vector (AV:L) rather than a network service; impacts are partial (C/I/A:L) given an out-of-bounds write with unproven escalation.

3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 61% exploitable
Prevalence
Low
niche, recently-released DeepSeek FP8 GEMM library for ML inference
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy