☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2025-70999

CVE-2025-70999 Denial of Service in Oneflow
📅 PUBLISHED: 2026-01-28 00:00 UTC 🔄 UPDATED: 2026-10-02 19:31 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.42%
👁️
0.42% probability
10.5× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: UNKNOWN / CHECK VENDOR
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
7.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-70999 is a denial-of-service vulnerability in the OneFlow machine learning framework, version 0.9.0. The flaw resides in the flow.cuda.get_device_capability() function, which fails to properly validate GPU device IDs provided by the user. An attacker with local access to a system running OneFlow can supply a crafted, out-of-range device ID, causing the function to crash or hang, leading to a denial of service. The vulnerability has a CVSS score of 0.0 (placeholder) but is assessed as medium severity due to the local attack vector and potential for service disruption. No public exploit code or patch is currently available.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

OneFlow is a PyPI package (oneflow) used for deep learning. This vulnerability affects the supply chain as users who install version 0.9.0 from PyPI are exposed. The package is not widely used but is critical for organizations relying on it for ML workloads. No malicious package versions have been reported, but the lack of a patch increases supply chain risk.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Local (L) – Requires local access to the system.
  • Attack Complexity (AC): Low (L) – No special conditions needed.
  • Privileges Required (PR): Low (L) – Attacker needs user-level access.
  • User Interaction (UI): None (N) – No user action required.
  • Scope (S): Unchanged (U) – Vulnerability does not affect other components.
  • Confidentiality (C): None (N) – No data exposure.
  • Integrity (I): None (N) – No data modification.
  • Availability (A): High (H) – Service becomes unavailable.

Threat Level: Medium. Exploitation requires local access but can disrupt ML training/inference pipelines.

Deep Dive & Mechanics

The vulnerability is in the flow.cuda.get_device_capability() function, which queries the compute capability of a CUDA device. The function accepts a device ID as an integer argument. In the vulnerable code, there is no bounds checking on the device ID before it is passed to the CUDA runtime API. If an attacker provides a device ID that is negative or exceeds the number of available GPUs, the CUDA driver may return an error that is not handled, causing the OneFlow process to crash or enter an infinite loop.

The root cause is improper input validation (CWE-20). The function should validate that the device ID is within the range [0, num_devices - 1] before calling the CUDA API.

Vulnerable vs. Patched Code

Vulnerable Code (OneFlow v0.9.0):

def get_device_capability(device_id: int) -> tuple:
    # No validation of device_id
    major, minor = cuda_runtime_get_device_capability(device_id)
    return major, minor

Patched Code (Hypothetical):

def get_device_capability(device_id: int) -> tuple:
    num_devices = cuda_runtime_get_device_count()
    if device_id < 0 or device_id >= num_devices:
        raise ValueError(f"Invalid device ID: {device_id}. Must be between 0 and {num_devices - 1}.")
    major, minor = cuda_runtime_get_device_capability(device_id)
    return major, minor

Exploitation & Lab Setup

Red Team

Prerequisites: Local user access to a system running OneFlow v0.9.0 with CUDA drivers installed.

Exploit Steps:

  1. Identify the OneFlow process (e.g., ps aux | grep oneflow).
  2. Execute a Python script that calls the vulnerable function with a crafted device ID:
    import oneflow as flow
    # Trigger DoS with negative device ID
    flow.cuda.get_device_capability(-1)
    # Or with an out-of-range positive ID
    flow.cuda.get_device_capability(9999)
    
  3. The OneFlow process will crash or become unresponsive, causing denial of service.

Expected Outcome: The OneFlow service stops responding to legitimate requests.

Blue Team

Detection:

  • Monitor for abnormal process crashes or hangs in OneFlow.
  • Look for logs containing get_device_capability with unusual device IDs.

Mitigation:

  • Restrict local access to systems running OneFlow.
  • Use application-level input validation (if source code is available).
  • Consider using a containerized environment with strict resource limits.

Indicators of Compromise (IOCs)

  • Process Crash: OneFlow process terminates unexpectedly with a CUDA error.
  • Log Entries: Application logs showing get_device_capability called with negative or large device IDs.
  • System Logs: Kernel or CUDA driver logs indicating invalid device access.

Detection Engineering

YARA Rule

rule CVE_2025_70999_OneFlow_DoS {
    meta:
        description = "Detects exploitation attempts of CVE-2025-70999 in OneFlow"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-70999"
    strings:
        $s1 = "get_device_capability" ascii wide nocase
        $s2 = "device_id" ascii wide nocase
    condition:
        all of them
}

Sigma Rule

title: OneFlow CUDA Device ID Validation DoS
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects attempts to exploit CVE-2025-70999 by calling get_device_capability with invalid device IDs
author: Valters IT
date: 2025-04-10
logsource:
    category: application
    product: oneflow
detection:
    selection:
        EventID: 1000  # Example: process crash event
        Data: "*get_device_capability*"
    condition: selection
falsepositives:
    - Legitimate use of negative device IDs (unlikely)
level: high

Suricata Rule

alert tcp any any -> any any (msg:"CVE-2025-70999 OneFlow CUDA DoS Attempt"; content:"get_device_capability"; nocase; content:"-1"; distance:0; within:100; classtype:attempted-dos; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate:

  • Restrict local access to systems running OneFlow v0.9.0.
  • Monitor for abnormal process behavior.
  • If possible, apply input validation at the application level (e.g., wrap the function with a check).

Long-term:

  • Upgrade to a patched version when available.
  • Consider switching to an alternative ML framework if OneFlow remains unpatched.
  • Implement runtime security monitoring for CUDA API calls.

Workaround: None available.


Valters IT

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-70999/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.