CVE-2026-39892

NameCVE-2026-39892
Descriptioncryptography 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-cryptography (PTS)bullseye3.3.2-1fixed
bullseye (security)3.3.2-1+deb11u1fixed
bookworm38.0.4-3+deb12u1fixed
bookworm (security)38.0.4-3~deb12u1fixed
trixie43.0.0-3+deb13u1fixed
forky, sid46.0.6-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-cryptographysourcebullseye(not affected)
python-cryptographysourcebookworm(not affected)
python-cryptographysourcetrixie(not affected)
python-cryptographysource(unstable)(unfixed)

Notes

[trixie] - python-cryptography <not-affected> (Vulnerable code not present)
[bookworm] - python-cryptography <not-affected> (Vulnerable code not present)
[bullseye] - python-cryptography <not-affected> (Vulnerable code not present)
https://github.com/pyca/cryptography/security/advisories/GHSA-p423-j2cm-9vmq
Introduced with: https://github.com/pyca/cryptography/commit/6801b2eb6554abfcb8e4bb48e97a01cdb6f69798 (45.0.0)
Fixed by: https://github.com/pyca/cryptography/commit/c09d38ae52de7d95fe683b7a7c496f5751616f27 (main)
Fixed by: https://github.com/pyca/cryptography/commit/622d672e429a7cff836a23c5903683dbec1901f5 (46.0.7)

Search for package or bug name: Reporting problems