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

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-07-05T00:00:00.000Z
- Modified: 2026-06-17T05:41:10.900Z
- Also known as: GHSA-9jx5-6pgf-crrp, PYSEC-2023-102
- Weaknesses: CWE-400, CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

A refcounting issue which leads to potential memory leak was discovered in scipy commit 8627df31ab in Py_FindObjects() function. Note: This is disputed as a bug and not a vulnerability. SciPy is not designed to be exposed to untrusted users or data directly.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- scipy scipy: before 1.10.0
- scipy (PyPI): before 1.10.0

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/scipy/scipy/issues/16235> (exploit, advisory, evidence, fix, issue-tracking, patch, report, vendor-advisory, web)
- <https://github.com/scipy/scipy/pull/16397> (fix, patch, web)
- <http://www.square16.org/achievement/cve-2023-25399/> (third-party-advisory, web)
- <https://github.com/scipy/scipy/issues/16235#issuecomment-1625361328> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-25399> (advisory)
- <https://github.com/scipy/scipy/commit/9b6521198c4f31d3f9cb525e581bea8e3e77f0a2> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/scipy/PYSEC-2023-102.yaml> (web)
- <https://github.com/scipy/scipy> (package)
- <http://www.square16.org/achievement/cve-2023-25399> (web)
- <https://github.com/advisories/GHSA-9jx5-6pgf-crrp> (advisory)

## Sources

- CVE List: [CVE-2023-25399](https://www.cve.org/CVERecord?id=CVE-2023-25399), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-9jx5-6pgf-crrp](https://github.com/advisories/GHSA-9jx5-6pgf-crrp), CC-BY-4.0, modified 2026-06-10
- NVD: [CVE-2023-25399](https://nvd.nist.gov/vuln/detail/CVE-2023-25399), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-102](https://osv.dev/vulnerability/PYSEC-2023-102), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2023-25399 · Whole record: https://cve.day/CVE-2023-25399.json · Rebuilt by cve.day 2026-11-25T22:58:25.433Z
