CVE-2020-36242Cryptography.io Cryptography
Critical 9.1 No auth needed
Follow: this CVE · Cryptography.io · Cryptography.io Cryptography We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 6.8% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Feb 7, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
What happens
In the cryptography package before 3.3.2 for Python, certain sequences of update calls to symmetrically encrypt multi-GB values could result in an integer overflow and buffer overflow, as demonstrated by the Fernet class.
What to do
- Apply the vendor's security update for Cryptography.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | cryptography |
≥ 3.1 < 3.3.2 |
3.3.2 |
pip install "cryptography>=3.3.2" |
| PyPI | cryptography |
≥ 3.1 < 3.3.2 |
3.3.2 |
pip install "cryptography>=3.3.2" |
Per OSV / GitHub Advisories (GHSA-rhm9-p9w5-fwm7, PYSEC-2021-63). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cryptography.io | cryptography | < 3.3.2 |
| fedoraproject | fedora | 33 |
| oracle | communications_cloud_native_core_network_function_cloud_native_environment | 1.10.0 |
Official advisories
- python313-cryptography-50.0.0-1.1 on GA media · SUSE · openSUSE-SU-2026:11468-1 · Aug 6, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Exploit Patch Third Party Advisory
- lists.fedoraproject.org
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory