{"id":"CVE-2026-39892","summary":"cryptography has a buffer overflow if non-contiguous buffers were passed to APIs","details":"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.","aliases":["GHSA-p423-j2cm-9vmq","PYSEC-2026-36"],"modified":"2026-05-20T08:11:33.841170204Z","published":"2026-04-08T20:49:41.967Z","related":["CGA-9c4c-5h22-fv67","openSUSE-SU-2026:10535-1"],"database_specific":{"cwe_ids":["CWE-119"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39892.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/04/08/12"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39892.json"},{"type":"ADVISORY","url":"https://github.com/pyca/cryptography/security/advisories/GHSA-p423-j2cm-9vmq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39892"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pyca/cryptography","events":[{"introduced":"67840977c95a23d0dcfba154e303014026df0d3e"},{"fixed":"622d672e429a7cff836a23c5903683dbec1901f5"}]}],"versions":["46.0.6","46.0.5","46.0.4","46.0.3","46.0.2","46.0.1","46.0.0","45.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-39892.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}