CVE-2026-39892

cryptography has a buffer overflow if non-contiguous buffers were passed to APIs

Published Apr 8, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-p423-j2cm-9vmq Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs
References
Link Providers
http://www.openwall.com/lists/oss-security/2026/04/08/12 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:19375 cve-icon
https://access.redhat.com/errata/RHSA-2026:20338 cve-icon
https://access.redhat.com/errata/RHSA-2026:21017 cve-icon
https://access.redhat.com/errata/RHSA-2026:22465 cve-icon
https://access.redhat.com/errata/RHSA-2026:22629 cve-icon
https://access.redhat.com/errata/RHSA-2026:22840 cve-icon
https://access.redhat.com/errata/RHSA-2026:23361 cve-icon
https://access.redhat.com/errata/RHSA-2026:24483 cve-icon
https://access.redhat.com/errata/RHSA-2026:24761 cve-icon
https://access.redhat.com/errata/RHSA-2026:24762 cve-icon
https://access.redhat.com/errata/RHSA-2026:24853 cve-icon
https://access.redhat.com/errata/RHSA-2026:24866 cve-icon
https://access.redhat.com/errata/RHSA-2026:24977 cve-icon
https://access.redhat.com/errata/RHSA-2026:30088 cve-icon
https://access.redhat.com/errata/RHSA-2026:30089 cve-icon
https://access.redhat.com/errata/RHSA-2026:37275 cve-icon
https://access.redhat.com/errata/RHSA-2026:42644 cve-icon
https://access.redhat.com/errata/RHSA-2026:43651 cve-icon
https://access.redhat.com/errata/RHSA-2026:43670 cve-icon
https://access.redhat.com/errata/RHSA-2026:43851 cve-icon
https://access.redhat.com/errata/RHSA-2026:43853 cve-icon
https://access.redhat.com/errata/RHSA-2026:43854 cve-icon
https://access.redhat.com/errata/RHSA-2026:43855 cve-icon
https://access.redhat.com/errata/RHSA-2026:46956 cve-icon
https://access.redhat.com/errata/RHSA-2026:7295 cve-icon
https://access.redhat.com/security/cve/CVE-2026-39892 cve-icon
https://bugzilla.redhat.com/show_bug.cgi?id=2456735 cve-icon
https://github.com/pyca/cryptography/commit/622d672e429a7cff836a23c5903683dbec1901f5 cve-icon cve-icon cve-icon
https://github.com/pyca/cryptography/commit/c09d38ae52de7d95fe683b7a7c496f5751616f27 cve-icon cve-icon
https://github.com/pyca/cryptography/security/advisories/GHSA-p423-j2cm-9vmq cve-icon cve-icon cve-icon
https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-36.yaml cve-icon cve-icon
https://nvd.nist.gov/vuln/detail/CVE-2026-39892 cve-icon
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39892.json cve-icon
https://www.cve.org/CVERecord?id=CVE-2026-39892 cve-icon
History
Type Values Removed Values Added
First Time appeared Cryptography.io
Cryptography.io cryptography
CPEs cpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:*
Vendors & Products Cryptography.io
Cryptography.io cryptography
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-131
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Pyca
Pyca cryptography
Vendors & Products Pyca
Pyca cryptography
Type Values Removed Values Added
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.
Title cryptography has a buffer overflow if non-contiguous buffers were passed to APIs
Weaknesses CWE-119
References
Metrics cvssV4_0

{'score': 6.9, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 4, 2026, 3:18 AM
Reserved
Apr 7, 2026, 8:32 PM
Status
Modified
Published
Apr 8, 2026, 9:17 PM
Modified
Nov 4, 2026, 4:17 AM
Severity
Moderate
Public date
Apr 8, 2026, 8:49 PM