CRITICAL9.8
PYSEC-2026-36
Quick fix
PYSEC-2026-36 — cryptography: upgrade to the fixed version with the command below.
pip install --upgrade 'cryptography>=46.0.7'Details
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. From 45.0.0 to before 46.0.7, if a non-contiguous buffer was passed to APIs which accepted Python buffers (e.g. Hash.update()), this could lead to buffer overflows. This vulnerability is fixed in 46.0.7.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/cryptography
Introduced in:
45.0.0Fixed in: 46.0.7Fix
pip install --upgrade 'cryptography>=46.0.7'