CVE-2025-65887: Oneflow-Inc OneFlow division by zero in flow.floor_divide

CVE-2025-65887 · Severity: medium · CVSS 6.5 · Published 2026-01-28

OneFlow is an open-source deep learning framework used for building and deploying artificial intelligence models. A flaw in its mathematical processing component allows an attacker to crash the software by providing a specific type of invalid data. This results in a denial-of-service, potentially interrupting AI training or inference tasks and impacting service availability.

Technologies: Oneflow. Vendors: Oneflow.

Quick answers

Is CVE-2025-65887 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-65887 being exploited in the wild.
How severe is CVE-2025-65887?
Medium severity, with a CVSS score of 6.5, published 28 January 2026.
Which products and versions are affected?
Oneflow-Inc OneFlow 0.9.0.
Is there a fix for CVE-2025-65887?
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-65887 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2025-65887?
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 division-by-zero vulnerability (CWE-369) exists in the 'flow.floor_divide()' function of OneFlow version 0.9.0. The issue is triggered when the function receives a divisor tensor containing zero values, which leads to a floating-point exception and a subsequent core dump. An attacker can exploit this by providing specially crafted input tensors to an application utilizing this framework. This results in a complete crash of the process (Denial of Service). The vulnerability is reachable over the network if the application exposes an interface that processes user-supplied tensors.

Affected products

  • Oneflow-Inc OneFlow 0.9.0

Timeline

  • 2025-06-30: disclosed: Issue reported on GitHub repository
  • 2026-01-28: advisory: NVD publication date

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.