This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate numpy

Dependencies

(9 total, 4 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 half^2.02.6.0up to date
 libc^0.20.2.174up to date
 nalgebra^0.320.33.2out of date
 ndarray>=0.13, <0.160.16.1out of date
 num-complex>=0.2, <0.50.4.6up to date
 num-integer^0.10.1.46up to date
 num-traits^0.20.2.19up to date
 pyo3 ⚠️^0.21.00.25.1out of date
 rustc-hash^1.12.1.1out of date

Dev dependencies

(2 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 nalgebra^0.320.33.2out of date
 pyo3 ⚠️^0.21.00.25.1out of date

Security Vulnerabilities

pyo3: Risk of buffer overflow in `PyString::from_object`

RUSTSEC-2025-0020

PyString::from_object took &str arguments and forwarded them directly to the Python C API without checking for terminating nul bytes. This could lead the Python interpreter to read beyond the end of the &str data and potentially leak contents of the out-of-bounds read (by raising a Python exception containing a copy of the data including the overflow).

In PyO3 0.24.1 this function will now allocate a CString to guarantee a terminating nul bytes. PyO3 0.25 will likely offer an alternative API which takes &CStr arguments.