ADVISORIES

PyPA Advisory Database

PYSEC-2026-36

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.

Affected packages

EcosystemPackageAffected versions
PyPIcryptography
From 45.0.0 before 46.0.7 (fixed in 46.0.7)

References