CVE-2025-71001
Executive Summary
CVE-2025-71001 is a denial-of-service (DoS) vulnerability in the flow.column_stack component of OneFlow v0.9.0. The flaw is triggered by a segmentation violation (null pointer dereference) when processing a crafted input, leading to a crash of the application. No patch is currently available, and no public proof-of-concept (PoC) or exploit code has been released. The vulnerability has a CVSS score of 0.0, indicating it has not yet been fully assessed by NVD, but the EPSS score of 0.0% suggests low exploitation likelihood in the wild.
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.
No signup required
Supply Chain & Package Security
OneFlow is a deep learning framework distributed via PyPI. Users should verify the integrity of their installed packages and monitor for updates. Since no patch exists, organizations using OneFlow v0.9.0 should consider isolating the affected component or applying workarounds until a fix is released.
CVSS Breakdown & Threat Level
- CVSS Score: 0.0 (Not yet assigned)
- Attack Vector: Network (likely)
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: High
- Threat Level: Medium (due to DoS potential, but low exploitation probability)
Deep Dive & Mechanics
The vulnerability resides in the flow.column_stack function, which is used to concatenate tensors along a new dimension. A segmentation violation occurs when the function receives a crafted input that causes a null pointer dereference. This is a classic CWE-476 (NULL Pointer Dereference) issue. The crash results in a denial of service, as the OneFlow process terminates unexpectedly.
The root cause is likely insufficient input validation in the column_stack implementation, where a tensor or list of tensors with unexpected shapes or data types leads to an unhandled null pointer access.
Vulnerable vs. Patched Code
Since no patch is available, a comparison cannot be made. However, the vulnerable code path is in the flow.column_stack function. A hypothetical fix would involve adding null checks before dereferencing pointers and validating input tensor dimensions.
Vulnerable code (hypothetical):
def column_stack(tensors):
# No null check on tensors
result = some_internal_function(tensors)
return result
Patched code (hypothetical):
def column_stack(tensors):
if tensors is None or any(t is None for t in tensors):
raise ValueError("Input tensors cannot be None")
result = some_internal_function(tensors)
return result
Exploitation & Lab Setup
Red Team
No public exploit code is available. To reproduce the DoS, an attacker would need to craft a malicious input that triggers the segmentation violation. A simple test could involve passing None or an invalid tensor list to flow.column_stack.
Example (Python):
import oneflow as flow
# Crafted input to trigger crash
try:
result = flow.column_stack([None, flow.tensor([1, 2])])
except Exception as e:
print(f"Error: {e}")
Blue Team
To detect exploitation attempts, monitor for crashes or segmentation faults in OneFlow processes. Use the detection rules below to identify malicious inputs.
Indicators of Compromise (IOCs)
- File Hashes: None available
- Network Signatures: None specific
- Process Behavior: OneFlow process crash with segmentation fault (SIGSEGV)
- Log Entries: Application logs showing "Segmentation fault" or "Null pointer dereference" in
flow.column_stack
Detection Engineering
YARA Rule
rule CVE_2025_71001_OneFlow_DoS {
meta:
description = "Detects crafted inputs targeting CVE-2025-71001 in OneFlow"
author = "Valters IT"
date = "2025-01-01"
strings:
$s1 = "column_stack" ascii nocase
$s2 = "None" ascii
condition:
$s1 and $s2
}
Sigma Rule
title: OneFlow CVE-2025-71001 DoS Attempt
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects attempts to exploit CVE-2025-71001 via crafted input to flow.column_stack
logsource:
category: application
product: oneflow
detection:
selection:
EventID: 1000 # Application crash
Application: "oneflow*"
ExceptionCode: 0xc0000005 # Access violation
condition: selection
falsepositives:
- Legitimate crashes due to other bugs
level: medium
Suricata Rule
alert tcp any any -> any any (msg:"OneFlow CVE-2025-71001 DoS Attempt"; flow:to_server; content:"column_stack"; nocase; content:"None"; within:100; classtype:attempted-dos; sid:1000001; rev:1;)
Remediation & Mitigation
- Immediate: Isolate OneFlow v0.9.0 instances from untrusted input sources.
- Short-term: Monitor for official patches from the OneFlow project. Apply input validation at the application layer to reject malformed tensor inputs.
- Long-term: Upgrade to a patched version once released. Consider using alternative deep learning frameworks if no patch is forthcoming.
Valters IT
Securing digital frontiers, one CVE at a time.