| Name | CVE-2026-39892 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| python-cryptography (PTS) | bullseye | 3.3.2-1 | fixed |
| bullseye (security) | 3.3.2-1+deb11u1 | fixed | |
| bookworm | 38.0.4-3+deb12u1 | fixed | |
| bookworm (security) | 38.0.4-3~deb12u1 | fixed | |
| trixie | 43.0.0-3+deb13u1 | fixed | |
| forky, sid | 46.0.6-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| python-cryptography | source | bullseye | (not affected) | |||
| python-cryptography | source | bookworm | (not affected) | |||
| python-cryptography | source | trixie | (not affected) | |||
| python-cryptography | source | (unstable) | (unfixed) |
[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)