The DH_check_pub_key function in crypto/dh/dh_check.c in OpenSSL 1.0.2 before 1.0.2f does…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA. Impact type from CWE-200.
Summary
The DH_check_pub_key function in crypto/dh/dh_check.c in OpenSSL 1.0.2 before 1.0.2f does not ensure that prime numbers are appropriate for Diffie-Hellman (DH) key exchange, which makes it easier for remote attackers to discover a private DH exponent by making multiple handshakes with a peer that chose an inappropriate number, as demonstrated by a number in an X9.42 file.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:openssl:openssl:1.0.2:*:*:*:*:*:*:* | 1.0.2 | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2:beta1:*:*:*:*:*:* | 1.0.2 beta1 | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2:beta2:*:*:*:*:*:* | 1.0.2 beta2 | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2:beta3:*:*:*:*:*:* | 1.0.2 beta3 | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2a:*:*:*:*:*:*:* | 1.0.2a | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2b:*:*:*:*:*:*:* | 1.0.2b | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2c:*:*:*:*:*:*:* | 1.0.2c | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2d:*:*:*:*:*:*:* | 1.0.2d | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2e:*:*:*:*:*:*:* | 1.0.2e | Vulnerable | OpenSSL |
- cpe:2.3:a:openssl:openssl:1.0.2:*:*:*:*:*:*:* Versions 1.0.2 Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2:beta1:*:*:*:*:*:* Versions 1.0.2 beta1 Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2:beta2:*:*:*:*:*:* Versions 1.0.2 beta2 Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2:beta3:*:*:*:*:*:* Versions 1.0.2 beta3 Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2a:*:*:*:*:*:*:* Versions 1.0.2a Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2b:*:*:*:*:*:*:* Versions 1.0.2b Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2c:*:*:*:*:*:*:* Versions 1.0.2c Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2d:*:*:*:*:*:*:* Versions 1.0.2d Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2e:*:*:*:*:*:*:* Versions 1.0.2e Vulnerable ·OpenSSL
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 7 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat JBoss Enterprise Application Platform 6
- Red Hat JBoss Enterprise Web Server 1
- Red Hat JBoss Enterprise Web Server 2
- Red Hat JBoss Enterprise Web Server 3
Timeline
- 2026-10-02 Threatist record created from CVE-2016-0701
- 2026-10-03 Alias added: GHSA-v9p6-6jhc-fhfp
References
Advisory 6
Other 15
- https://www.oracle.com/security-alerts/cpuapr2020.html
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- https://www.oracle.com/security-alerts/cpujan2020.html
- http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html
- https://git.openssl.org/?p=openssl.git%3Ba=commit%3Bh=c5b831f21d0d29d1e517d139d9d101763f60c9a2
- https://git.openssl.org/?p=openssl.git%3Ba=commit%3Bh=878e2c5b13010329c203f309ed0c8f2113f85648
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05164821
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390893
- http://intothesymmetry.blogspot.com/2016/01/openssl-key-recovery-attack-on-dh-small.html
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03724en_us
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10759
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
More Openssl vulnerabilities
- TI-2022-01915 The c_rehash script allows command injection CVSS 3.1CRITICAL 9.8
- TI-2021-02645 SM2 Decryption Buffer Overflow CVSS 3.1CRITICAL 9.8
- TI-2009-03392 The TLS protocol, and the SSL protocol 3.0 and possibly earlier, as used in Microsoft… CVSS 3.1CRITICAL 9.8
- TI-2022-01176 The c_rehash script allows command injection CVSS 3.1CRITICAL 9.8
- TI-2014-00154 The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly… KEVCVSS 3.1HIGH 7.5
- TI-2025-14107 Stack buffer overflow in CMS (Auth)EnvelopedData parsing CVSS 3.1HIGH 8.8
Sources
- CVE-2016-0701 · CVE Program
- CVE-2016-0701 · NVD
- FIRST EPSS
- GHSA-v9p6-6jhc-fhfp · GitHub Advisory Database · CC BY 4.0
- CVE-2016-0701 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences