BreachSpiderVerified, not vibes

CVE-2018-8970 in Openbsd Libressl

High 7.4

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 informa...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.07.4
EPSS1.0%
EPSS percentile63th
FixSee advisory

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Openbsd Libressl 2.7.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2018-8970
BreachSpider IDBS-2018-GLOBAL-205815-H
CVSS vectorCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Published2018-03-24
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-295: CWE-295

Related attack patterns (CAPEC)

CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-295

CAPEC-475 Signature Spoofing by Improper Validation via CWE-295

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2018. A high severity vulnerability affects Openbsd systems (CVE-2018-8970). A proof-of-concept has been published. Isolate affected systems if patching is not feasible.

Vulnerability details: 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. CVSS vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.

Questions

What is CVE-2018-8970?

This vulnerability was disclosed in 2018. A high severity vulnerability affects Openbsd systems (CVE-2018-8970). A proof-of-concept has been published. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2018-8970?

CVE-2018-8970 has CVSS 7.4 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N. EPSS: 1.0%.

Is CVE-2018-8970 actively exploited?

No confirmed active exploitation of CVE-2018-8970 as of 2026-06-20.

How do I remediate CVE-2018-8970?

Priority: MEDIUM. Advisory: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.7.1-relnotes.txt PSIRT: [email protected]

What systems are affected by CVE-2018-8970?

CVE-2018-8970 affects Openbsd Libressl.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Openbsd","product":"Libressl","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.