Description
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 products
cryptography.io: cryptography
References10
- github.com/pyca/cryptography/security/advisories/GHSA-p423-j2cm… Vendor Advisory
- github.com/pyca/cryptography/commit/622d672e429a7cff836a23c5903…
- github.com/pyca/cryptography/commit/c09d38ae52de7d95fe683b7a7c4…
- github.com/pypa/advisory-database/tree/main/vulns/cryptography/…
- www.openwall.com/lists/oss-security/2026/04/08/12 Mailing ListRelease NotesThird Party Advisory
- 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
Metrics
- CVSS 3.1
-
9.8
CRITICAL
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 4.0
-
6.9
MEDIUM
Score source: CNA
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 1% percentile: 53 · as of 12 November 2026
- CWE
- CWE-119CWE-131
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.