MediumGHSA-p423-j2cm-9vmqCVE-2026-39892PYSEC-2026-36
Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs
Published 8 Apr 2026 · Updated 4 Nov 2026
Is your project on an affected cryptography?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
cryptographyPyPI
- Affected
- >=45.0.0 <46.0.7
- Fixed in
- 46.0.7
Update to the fixed version for your release line, for example:
pip install 'cryptography>=46.0.7'Details
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:
h = Hash(SHA256()) b.update(buf[::-1])
would read past the end of the buffer on Python >3.11
Is GHSA-p423-j2cm-9vmq in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected cryptography, and gives you the command that fixes it.
More advisories for cryptography
- MediumCVE-2026-69248python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees · 3 Aug 2026
- HighCVE-2026-69249python-cryptography: Duplicate self-signed intermediates can cause exponential path-building · 3 Aug 2026
- HighCVE-2026-69247cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing · 3 Aug 2026
- HighGHSA-537c-gmf6-5ccfVulnerable OpenSSL included in cryptography wheels · 15 Jun 2026
- LowCVE-2026-34073cryptography has incomplete DNS name constraint enforcement on peer names · 27 Mar 2026
- HighCVE-2026-26007cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation for SECT Curves · 10 Feb 2026
References
- Linkgithub.com/pyca/cryptography/security/advisories/GHSA-p423-j2cm-9vmq
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-39892
- Linkgithub.com/pyca/cryptography/commit/c09d38ae52de7d95fe683b7a7c496f5751616f27
- Linkgithub.com/pyca/cryptography/commit/622d672e429a7cff836a23c5903683dbec1901f5
- Linkaccess.redhat.com/errata/RHSA-2026:43651
- Linkaccess.redhat.com/errata/RHSA-2026:43670
- Linkaccess.redhat.com/errata/RHSA-2026:43851
- Linkaccess.redhat.com/errata/RHSA-2026:43853
- Linkaccess.redhat.com/errata/RHSA-2026:43854
- Linkaccess.redhat.com/errata/RHSA-2026:43855
- Linkaccess.redhat.com/errata/RHSA-2026:46956
- Linkaccess.redhat.com/errata/RHSA-2026:7295
- Linkaccess.redhat.com/security/cve/CVE-2026-39892
- Linkbugzilla.redhat.com/show_bug.cgi?id=2456735
- Packagegithub.com/pyca/cryptography
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-36.yaml
- Linksecurity.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39892.json
- Linkaccess.redhat.com/errata/RHSA-2026:19375
- Linkaccess.redhat.com/errata/RHSA-2026:20338
- Linkaccess.redhat.com/errata/RHSA-2026:21017
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.