SciPy is a widely used PyPI package. As of 2026-05-24, there are 4 known vulnerabilities in the OSV database. The latest stable version is 1.17.1. Developers should audit their dependency trees and update to patched versions.
Package Overview
Known Vulnerabilities (4)
| ID | Severity | Score | Affected Versions | Fixed In | Description |
|---|---|---|---|---|---|
| CVE-2013-4251 | HIGH | 7.5 | 0 to 0.12.1 | 0.12.1 | SciPy creates insecure temporary directories |
| CVE-2013-4251 | UNKNOWN | - | 0 to bd296e0336420b840fcd2faabb97084fd252a973; 0 to 0.12.1 | bd296e0336420b840fcd2faabb97084fd252a973 | The scipy.weave component in SciPy before 0.12.1 creates insecure temporary directories. |
| CVE-2023-25399 | UNKNOWN | - | 0 to 1.10.0 | 1.10.0 | A refcounting issue which leads to potential memory leak was discovered in scipy commit 8627df31ab in Py_FindObjects() function. |
| CVE-2023-29824 | UNKNOWN | - | 0 to 1.8.0 | 1.8.0 | ** DISPUTED ** A use-after-free issue was discovered in Py_FindObjects() function in SciPy versions prior to 1.8.0. NOTE: the vendor and discoverer indicate that this is not a security issue. |
Security Recommendations
- Pin SciPy to the latest stable version (1.17.1) in your dependency manifest
- Enable automated dependency updates with Dependabot or Renovate
- Run regular vulnerability scans using
pip-audit - Review your lock file (requirements.txt) after every update
- Monitor the OSV database and NIST NVD for new advisories
FAQ
Is SciPy safe to use?
SciPy is actively maintained and widely used. As of 2026-05-24, there are 4 known vulnerabilities listed in the OSV database. Most have patches available. Keeping your dependencies updated and running regular security audits significantly reduces risk.
What vulnerabilities does SciPy have?
The OSV database currently lists 4 vulnerabilities for SciPy. These range in severity and are detailed in the vulnerability table above. Check the linked advisories for full technical details and remediation guidance.
How do I update SciPy to fix vulnerabilities?
Run pip install --upgrade scipy to get the newest version. Use pip-audit or safety check to scan for known vulnerabilities. Pin your dependencies with a requirements file and review updates regularly.
Using AI-Generated Code with SciPy?
Our vibe coding security audit checks for misconfigurations, exposed secrets and vulnerable dependencies in AI-generated codebases. If your project uses SciPy, we can verify it is locked to a safe version and properly configured.
Get a Vibe Coding Security Audit