CVE-2026-39892: Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs
Affects cryptographySource GCVE Database
Not known to be exploited · CVSS 6.9 Medium : upgrade to 46.0.7 when convenient.
Data as of 4 Nov 2026, 04:28 UTC
Sources agree
| CNA (GitHub_M) | CVSS 4.0 | 6.9 |
|---|---|---|
| ADP (redhat-SADP) | CVSS 3.1 | 7.3 |
- Patch
- Available – fixed in 46.0.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 8 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Nov 2026.
What to do
Upgrade cryptography to 46.0.7.
Patches and advisories
- access.redhat.com/errata/RHSA-2026:43651 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:43670 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:43851 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:43853 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:43854 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:43855 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:46956 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7295 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19375 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:20338 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:21017 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:22465 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIcryptography | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in cryptography version 46.0.7. Users should upgrade to version 46.0.7 or later to remediate this vulnerability. Red Hat has issued multiple security advisories with updated container images that include the fix. Applying these updates promptly will mitigate the risk. No additional mitigation steps are indicated by the vendor advisory.
Description
A buffer overflow vulnerability exists in the cryptography library when non-contiguous Python buffers are passed to certain APIs such as Hash.update(). This flaw affects versions from 45.0.0 up to but not including 46.0.7 and can cause reading past the end of the buffer in Python versions greater than 3.11. The vulnerability has a critical severity with a CVSS score of 9.8. A patch is available in version 46.0.7.
References
- github.com/pyca/cryptography/security/advisories/GHSA-p423-j2cm-9vmq (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-39892 (opens in a new tab)
- github.com/pyca/cryptography/commit/c09d38ae52de7d95fe683b7a7c496f5751616f27 (opens in a new tab)
- github.com/pyca/cryptography/commit/622d672e429a7cff836a23c5903683dbec1901f5 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:43651 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:43670 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:43851 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:43853 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:43854 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:43855 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:46956 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7295 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-39892 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2456735 (opens in a new tab)
- github.com/pyca/cryptography (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-36.yaml (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39892.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19375 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:20338 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:21017 (opens in a new tab)