Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs
If a non-contiguous buffer was passed to APIs which accepted Python buffers (e.g. `Hash.update()`), this could lead to buffer overflows. For example: ```python h = Hash(SHA256()) b.update(buf[::-1]) ``` would read past the end of the buffer on Python >3.11
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-39892US | critical9.8 | — | ||
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… | ||||
02
references
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2026/04/08/12WEB
- https://github.com/pyca/cryptographyPACKAGE
- https://github.com/pyca/cryptography/security/advisories/GHSA-p423-j2cm-9vmqWEB
- https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-36.yamlWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-39892ADVISORY
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan