CVE-2023-25399 json
Withdrawn: scipy memory leak vulnerability
published 2023-07-05 3 y ago modified 2026-06-17 4 mo ago also GHSA-9jx5-6pgf-crrp , PYSEC-2023-102 , EUVD-2023-0234
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi scipy 1.10.0
- scipy scipy 1.10.0
- scipy Debian 14, Debian 13, Debian 12 1.10.0-2
debian advisories DEBIAN-CVE-2023-25399
- scipy Ubuntu Pro 22.04 LTS 1.8.0-1exp2ubuntu1+esm1
ubuntu advisories UBUNTU-CVE-2023-25399
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-scipy SLE Module for Package Hub 15 SP5, SLE Module for Package Hub 15 SP4, openSUSE Leap 15.5 +1 more 1.3.3-150200.5.3.1
- python-scipy_1_3_3-gnu-hpc SLE Module for Package Hub 15 SP5, SLE Module for HPC 15 SP5, SLE Module for HPC 15 SP4 +2 more 1.3.3-150200.5.3.1
- python-scipy openSUSE Leap 15.4 1.2.0-150100.4.6.1
- python-scipy_1_2_0-gnu-hpc openSUSE Leap 15.5, openSUSE Leap 15.4 1.2.0-150100.4.6.1
suse advisories SUSE-SU-2023:3272-1SUSE-SU-2023:2970-1
- github.com/scipy/scipy@9b65211 commit
- github.com/scipy/scipy#16397 pull request
- github.com/scipy/scipy/issues/16235 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-25399 updated cvss 5.5
scipy: refcounting issue leads to potential memory leak
-
Red Hat Enterprise Linux 6 scipy Red Hat Enterprise Linux 7 scipyaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 scipy, python2-scipy, python3-scipy, python38-scipy, python39-scipy Red Hat Enterprise Linux 9 python3-scipy, python3.11-scipy Red Hat Software Collections rh-python38-python-scipyaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 8 python3.11-scipy Red Hat OpenShift Container Platform 4 google-benchmark, python-sortedcontainersnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/scipy/scipy/issues/16235 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | scipy | <1.10.0 |
1.10.0 |
Affected products
- scipy scipy
Classification
- Weakness
-
- CWE-401 Missing Release of Memory after Effective Lifetime
References
-
github.com
/scipy/scipy/pull/16397
web, patch
-
github.com
/scipy/scipy/issues/16235
web, exploit, issue-tracking, patch, vendor-advisory, evidence, report, advisory
-
github.com
/scipy/scipy/commit/9b6521198c4f31d3f9cb525e581bea8e3e77f0a2
web
-
square16.org
/achievement/cve-2023-25399/
third-party-advisory, web
-
github.com
/scipy/scipy/issues/16235#issuecomment-1625361328
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-25399
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/scipy/PYSEC-2023-102.yaml
web
-
github.com
/scipy/scipy
package
-
square16.org
/achievement/cve-2023-25399
web
-
github.com
/advisories/GHSA-9jx5-6pgf-crrp
advisory
Sources
- CVE List CVE-2023-25399
- GitHub Advisory GHSA-9jx5-6pgf-crrp
- NVD CVE-2023-25399
- OSV PYSEC-2023-102
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.