CVE-2020-25659 json
RSA decryption vulnerable to Bleichenbacher timing vulnerability
published 2020-10-27 6 y ago modified 2026-06-17 4 mo ago also GHSA-hggm-jpg3-v476 , PYSEC-2021-62 , EUVD-2021-0047
- cvss
- 5.9
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
python-cryptography 3.2 is vulnerable to Bleichenbacher timing attacks in the RSA decryption API, via timed processing of valid PKCS#1 v1.5 ciphertext.
Patch / fix
- pypi cryptography 3.2, 3.2.1
- python-cryptography Debian 14, Debian 13, Debian 12 3.2.1-1
debian advisories DEBIAN-CVE-2020-25659
- python-cryptography Ubuntu 16.04 LTS 1.2.3-1ubuntu0.3
- python-cryptography Ubuntu 18.04 LTS 2.1.4-1ubuntu1.4
- python-cryptography Ubuntu 20.04 LTS 2.8-3ubuntu0.1
ubuntu advisories UBUNTU-CVE-2020-25659
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- rh-python38-babel RHEL 3 SOFTWARE_COLLECTIONS 2.7.0-12.el7
- rh-python38-python RHEL 3 SOFTWARE_COLLECTIONS 3.8.11-2.el7
- rh-python38-python-pip RHEL 3 SOFTWARE_COLLECTIONS 19.3.1-2.el7
- rh-python38-python-idle RHEL 3 SOFTWARE_COLLECTIONS 3.8.11-2.el7
- rh-python38-python-libs RHEL 3 SOFTWARE_COLLECTIONS 3.8.11-2.el7
- rh-python38-python-lxml RHEL 3 SOFTWARE_COLLECTIONS 4.4.1-7.el7
- rh-python38-python-test RHEL 3 SOFTWARE_COLLECTIONS 3.8.11-2.el7
- rh-python38-python-babel RHEL 3 SOFTWARE_COLLECTIONS 2.7.0-12.el7
red hat advisories RHSA-2021:3254RHSA-2021:2239RHSA-2021:1608
- protobuf SLE Module for Public Cloud 15 SP1, SLE Installer Updates 15 SP1, SLES for SAP 15 SP1 +2 more 3.9.2-150100.8.3.3
- python-psutil SLE Module for Public Cloud 15 SP1, Enterprise Storage 7, SLES for SAP 15 SP2 +5 more 5.9.1-150100.6.6.3
- python-requests SLE Module for Public Cloud 15 SP1, Enterprise Storage 7, SLES for SAP 15 SP2 +5 more 2.25.1-150100.6.13.3
- grpc SLE Module for Public Cloud 15 SP1 1.25.0-150100.3.3.3
- python-avro SLE Module for Public Cloud 15 SP4, SLE Module for Public Cloud 15 SP3, SLE Module for Public Cloud 15 SP2 +1 more 1.11.0-150100.3.3.3
- python-knack SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4, SLE Module for Public Cloud 15 SP3 +3 more 0.9.0-150100.3.7.3
- python-pytest SLE Module for Public Cloud 15 SP2, SLE Module for Public Cloud 15 SP1 3.10.1-150000.7.5.1
- azure-cli-core SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4, SLE Module for Public Cloud 15 SP3 +3 more 2.17.1-150100.6.18.1
suse advisories SUSE-SU-2023:2783-2SUSE-SU-2023:2783-1SUSE-SU-2023:0604-1SUSE-RU-2022:2355-1SUSE-RU-2021:0985-1SUSE-SU-2020:3629-1
- python-cryptography openSUSE Tumbleweed 50.0.0-1.1
- python-cryptography openSUSE Tumbleweed 3.3.2-2.4
- python-cryptography openSUSE Tumbleweed 42.0.5-1.1
- python-cryptography openSUSE Leap 15.2 2.8-lp152.2.3.1
opensuse advisories openSUSE-SU-2026:11468-1openSUSE-SU-2024:11223-1openSUSE-SU-2024:13819-1openSUSE-SU-2020:2173-1
- python-cryptography Rocky Linux 8 3.2.1-4.el8
rocky linux advisories RLSA-2021:1608
- py3-cryptography Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 3.2.1-r0
alpine advisories ALPINE-CVE-2020-25659
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/pyca/cryptography#5507 commit
- github.com/pyca/cryptography@58494b4 commit
- github.com/pyca/cryptography#5507 pull request
- oracle.com/security-alerts/cpuapr2022.html advisory
- oracle.com/security-alerts/cpujul2022.html advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-25659 updated cvss 5.9
python-cryptography: Bleichenbacher timing oracle attack against RSA decryption
-
Red Hat Ansible Automation Platform 1.2 python-cryptographyaffected: no fix planned “Will not fix”
-
Red Hat Ansible Engine 2 python-cryptography Red Hat Ansible Tower 3 cryptographyaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 python-cryptography, python2-cryptography Red Hat OpenStack Platform 13 (Queens) python-cryptography, python2-cryptographyaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux BaseOS (v. 8) python-cryptography 3.2.1-4.el8, python3-cryptography 3.2.1-4.el8fixed: vendor fix RHSA-2021:1608
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-python38-babel 2.7.0-12.el7, rh-python38-python 3.8.11-2.el7, rh-python38-python-lxml 4.4.1-7.el7, rh-python38-python-pip 19.3.1-2.el7, rh-python38-python-idle 3.8.11-2.el7, rh-python38-python-libs 3.8.11-2.el7, +9 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-python38-babel 2.7.0-12.el7, rh-python38-python 3.8.11-2.el7, rh-python38-python-lxml 4.4.1-7.el7, rh-python38-python-pip 19.3.1-2.el7, rh-python38-python-idle 3.8.11-2.el7, rh-python38-python-libs 3.8.11-2.el7, +9 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-python38-babel 2.7.0-12.el7, rh-python38-python 3.8.11-2.el7, rh-python38-python-lxml 4.4.1-7.el7, rh-python38-python-pip 19.3.1-2.el7, rh-python38-python-idle 3.8.11-2.el7, rh-python38-python-libs 3.8.11-2.el7, +9 morefixed: vendor fix RHSA-2021:3254
-
Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host 4.4.6-20210527.3.el8_4, redhat-virtualization-host-image-update 4.4.6-20210527.3.el8_4fixed: vendor fix RHSA-2021:2239
-
Red Hat CloudForms Management Engine 5 python2-cryptography Red Hat Enterprise Linux 9 python-cryptography, python3-cryptography Red Hat Virtualization 4 Hypervisor for RHEL 8 elfutils-debuginfod-client 0.182-3.el8 Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts cockpit-ovirt 0.15.0-2.el8ev, ovirt-hosted-engine-ha 2.4.7-1.el8ev, cockpit-ovirt-dashboard 0.15.0-2.el8ev Red Hat RHEL 8-based RHEV-H for RHEV 4 (build requirements) imgbased 1.2.19-1.el8ev, python3-imgbased 1.2.19-1.el8ev, scap-security-guide 0.1.54-1.el8ev, scap-security-guide-rhv 0.1.54-1.el8ev, redhat-release-virtualization-host 4.4.6-1.el8ev, redhat-virtualization-host-image-update-placeholder 4.4.6-1.el8evnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.46% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | cryptography | <3.2 <3.2.1 |
3.2 3.2.1 |
Affected products
- n/a python-cryptography
Classification
- Weakness
-
- CWE-385 Covert Timing Channel
References
-
github.com
/pyca/cryptography/pull/5507/commits/ce1bef6f1ee06ac497ca0c837fbd1c7ef6c2472b
patch, third-party-advisory, web
-
oracle.com
/security-alerts/cpuapr2022.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpujul2022.html
web, patch, third-party-advisory
-
github.com
/pyca/cryptography/pull/5507
web
-
github.com
/pyca/cryptography/commit/58494b41d6ecb0f56b7c5f05d5f5e3ca0320d494
web
-
github.com
/pyca/cryptography/security/advisories/GHSA-hggm-jpg3-v476
web
-
nvd.nist.gov
/vuln/detail/CVE-2020-25659
advisory
-
github.com
/advisories/GHSA-hggm-jpg3-v476
advisory
-
github.com
/pyca/cryptography
package
-
github.com
/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2021-62.yaml
web
-
pypi.org
/project/cryptography
web
Sources
- CVE List CVE-2020-25659
- GitHub Advisory GHSA-hggm-jpg3-v476
- NVD CVE-2020-25659
- OSV PYSEC-2021-62
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.