CVE-2026-39892: Vulnerability in Cryptography.io Cryptography
Critical. 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.
PyPI, CWE-119, CWE-131
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- 0.8 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-p423-j2cm-9vmq
- EU ID
- EUVD-2026-20640
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-119, CWE-131
- Published
- 8 Apr 2026
- Last change
- 4 Nov 2026
- Likelihood rank
- Higher than 54 % of all rated vulnerabilities
- Analysis status
- Modified
- Ecosystem
- PyPI
Affected products
Affected versions and the first fixed release
- Cryptography.io Cryptography From 45.0.0 before 46.0.7. Fixed in 46.0.7
- Pyca Cryptography From 45.0.0, before 46.0.7; Version >= 45.0.0, < 46.0.7. Fixed in 46.0.7
Affected packages
Vulnerable version ranges and fixed releases
- cryptography PyPI, Affected from 45.0.0 before 46.0.7. Fixed in 46.0.7
Advisories
Vendor and security advisories
- github.com/pyca/cryptography/security/advisories/GHSA-p423-j2cm-9vmq
- github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-36.yaml
- access.redhat.com/errata/RHSA-2026:19375
- access.redhat.com/errata/RHSA-2026:20338
- access.redhat.com/errata/RHSA-2026:21017
- access.redhat.com/errata/RHSA-2026:22465
- access.redhat.com/errata/RHSA-2026:22629
- access.redhat.com/errata/RHSA-2026:22840
- access.redhat.com/errata/RHSA-2026:23361
- access.redhat.com/errata/RHSA-2026:24483
- access.redhat.com/errata/RHSA-2026:24761
- access.redhat.com/errata/RHSA-2026:24762
Patches and fixes
Updates, commits and release notes
- github.com/pyca/cryptography/commit/622d672e429a7cff836a23c5903683dbec1901f5
- github.com/pyca/cryptography/commit/c09d38ae52de7d95fe683b7a7c496f5751616f27
- openwall.com/lists/oss-security/2026/04/08/12
Related
- Cryptography vulnerabilities Recent advisories, watch this product
- Cryptography vulnerabilities Recent advisories, watch this product