# CVE-2023-25399: PYSEC-2023-102 - A refcounting issue which leads to potential memory leak was discovered in scipy commit 8627df31ab in Py_FindObjects() function.

Source: https://junglewise.ai/threats/cve-2023-25399-withdrawn-scipy-memory-leak-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-07-05  
License: CC BY 4.0 with a link back

CVE-2023-25399 · Severity: low · CVSS 3.1 · Published 2023-07-05

A refcounting issue which leads to potential memory leak was discovered in scipy commit 8627df31ab in Py_FindObjects() function.

Technologies: [scipy (PyPI)](https://junglewise.ai/threats/technologies/scipy). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

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

**How severe is CVE-2023-25399?** Low severity, with a CVSS score of 3.1, published 5 July 2023.

**Which products and versions are affected?** scipy (PyPI) ECOSYSTEM:introduced=0,fixed=1.10.0.

**Is there a fix for CVE-2023-25399?** Yes. scipy (PyPI): upgrade to 1.10.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-25399?** Check whether you run scipy (PyPI) at an affected version. 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.

## How to fix

- scipy (PyPI): upgrade to 1.10.0 or later

  ```sh
  pip install "scipy>=1.10.0"
  ```


## Affected products

- scipy (PyPI) ECOSYSTEM:introduced=0,fixed=1.10.0

## Identifiers

- CVE-2023-25399
- GHSA-9jx5-6pgf-crrp
- PYSEC-2023-102

## Related threats

- [Withdrawn: Use after free in SciPy](https://junglewise.ai/threats/cve-2023-29824-withdrawn-use-after-free-in-scipy)
- [PYSEC-2019-156 - The scipy.weave component in SciPy before 0.12.1 creates insecure temporary directories.](https://junglewise.ai/threats/cve-2013-4251-scipy-creates-insecure-temporary-directories)
