CVE-2023-0286 — Vulnerable OpenSSL included in openssl-src
Vulnerable OpenSSL included in cryptography wheels
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (5.22%). Schedule for your next planned update.
Does your project use an affected openssl-src version?
Paste your Cargo.lock to check it for CVE-2023-0286 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
pyca/cryptography's wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in cryptography 0.8.1-39.0.0 are vulnerable to a security issue. More details about the vulnerabilities themselves can be found in https://www.openssl.org/news/secadv/20221213.txt and https://www.openssl.org/news/secadv/20230207.txt.
If you are building cryptography source ("sdist") then you are responsible for upgrading your copy of OpenSSL. Only users installing from wheels built by the cryptography project (i.e., those distributed on PyPI) need to update their cryptography versions.
Advisory Timeline
- First published February 8, 2023 (1388 days ago).
- Last revised September 10, 2026 — 1309 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p openssl-src --precise 111.25.0
cargo update -p openssl-src --precise 300.0.12
pip install "cryptography>=39.0.1"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 2 ecosystems: crates.io (1), PyPI (1).
| Package | Fixed In |
|---|---|
| openssl-src crates.io · Affected: All versions | 111.25.0 |
| openssl-src crates.io · Affected: All versions | 300.0.12 |
| cryptography PyPI · Affected: 0.8.1, 0.8.2, 0.9, 0.9.1 (+87 more) | 39.0.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-843
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.4 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
References
- https://github.com/pyca/cryptography/security/advisories/GHSA-x4qr-2fvf-3mr5WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-0286ADVISORY
- https://access.redhat.com/security/cve/cve-2023-0286WEB
- https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.6.2-relnotes.txtWEB
- https://ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/018_x509.patch.sigWEB
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=2c6c9d439b484e1ba9830d8454a34fa4f80fdfe9WEB
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=2f7530077e0ef79d98718138716bc51ca0cad658WEB
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=fd2af07dc083a350c959147097003a14a5e8ac4dWEB
- https://github.com/pyca/cryptographyPACKAGE
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003WEB
- https://rustsec.org/advisories/RUSTSEC-2023-0006.htmlWEB
- https://security.gentoo.org/glsa/202402-08WEB
- https://www.openssl.org/news/secadv/20230207.txtWEB
Frequently Asked Questions
- What is CVE-2023-0286?
- Vulnerable OpenSSL included in cryptography wheels. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.4/10).
- How do I check if my project is affected by CVE-2023-0286?
- CVE-2023-0286 affects openssl-src and cryptography. It has a 5.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-0286 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top 10% of EPSS-scored vulnerabilities — 93.3% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2026-39892CRITICAL
- CVE-2021-3711CRITICAL
SM2 Decryption Buffer Overflow
- CVE-2026-69249HIGH
python-cryptography: Duplicate self-signed intermediates can cause exponential path-building
- CVE-2026-69248HIGH
python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
- CVE-2022-1473HIGH
Resource leakage when decoding certificates and keys
- CVE-2023-0216HIGH
openssl-src subject to Invalid pointer dereference in `d2i_PKCS7` functions
- CVE-2022-3358HIGH
Using a Custom Cipher with `NID_undef` may lead to NULL encryption
- CVE-2026-69247MEDIUM
cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing