# CVE-2025-63397: Oneflow-Inc OneFlow segmentation fault via improper input validation

Source: https://junglewise.ai/threats/cve-2025-63397-oneflow-inc-oneflow-segmentation-fault-via-improper-input  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-11-10. Updated: 2026-07-05  
License: CC BY 4.0 with a link back

CVE-2025-63397 · Severity: medium · CVSS 6.5 · Published 2025-11-10

OneFlow is a deep learning framework used for building and scaling artificial intelligence models. A vulnerability in version 0.9.0 allows an attacker to cause the software to crash by providing improperly formatted data during specific mathematical operations. This could lead to a denial-of-service, interrupting AI model training or inference tasks and potentially impacting business operations that rely on these automated systems.

Technologies: [Oneflow](https://junglewise.ai/threats/technologies/oneflow). Vendors: [Oneflow](https://junglewise.ai/threats/vendors/oneflow).

## Quick answers

**Is CVE-2025-63397 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-63397 being exploited in the wild.

**How severe is CVE-2025-63397?** Medium severity, with a CVSS score of 6.5, published 10 November 2025.

**Which products and versions are affected?** Oneflow-Inc OneFlow 0.9.0.

**Is there a fix for CVE-2025-63397?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2025-63397 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2025-63397?** Check whether you run Oneflow. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A vulnerability exists in OneFlow v0.9.0 due to improper input validation during tensor broadcasting and type conversion. Specifically, when performing operations such as adding a Python list (sequence) to a tensor generated by 'flow.eye', the system fails to properly validate dimension and shape consistency between the Python object and the native C++ backend. This leads to a segmentation fault and subsequent core dump. An attacker can exploit this by providing malformed input sequences to affected API endpoints, resulting in a denial-of-service (DoS). A patch has been identified in the project's issue tracking system.

## Affected products

- Oneflow-Inc OneFlow 0.9.0

## Timeline

- 2025-06-30: disclosed: Issue reported on GitHub repository
- 2025-11-10: advisory: CVE published

## References

- [https://github.com/Daisy2ang](https://github.com/Daisy2ang)
- [https://github.com/Oneflow-Inc/oneflow](https://github.com/Oneflow-Inc/oneflow)
- [https://github.com/Oneflow-Inc/oneflow/issues/10666](https://github.com/Oneflow-Inc/oneflow/issues/10666)

## Related threats

- [Oneflow-Inc OneFlow segmentation fault in flow.column_stack](https://junglewise.ai/threats/cve-2025-71001-oneflow-inc-oneflow-segmentation-fault-in-flow-column-stack)
- [OneFlow flow.cuda.BoolTensor denial of service via crafted input](https://junglewise.ai/threats/cve-2025-71000-oneflow-flow-cuda-booltensor-denial-of-service-via-crafted-input)
- [OneFlow denial of service in flow.cuda.get_device_capability](https://junglewise.ai/threats/cve-2025-70999-oneflow-denial-of-service-in-flow-cuda-get-device-capability)
- [OneFlow GPU device-ID validation denial of service in get_device_properties](https://junglewise.ai/threats/cve-2025-65891-oneflow-gpu-device-id-validation-denial-of-service-in-get-device)
- [OneFlow denial of service via invalid device ID in CUDA synchronization](https://junglewise.ai/threats/cve-2025-65890-oneflow-denial-of-service-via-invalid-device-id-in-cuda)
