CVE-2026-39892
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-04-08
- Last modified
- 2026-11-04
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.7 %
higher than 48 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Cryptography.io | Cryptography | ≥ 45.0.0, < 46.0.7 | Affected |
Weakness type
-
CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.
-
CWE-131: Incorrect Calculation of Buffer Size
The product does not correctly calculate the size to be used when allocating a buffer.
References
- https://github.com/pyca/cryptography/security/advisories/GHSA-p423-j2cm-9vmq
- http://www.openwall.com/lists/oss-security/2026/04/08/12
- https://github.com/pyca/cryptography/commit/622d672e429a7cff836a23c5903683dbec1901f5
- https://github.com/pyca/cryptography/commit/c09d38ae52de7d95fe683b7a7c496f5751616f27
- https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-36.yaml
- https://access.redhat.com/errata/RHSA-2026:19375
- https://access.redhat.com/errata/RHSA-2026:20338
- https://access.redhat.com/errata/RHSA-2026:21017
- https://access.redhat.com/errata/RHSA-2026:22465
- https://access.redhat.com/errata/RHSA-2026:22629
- https://access.redhat.com/errata/RHSA-2026:22840
- https://access.redhat.com/errata/RHSA-2026:23361
- https://access.redhat.com/errata/RHSA-2026:24483
- https://access.redhat.com/errata/RHSA-2026:24761
- https://access.redhat.com/errata/RHSA-2026:24762
- https://access.redhat.com/errata/RHSA-2026:24853
- https://access.redhat.com/errata/RHSA-2026:24866
- https://access.redhat.com/errata/RHSA-2026:24977
- https://access.redhat.com/errata/RHSA-2026:30088
- https://access.redhat.com/errata/RHSA-2026:30089
Related at Berigo
Articles
-
A language model found an attack that forces HAWK to double its keys
Same product
2026-08-24
On 28 July 2026 Anthropic published two cryptanalytic results found with a language model. Neither has practical significance for systems in operatio…
-
The crypto library behind Python now ships quantum-resistant algorithms
Same product
2026-08-18
Trail of Bits has added ML-KEM and ML-DSA to pyca/cryptography, funded by the Sovereign Tech Agency. The library is the eleventh most downloaded pack…
-
Unit 42 shows how synced passkeys can be taken from a compromised device
Same product
2026-08-05
Unit 42 has described three attacks against synced passkeys in Google Password Manager, as used in Chrome on Windows machines with a TPM. The cryptog…
Services
-
NIS2 for the Board
NIS2 has not yet been implemented in Norwegian law. Berigo helps the board establish which requirements the organisation is subject to, and supports …
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.