CVE-2025-3145 MindSpore mindspore.numpy.fft.rfft2 memory corruption

Medium 4.8 Published Updated

Local attackers can exploit memory corruption in MindSpore's rfft2 function to potentially execute code or cause denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-3145?

CVE-2025-3145 is a medium-severity memory corruption vulnerability in MindSpore, published on 3 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability, which was classified as problematic, has been found in MindSpore 2.5.0. Affected by this issue is the function mindspore.numpy.fft.rfft2. The manipulation leads to memory corruption. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used.

Weakness: CWE-119

Which versions are affected by CVE-2025-3145?

How do I fix CVE-2025-3145?

No fix has been published for CVE-2025-3145 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-3145 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-3145 exists.

Sources

Also known as GHSA-3rj6-h2wq-9rh8.

Is CVE-2025-3145 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free