The int_x509_param_set_hosts function in lib/libcrypto/x509/x509_vpm.c in LibreSSL 2.7.0…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- No fix listed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA. Impact type from CWE-295.
Summary
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.
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
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2018-8970
- 2026-10-03 Alias added: GHSA-7gr4-mrjx-cjx9
References
More OpenBSD Libressl vulnerabilities
- TI-2023-17874 A double free or use after free could occur after SSL_clear in OpenBSD 7.2 before errata… CVSS 3.1CRITICAL 9.8
- TI-2021-21548 x509/x509_verify.c in LibreSSL before 3.4.2, and OpenBSD before 7.0 errata 006, allows… CVSS 3.1CRITICAL 9.8
- TI-2015-04488 Out-of-bounds write in LibreSSL CVSS 3.1CRITICAL 9.8
- TI-2015-04487 Uncontrolled resource consumption in LibreSSL CVSS 3.1HIGH 7.5
- TI-2014-07651 Double free vulnerability in the ssl_parse_clienthello_use_srtp_ext function in d1_srtp.c… CVSS 2.0HIGH 7.5
- TI-2019-15189 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). CVSS 3.1HIGH 7.1
Sources
- CVE-2018-8970 · CVE Program
- CVE-2018-8970 · NVD
- FIRST EPSS
- GHSA-7gr4-mrjx-cjx9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences