CVE-2023-25399
Withdrawn: scipy memory leak vulnerability
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
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.
- Record
CVE-2023-25399- 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 - Weakness
- CWE-401
- Updated
- 2026-11-02
CVE List
5.5
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.
- Record
CVE-2023-25399- 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 - Weakness
- CWE-401
- Updated
- 2026-11-02
EUVDEUVD-2023-0234
5.5
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.
- Record
EUVD-2023-0234- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-9jx5-6pgf-crrp
5.5
Withdrawn: scipy memory leak vulnerability
Withdrawn Advisory
This advisory has been withdrawn because it has been found to not be an issue. Please see the issue here for more information.
Original Description
A refcounting issue which leads to potential memory leak was discovered in scipy commit 8627df31ab in Py_FindObjects() function.
- Record
GHSA-9jx5-6pgf-crrp- 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 - Weakness
- CWE-400
- Updated
- 2026-11-02
OSV
5.5
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.
- Record
CVE-2023-25399- 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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-25399
5.5
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.
- Record
DEBIAN-CVE-2023-25399- 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 - Updated
- 2026-11-02
Show 8 moreShow less
OSVGHSA-9jx5-6pgf-crrp
5.5
Withdrawn: scipy memory leak vulnerability
Withdrawn Advisory
This advisory has been withdrawn because it has been found to not be an issue. Please see the issue here for more information.
Original Description
A refcounting issue which leads to potential memory leak was discovered in scipy commit 8627df31ab in Py_FindObjects() function.
- Record
GHSA-9jx5-6pgf-crrp- 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 - Weakness
- CWE-400
- Updated
- 2026-11-02
OSVOESA-2023-1491
5.5
scipy security update
SciPy (pronounced "Sigh Pie") is open-source software for mathematics, science, and engineering. It includes modules for statistics, optimization, integration, linear algebra, Fourier transforms, signal and image processing, ODE solvers, and more.
Security Fix(es):
A refcounting issue which leads to potential memory leak was discovered in scipy commit 8627df31ab in Py_FindObjects() function.(CVE-2023-25399)
- Record
OESA-2023-1491- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-25399
5.5
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.
- Record
UBUNTU-CVE-2023-25399- 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 - Updated
- 2026-11-02
OSVMGASA-2024-0078 No score
Updated python-scipy packages fix security vulnerability
A refcounting issue which leads to potential memory leak was discovered in scipy commit 8627df31ab in Py_FindObjects() function. (CVE-2023-25399
- Record
MGASA-2024-0078- Updated
- 2026-11-02
OSVPYSEC-2023-102 No score
A refcounting issue which leads to potential memory leak was discovered in scipy commit 8627df31ab in Py_FindObjects() function.
- Record
PYSEC-2023-102- Updated
- 2026-11-02
OSVSUSE-SU-2023:2970-1 No score
Security update for python-scipy
This update for python-scipy fixes the following issues:
- CVE-2023-25399: Fixed minor refcounting issue in Py_FindObjects (bsc#1213062).
- CVE-2023-29824: Fixed use-after-free in Py_FindObjects (bsc#1213137).
- Record
SUSE-SU-2023:2970-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:3272-1 No score
Security update for python-scipy
This update for python-scipy fixes the following issues:
- CVE-2023-25399: Fixed minor refcounting issue in Py_FindObjects (bsc#1213062).
- CVE-2023-29824: Fixed use-after-free in Py_FindObjects (bsc#1213137).
- Record
SUSE-SU-2023:3272-1- Updated
- 2026-11-02
OSVUSN-6226-1 No score
scipy vulnerabilities
It was discovered that SciPy did not properly manage memory operations during reference counting. An attacker could possibly use this issue to cause a denial of service. (CVE-2023-25399)
A use-after-free was discovered in SciPy when handling reference counts. An attacker could possibly use this to cause a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2023-29824)
- Record
USN-6226-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
scipyDebian:12 |
before 1.10.0-2 | 1.10.0-2 |
scipyDebian:13 |
before 1.10.0-2 | 1.10.0-2 |
scipyDebian:14 |
before 1.10.0-2 | 1.10.0-2 |
python-scipyMageia:9 |
before 1.9.1-2.1.mga9 | 1.9.1-2.1.mga9 |
scipyopenEuler:20.03-LTS-SP1 |
before 1.2.2-4.oe1 | 1.2.2-4.oe1 |
scipyopenEuler:20.03-LTS-SP3 |
before 1.2.2-4.oe1 | 1.2.2-4.oe1 |
scipyopenEuler:22.03-LTS |
before 1.6.2-2.oe2203sp2 | 1.6.2-2.oe2203sp2 |
scipyopenEuler:22.03-LTS-SP1 |
before 1.6.2-2.oe2203sp1 | 1.6.2-2.oe2203sp1 |
scipyopenEuler:22.03-LTS-SP2 |
before 1.6.2-2.oe2203sp2 | 1.6.2-2.oe2203sp2 |
scipyPyPI |
before 1.10.0, plus listed versions 0.10.00.10.10.11.00.12.00.12.1 Show 45 moreShow less0.13.00.13.10.13.20.13.30.14.00.14.10.15.00.15.10.16.00.16.10.17.00.17.10.18.00.18.10.19.00.19.10.4.40.5.20.6.00.7.00.7.20.8.00.9.01.0.01.0.11.1.01.10.0rc11.10.0rc21.2.01.2.11.2.21.2.31.3.01.3.11.3.21.3.31.4.01.4.11.5.01.5.11.5.21.5.31.5.41.6.01.6.1 |
1.10.0 |
Show 15 moreShow less
| Package | Affected | Fixed |
|---|---|---|
python-scipyopenSUSE:Leap 15.4 From an advisory covering 2 CVEs |
before 1.2.0-150100.4.6.1 | 1.2.0-150100.4.6.1 |
python-scipy_1_2_0-gnu-hpcopenSUSE:Leap 15.4 From an advisory covering 2 CVEs |
before 1.2.0-150100.4.6.1 | 1.2.0-150100.4.6.1 |
python-scipy_1_2_0-gnu-hpcopenSUSE:Leap 15.5 From an advisory covering 2 CVEs |
before 1.2.0-150100.4.6.1 | 1.2.0-150100.4.6.1 |
python-scipy_1_3_3-gnu-hpcSUSE:Linux Enterprise Module for HPC 15 SP4 From an advisory covering 2 CVEs |
before 1.3.3-150200.5.3.1 | 1.3.3-150200.5.3.1 |
python-scipy_1_3_3-gnu-hpcSUSE:Linux Enterprise Module for HPC 15 SP5 From an advisory covering 2 CVEs |
before 1.3.3-150200.5.3.1 | 1.3.3-150200.5.3.1 |
python-scipySUSE:Linux Enterprise Module for Package Hub 15 SP4 From an advisory covering 2 CVEs |
before 1.3.3-150200.5.3.1 | 1.3.3-150200.5.3.1 |
python-scipySUSE:Linux Enterprise Module for Package Hub 15 SP5 From an advisory covering 2 CVEs |
before 1.3.3-150200.5.3.1 | 1.3.3-150200.5.3.1 |
python-scipy_1_3_3-gnu-hpcSUSE:Linux Enterprise Module for Package Hub 15 SP5 From an advisory covering 2 CVEs |
before 1.3.3-150200.5.3.1 | 1.3.3-150200.5.3.1 |
python-scipyopenSUSE:Leap 15.4 From an advisory covering 2 CVEs |
before 1.3.3-150200.5.3.1 | 1.3.3-150200.5.3.1 |
python-scipy_1_3_3-gnu-hpcopenSUSE:Leap 15.4 From an advisory covering 2 CVEs |
before 1.3.3-150200.5.3.1 | 1.3.3-150200.5.3.1 |
python-scipyopenSUSE:Leap 15.5 From an advisory covering 2 CVEs |
before 1.3.3-150200.5.3.1 | 1.3.3-150200.5.3.1 |
python-scipy_1_3_3-gnu-hpcopenSUSE:Leap 15.5 From an advisory covering 2 CVEs |
before 1.3.3-150200.5.3.1 | 1.3.3-150200.5.3.1 |
scipyUbuntu:Pro:22.04:LTS |
before 1.8.0-1exp2ubuntu1+esm1, plus listed versions 1.6.0-21.7.1-1ubuntu11.8.0-1exp2ubuntu1 |
1.8.0-1exp2ubuntu1+esm1 |
scipyUbuntu:Pro:20.04:LTS From an advisory covering 2 CVEs |
before 1.3.3-3ubuntu0.1~esm1, plus listed versions 1.3.3-31.3.3-3build1 |
1.3.3-3ubuntu0.1~esm1 |
scipyUbuntu:Pro:22.04:LTS From an advisory covering 2 CVEs |
before 1.8.0-1exp2ubuntu1+esm1, plus listed versions 1.6.0-21.7.1-1ubuntu11.8.0-1exp2ubuntu1 |
1.8.0-1exp2ubuntu1+esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-25399 is a medium vulnerability (CVSS 5.5) in Scipy, published July 5, 2023. Its validity is disputed. EPSS puts the chance of exploitation in the next 30 days at 0.38%, the 32nd percentile. Fixed in scipy 1.10.0-2.
References
github.com/scipy/scipy/issues/16235
github.com/scipy/scipy/pull/16397
square16.org/achievement/cve-2023-25399
nvd.nist.gov/vuln/detail/CVE-2023-25399
github.com/scipy/scipy/commit/9b6521198c4f31d3f9cb525e581bea8e3e77f0a2
github.com/pypa/advisory-database/tree/main/vulns/scipy/PYSEC-2023-102.yaml
Show 17 moreShow less
github.com/advisories/GHSA-9jx5-6pgf-crrp
github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25399.json
security-tracker.debian.org/tracker/CVE-2023-25399
github.com/scipy/scipy
advisories.mageia.org/MGASA-2024-0078.html
bugs.mageia.org/show_bug.cgi?id=32116
ubuntu.com/security/notices/USN-6226-1
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1491
suse.com/support/update/announcement/2023/suse-su-20232970-1
bugzilla.suse.com/1213062
bugzilla.suse.com/1213137
suse.com/security/cve/CVE-2023-25399
suse.com/security/cve/CVE-2023-29824
suse.com/support/update/announcement/2023/suse-su-20233272-1
ubuntu.com/security/CVE-2023-25399
cve.org/CVERecord?id=CVE-2023-25399
ubuntu.com/security/CVE-2023-29824
Left out here: 19 versions. The JSON record has them.