CVE-2026-117666
ssl_verify_fun: partial-label wildcard certificate matches hostnames across a label boundary
Check your servers for CVE-2026-117666
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-117666 affects ssl_verify_fun, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Improper Validation of Certificate with Host Mismatch vulnerability in deadtrickster ssl_verify_fun allows an adversary in the middle to impersonate a TLS peer via a certificate that carries a partial-label wildcard. try_match_wildcard/4 in src/ssl_verify_hostname.erl anchors only the text before and after the * of an identifier such as f*.example.net, so the wildcard also consumes dots and the certificate is accepted for f.evil.example.net. RFC 6125 confines a wildcard to the left-most label. The same matcher lets *.168.1.1 match the IP literal 192.168.1.1. Whole-label wildcards are matched correctly.
Erlang/OTP 20.0 and later check the hostname in ssl before a user verify_fun sees valid_peer, so a client that keeps server_name_indication set rejects the mismatch regardless. Exposed are clients that disable SNI, servers that verify client certificate hostnames with this library, and direct callers of verify_cert_hostname/2.
This issue affects ssl_verify_fun: from 1.0.1 before 1.1.8.
Severity (CVSS)
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Attack requirements
- present: an attack works only when the target is in a certain state or configuration
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality high, integrity high, availability none: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 6 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-297 Improper Validation of Certificate with Host Mismatch
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
ssl_verify_fun
package
ssl_verify_fun |
affected from 1.0.1, before 1.1.8
Other versions: unaffected
|
|
ssl_verify_fun
package
deadtrickster/ssl_verify_fun.erl |
affected from a49ca56923356c7a3981692b23c42ef32c2990e0, before ca34031299cd2e0c98794c0da4ba556b94e39aad
Other versions: unaffected
|
Is my server affected?
Find the installed version of ssl_verify_fun and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i ssl_verify_fun
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-117666 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-117666RHEL, Rocky, Alma, Fedora
rpm -q ssl_verify_fun
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-117666Alpine
apk list --installed | grep -i ssl_verify_funWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-117666
trivy image --scanners vuln IMAGE | grep CVE-2026-117666
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- ssl_verify_fun: partial-label wildcard certificate matches hostnames across a label boundary github.com · vendor advisory, related
Patches and release notes
- Do not let partial-label wildcards match across label boundaries (ssl_verify_fun.erl pull request #33) github.com · patch
- Fix commit ca34031 in deadtrickster/ssl_verify_fun.erl github.com · patch
Other references
- EEF CNA record for CVE-2026-117666 cna.erlef.org · related
- OSV record EEF-CVE-2026-117666 osv.dev · related
- Introducing commit a49ca56 in deadtrickster/ssl_verify_fun.erl github.com · related
Source: the record CVE-2026-117666 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse