← Vulnerability feed

Vulnerability record · CVE-2018-0732 · published 12 June 2018

CVE-2018-0732: OpenSSL DH key agreement client hang via oversized prime

OOpenssl · Openssl

During a TLS handshake using a DH or DHE ciphersuite, a malicious server can send an extremely large prime value to the client. The client then spends an unreasonable amount of time generating a key for that prime, hanging until the computation finishes. This allows a denial of service against TLS clients using affected OpenSSL versions.

7.5 CVSS 3.1 High EPSS 49% · top 1.2% CWE-320 · CWE-320
7.5CVSS 3.1 base score, v2 5.0
49%EPSS exploitation probability, 30 days
NoNot in CISA KEV
4Affected product versions listed by NVD
74References
17 Jun 2026Last modified by NVD

Description

During key agreement in a TLS handshake using a DH(E) based ciphersuite a malicious server can send a very large prime value to the client. This will cause the client to spend an unreasonably long period of time generating a key for this prime resulting in a hang until the client has finished. This could be exploited in a Denial Of Service attack. Fixed in OpenSSL 1.1.0i-dev (Affected 1.1.0-1.1.0h). Fixed in OpenSSL 1.0.2p-dev (Affected 1.0.2-1.0.2o).

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

high priorityCVSS 7.5 with network reachability and no authentication, plus a very high EPSS percentile, though impact is limited to denial of service.

What it is

During a TLS handshake using a DH or DHE ciphersuite, a malicious server can send an extremely large prime value to the client. The client then spends an unreasonable amount of time generating a key for that prime, hanging until the computation finishes. This allows a denial of service against TLS clients using affected OpenSSL versions.

Impact

An attacker acting as a TLS server can stall a connecting client for an extended period, consuming CPU and blocking the handshake. The result is a denial of service; there is no confidentiality or integrity impact.

Attack surface

Reached over the network during the TLS handshake when the client negotiates a DH(E) ciphersuite with a malicious or compromised server. No authentication or user interaction is required, per the CVSS vector AV:N/AC:L/PR:N/UI:N.

Exploitation

Not listed in CISA KEV and no ransomware usage is documented. EPSS is high (0.488 probability, 98.8th percentile), and references are patch and advisory entries rather than exploit write-ups.

What to do

  • Upgrade OpenSSL to 1.1.0i or later, or 1.0.2p or later, and apply the corresponding vendor patches (Ubuntu, Debian, Red Hat, Node.js, Oracle, NetApp, Gentoo, Siemens, Palo Alto advisories are referenced).
  • Where DH(E) ciphersuites are not required, disable them or prefer ECDHE to remove the affected code path.
  • Apply vendor errata for bundled OpenSSL in Node.js and other products rather than relying on the system library alone.
  • Set handshake and connection timeouts so a stalled key agreement does not hold resources indefinitely.

Detection

  • Monitor TLS clients for abnormally long handshake or key-agreement durations and CPU spikes tied to DH parameter processing.
  • Alert on outbound TLS connections to untrusted or unexpected servers negotiating DHE ciphersuites.
  • Track OpenSSL library versions across hosts and flag those still in the affected 1.1.0-1.1.0h and 1.0.2-1.0.2o ranges.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html PatchThird Party Advisory
http://www.securityfocus.com/bid/104442 Third Party AdvisoryVDB Entry
http://www.securitytracker.com/id/1041090 Third Party AdvisoryVDB Entry
https://access.redhat.com/errata/RHSA-2018:2552 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:2553 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:3221 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:3505 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1296 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1297 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1543 Third Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-419820.pdf Third Party Advisory
https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=3984ef0b72831da8b3ece4745cac4f8575b19098
https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=ea7abeeabf92b7aca160bdd0208636d4da69f4f4
https://lists.debian.org/debian-lts-announce/2018/07/msg00043.html Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EWC42UXL5GHTU5G77VKBF6J
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y3IVFGSERAZLNJCK35TEM2R
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZBEV5QGDRFUZDMNECFXUSN5
https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/ Vendor Advisory
https://security.gentoo.org/glsa/201811-03 Third Party Advisory
https://security.netapp.com/advisory/ntap-20181105-0001/ Third Party Advisory
https://security.netapp.com/advisory/ntap-20190118-0002/ Third Party Advisory
https://securityadvisories.paloaltonetworks.com/Home/Detail/133 Third Party Advisory
https://usn.ubuntu.com/3692-1/ Third Party Advisory
https://usn.ubuntu.com/3692-2/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4348 Third Party Advisory
https://www.debian.org/security/2018/dsa-4355 Third Party Advisory
https://www.openssl.org/news/secadv/20180612.txt Vendor Advisory
https://www.oracle.com/security-alerts/cpuapr2020.html Third Party Advisory
https://www.oracle.com/security-alerts/cpujan2021.html Third Party Advisory
https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html PatchThird Party Advisory
https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html PatchThird Party Advisory
https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html PatchThird Party Advisory
https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html PatchThird Party Advisory
https://www.tenable.com/security/tns-2018-12 Third Party Advisory
https://www.tenable.com/security/tns-2018-13 Third Party Advisory
https://www.tenable.com/security/tns-2018-14 Third Party Advisory
https://www.tenable.com/security/tns-2018-17 Third Party Advisory
http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html PatchThird Party Advisory
http://www.securityfocus.com/bid/104442 Third Party AdvisoryVDB Entry
http://www.securitytracker.com/id/1041090 Third Party AdvisoryVDB Entry

Track CVE-2018-0732 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2018-0732), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.