Critical · published April 9, 2026
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.
| Product | Versions | Fixed in |
|---|---|---|
| cryptography.io/cryptography | ≥ 45.0.0, < 46.0.7 | 46.0.7 |