Bug 2565931

Summary: CVE-2026-117666 erlang-ssl_verify_fun: ssl_verify_fun: partial-label wildcard certificate matches hostnames across a label boundary [fedora-all]
Product: [Fedora] Fedora Reporter: Joel Chamberlain <jochambe>
Component: erlang-ssl_verify_funAssignee: Peter Lemenkov <lemenkov>
Status: ON_QA --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: erlang-maint-sig, lemenkov
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["0827b0be-b871-4e0e-8244-5e92d814c488"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2564302    

Description Joel Chamberlain 2026-11-03 16:30:46 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-11-04 18:39:01 UTC
FEDORA-2026-294100aaf6 (erlang-ssl_verify_fun-1.1.9-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-294100aaf6

Comment 2 Fedora Update System 2026-11-04 18:39:02 UTC
FEDORA-2026-64d3a7301a (erlang-ssl_verify_fun-1.1.9-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-64d3a7301a

Comment 3 Fedora Update System 2026-11-05 02:41:40 UTC
FEDORA-2026-64d3a7301a has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-64d3a7301a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-64d3a7301a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-11-05 03:10:23 UTC
FEDORA-2026-294100aaf6 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-294100aaf6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-294100aaf6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.