CVE-2026-39892
MEDIUM 6.9CVSS 4.0Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs
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.
- Published
- 8 Apr 2026
- Last modified
- 4 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-119CWE-131
- Also known as
- GHSA-p423-j2cm-9vmqPYSEC-2026-36
- Sources
- NVDJSONOSV GHSA-p423-j2cm-9vmqJSONOSV PYSEC-2026-36JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cryptography.io | cryptographycpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:* |
>= 45.0.0, < 46.0.7 | 46.0.7 |
| OSV | PyPI | cryptography | >= 45.0.0, < 46.0.7 | 46.0.7 |
References
- https://github.com/pyca/cryptography/commit/622d672e429a7cff836a23c5903683dbec1901f5 · WEB
- https://github.com/pyca/cryptography/commit/c09d38ae52de7d95fe683b7a7c496f5751616f27 · WEB
- https://github.com/pyca/cryptography/security/advisories/GHSA-p423-j2cm-9vmq · Vendor Advisory, WEB, ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-36.yaml · WEB
- http://www.openwall.com/lists/oss-security/2026/04/08/12 · Mailing List, Release Notes, Third Party Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2026:19375 · WEB
- https://access.redhat.com/errata/RHSA-2026:20338 · WEB
- https://access.redhat.com/errata/RHSA-2026:21017 · WEB
- https://access.redhat.com/errata/RHSA-2026:22465 · WEB
- https://access.redhat.com/errata/RHSA-2026:22629 · WEB
- https://access.redhat.com/errata/RHSA-2026:22840 · WEB
- https://access.redhat.com/errata/RHSA-2026:23361 · WEB
- https://access.redhat.com/errata/RHSA-2026:24483 · WEB
- https://access.redhat.com/errata/RHSA-2026:24761 · WEB
- https://access.redhat.com/errata/RHSA-2026:24762 · WEB
- https://access.redhat.com/errata/RHSA-2026:24853 · WEB
- https://access.redhat.com/errata/RHSA-2026:24866 · WEB
- https://access.redhat.com/errata/RHSA-2026:24977 · WEB
- https://access.redhat.com/errata/RHSA-2026:30088 · WEB
- https://access.redhat.com/errata/RHSA-2026:30089 · WEB
- https://access.redhat.com/errata/RHSA-2026:37275 · WEB
- https://access.redhat.com/errata/RHSA-2026:42644 · WEB
- https://access.redhat.com/errata/RHSA-2026:43651 · WEB
- https://access.redhat.com/errata/RHSA-2026:43670 · WEB
- https://access.redhat.com/errata/RHSA-2026:43851 · WEB
- https://access.redhat.com/errata/RHSA-2026:43853 · WEB
- https://access.redhat.com/errata/RHSA-2026:43854 · WEB
- https://access.redhat.com/errata/RHSA-2026:43855 · WEB
- https://access.redhat.com/errata/RHSA-2026:46956 · WEB
- https://access.redhat.com/errata/RHSA-2026:7295 · WEB
- https://access.redhat.com/security/cve/CVE-2026-39892 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2456735 · WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39892.json · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-39892 · ADVISORY
- https://github.com/pyca/cryptography · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 8 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Apr 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Apr 2026)