CVE-2026-39892: Vulnerability in Cryptography.io Cryptography

Critical. 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.

PyPI, CWE-119, CWE-131

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
0.8 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-p423-j2cm-9vmq
EU ID
EUVD-2026-20640
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-119, CWE-131
Published
8 Apr 2026
Last change
4 Nov 2026
Likelihood rank
Higher than 54 % of all rated vulnerabilities
Analysis status
Modified
Ecosystem
PyPI

Affected products

Affected versions and the first fixed release

  • Cryptography.io Cryptography From 45.0.0 before 46.0.7. Fixed in 46.0.7
  • Pyca Cryptography From 45.0.0, before 46.0.7; Version >= 45.0.0, < 46.0.7. Fixed in 46.0.7

Affected packages

Vulnerable version ranges and fixed releases

  • cryptography PyPI, Affected from 45.0.0 before 46.0.7. Fixed in 46.0.7

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related