CVE-2018-8970
CVE-2018-8970 is a high-severity vulnerability in Openbsd Libressl with a CVSS 3.x base score of 7.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-295.
Key facts
- Severity: High (CVSS 3.x base score 7.4)
- CVSS v2: 5.8
- EPSS exploit prediction: 1% (64th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-295
- Affected product: Openbsd Libressl
- Published:
- Last modified:
Description
The int_x509_param_set_hosts function in lib/libcrypto/x509/x509_vpm.c in LibreSSL 2.7.0 before 2.7.1 does not support a certain special case of a zero name length, which causes silent omission of hostname verification, and consequently allows man-in-the-middle attackers to spoof servers and obtain sensitive information via a crafted certificate. NOTE: the LibreSSL documentation indicates that this special case is supported, but the BoringSSL documentation does not.
Frequently asked questions
- What is CVE-2018-8970?
- The int_x509_param_set_hosts function in lib/libcrypto/x509/x509_vpm.c in LibreSSL 2.7.0 before 2.7.1 does not support a certain special case of a zero name length, which causes silent omission of hostname verification, and consequently allows man-in-the-middle attackers to spoof servers and obtain sensitive information via a crafted certificate. NOTE: the LibreSSL documentation indicates that this special case is supported, but the BoringSSL documentation does not.
- How severe is CVE-2018-8970?
- CVE-2018-8970 has a CVSS 3.x base score of 7.4, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2018-8970 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (64th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-8970?
- CVE-2018-8970 affects Openbsd Libressl. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2018-8970?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2018-8970 published?
- CVE-2018-8970 was published on 2018-03-24 and last updated on 2026-06-17.
References
- https://boringssl.googlesource.com/boringssl/+/e759a9cd84198613199259dbed401f4951747cff
- https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.7.1-relnotes.txt
- https://github.com/libressl-portable/openbsd/commit/0654414afcce51a16d35d05060190a3ec4618d42
Affected products (1)
- cpe:2.3:a:openbsd:libressl:2.7.0:*:*:*:*:*:*:*
More vulnerabilities in Openbsd Libressl
- CVE-2023-35784 — Critical (CVSS 9.8): A double free or use after free could occur after SSL_clear in OpenBSD 7.2 before errata 026 and 7.3 before errata 004,…
- CVE-2021-46880 — Critical (CVSS 9.8): x509/x509_verify.c in LibreSSL before 3.4.2, and OpenBSD before 7.0 errata 006, allows authentication bypass because an…
- CVE-2015-5334 — Critical (CVSS 9.8): Off-by-one error in the OBJ_obj2txt function in LibreSSL before 2.3.1 allows remote attackers to cause a denial of…
- CVE-2015-5333 — High (CVSS 7.5): Memory leak in the OBJ_obj2txt function in LibreSSL before 2.3.1 allows remote attackers to cause a denial of service…
- CVE-2014-9424 — High (CVSS 7.5): Double free vulnerability in the ssl_parse_clienthello_use_srtp_ext function in d1_srtp.c in LibreSSL before 2.1.2…
- CVE-2019-25049 — High (CVSS 7.1): LibreSSL 2.9.1 through 3.2.1 has an out-of-bounds read in asn1_item_print_ctx (called from asn1_template_print_ctx).
All CVEs affecting Openbsd Libressl →
Other CWE-295 (Improper Certificate Validation) vulnerabilities
- CVE-2026-75521 — Critical (CVSS 10.0): Miren Runtime provides the runtime component for the Miren application platform. Prior to 0.11.1, the QUIC/HTTP3 RPC…
- CVE-2026-112816 — Critical (CVSS 10.0): Improper certificate validation in the HTTPS listener in Canonical LXD 4.0.14, 5.0.10, 5.21.8, 6.9 before 4.0.15,…
- CVE-2026-111815 — Critical (CVSS 10.0): Apache Traffic Server can resume a TLS session across SNI virtual hosts without re-verifying a client certificate…
- CVE-2026-111814 — Critical (CVSS 10.0): Apache Traffic Server's default outbound session-sharing policy can reuse a pooled TLS session authenticated with one…
- CVE-2026-96207 — Critical (CVSS 10.0): Improper certificate validation in Microsoft Partner Center allows an unauthorized attacker to elevate privileges over…
- CVE-2026-58162 — Critical (CVSS 10.0): The Apache Traffic Server certifier plugin generates certificates based on attacker-controlled client SNI. This…
Browse all CWE-295 (Improper Certificate Validation) vulnerabilities →