Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain CA-trusted cert with over-matching wildcard names
-
DeliveryGain MITM position on victim's path
-
ExploitVictim initiates C-Kermit TLS session
-
ExecutionPresent over-matching cert, dNSName_cmp() wrongly accepts
-
ImpactIntercept credentials and data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate host validation
|
| Exploitation Conditions | Exploitation requires three concrete prerequisites, all of which must hold at once: (1) C-Kermit must be built WITH SSL/TLS support and used as a TLS client over Telnet, FTP, or HTTP; (2) the attacker must possess a certificate that chains to a CA the client trusts and whose dNSName/commonName entries over-match - containing asterisks, question marks, brackets, or empty labels that Kermit's per-label pattern matcher wrongly accepts (e.g. a SAN of '*' or 'l*' matching 'localhost'); and (3) the attacker must occupy a man-in-the-middle position on the connection path (the AT:P attack requirement). The victim must also actively initiate the connection (UI:P). Limiting factors: affected versions are 8.0.200 up to (not including) 11.1.515; builds against OpenSSL 1.0.2+ or LibreSSL that already use X509_check_host() are not affected by the weak matcher; and the attacker needs an existing trusted (if over-permissive) certificate, so this is a targeted MITM rather than an unauthenticated remote code path against default configurations. |
| Impact | This is a genuine but conditional man-in-the-middle risk rather than a mass-exploitation emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P, score 7.6) encodes the key nuance: the attack is network-borne and needs no privileges (PR:N), but it carries an Attack Requirement (AT:P) and Passive user interaction (UI:P) - consistent with a MITM that needs both an interception position and a victim who initiates a TLS session (Telnet, FTP, or HTTP over TLS). The high VC:H/VI:H reflect that a successful intercept exposes credentials and data and lets the attacker inject/alter the session. No EPSS score and no KEV status are provided, and CISA has not listed this; exploitation status is best described as no public exploit identified at time of analysis - the GHSA advisory explicitly states that tests were added only for the separate IKSD authentication bug and that no proof of concept was developed for the certificate-validation flaws. The vuln.today priority is 'this_week' (not act_now/emergency). Net: real and worth patching promptly for anyone running TLS-enabled C-Kermit as a client, but it is not a drive-by, Internet-wide threat - it requires an attacker who already holds a CA-trusted certificate with over-matching wildcard names and can intercept traffic, which limits it to targeted scenarios. |
| Exploit ScenarioDerived | An attacker who holds a trusted certificate whose names over-match (e.g. a SAN of '*', 'l*', or entries using '?', '[...]' or empty labels) positions themselves as a man-in-the-middle on a victim's Telnet-, FTP-, or HTTP-over-TLS connection made with C-Kermit. Because dNSName_cmp() matches each certificate label as a Kermit pattern, the bogus certificate is accepted as valid for the intended host, so the client completes the handshake with the attacker, who then intercepts credentials and session data. No weaponized exploit is published - the advisory developed no PoC for this flaw - but the trigger mechanism is clearly documented in the fix and changelog. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
TLS host name verification in C-Kermit is broken in versions 8.0.200 through 11.0.514: the client accepts a server certificate whose name only loosely resembles the host it dialed, so an attacker in a man-in-the-middle position can impersonate that host and capture Telnet, FTP, and HTTP credentials and session data. Exploitation is conditional rather than trivial - the attacker needs a certificate chaining to a CA the victim already trusts that contains over-matching names (asterisks, question marks, brackets, or empty labels) and must sit on the connection path while the victim initiates the connection (unauthenticated remote attacker per the CVSS 4.0 vector, with attack prerequisites and user interaction). No confirmed active exploitation and no verified public exploit code for this host name matching flaw were identified at time of analysis; the same upstream advisory also documents a separate IKSD client-certificate authentication bypass that is arguably more severe.
RemediationAI
Vendor-released patch: upgrade to C-Kermit 11.1.515, which replaces the per-label pattern matcher with X509_check_host() and X509_check_ip_asc() (commit 8c60a2bd70f5a78e77ce5d140a17e7a9cdcd5e60, referenced from advisory GHSA-5pc4-gh6q-5h4w). Installing that release also closes the IKSD client-certificate login bypass described in the same advisory, so systems using IKSD for certificate-based authentication should be treated as the higher priority within the vendor's guidance; given the priority label this_week, schedule the upgrade within the current week rather than as an emergency change. The fix requires building against OpenSSL 1.0.2 or later, or LibreSSL, so environments pinned to an older OpenSSL must plan the crypto library upgrade alongside the C-Kermit upgrade; builds that remain on the legacy code path keep the permissive matcher and the IPv4-only SAN comparison. The advisory documents no standalone configuration workaround for the host name matching flaw - updating is the complete fix - so interim risk reduction depends on deployment context: the flaw only yields impersonation when the attacker holds a certificate chaining to a CA the client trusts, so narrowing the client's trust store to CAs whose wildcard issuance follows RFC 6125 reduces exposure at the cost of breaking connections to servers signed by excluded CAs, and it does not address the IKSD authentication bypass at all.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-297 (improper validation of certificate with host mismatch), with the upstream advisory additionally classifying the bundle of issues as CWE-287. C-Kermit's TLS client code in ck_ssl.c compared the host being connected to against certificate dNSName and commonName entries using dNSName_cmp(), which matched each label of the certificate name as a Kermit pattern rather than following RFC 6125 name matching. As a result a certificate name of '*' or 'l*' matched 'localhost', and '?', '[...]' bracket expressions and empty labels also matched, so a certificate that should have been rejected for host mismatch was silently accepted. The flaw was introduced in C-Kermit 8.0.200 (2001), and in the same release series a related bug meant that AUTHENTICATION for SSL after START-TLS did not verify the presented certificate's host name at all, while IKSD configured for client-certificate login fell back to an AUTH_VALID state after a failed certificate check and skipped the password prompt entirely (that one dates to 7.0.197, 2000). The fix in commit 8c60a2bd replaces the hand-rolled matcher with OpenSSL/LibreSSL X509_check_host() and X509_check_ip_asc() when built against OpenSSL 1.0.2+ or LibreSSL, so a wildcard matches only as the whole leftmost label of a multi-label name; the minimum OpenSSL version required to build C-Kermit was raised to 1.0.2 as a consequence. Older builds retain the legacy path, which also only compares IPv4 address literals against iPAddress SAN entries and always emits a spurious mismatch warning for IPv6-literal hosts.
Know when C Kermit gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
MITM position plus a specially over-matching trusted cert make AC:H; no privileges needed (PR:N) but the victim must initiate the TLS session (UI:R); intercept exposes and alters data (C:H/I:H), no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
C-Kermit 8.0.200 before 11.1.515 contains an improper certificate hostname validation vulnerability that allows attackers to impersonate hosts by abusing wildcard matching in dNSName_cmp() in ck_ssl.c. Attackers holding a trusted certificate with over-matching names containing asterisks, question marks, brackets, or empty labels can intercept credentials and data over Telnet, FTP, and HTTP TLS connections.
Technical POC Analysis
CWE-297, Improper Validation of Certificate with Host Mismatch.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
C-Kermit versions 8.0.200 through 11.0.514 contain a high-severity flaw where the client may accept certificates with overly permissive name matching, enabling man-in-the-middle attacks that could capture Telnet, FTP, and HTTP credentials. This puts organizations relying on C-Kermit for secure file transfers and remote sessions at risk of credential theft and session compromise, particularly in environments where such traffic traverses untrusted networks.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
OS command injection in the C-Kermit server (versions before 11.1.515) lets a remote client run arbitrary shell commands
Unauthenticated remote code execution in C-Kermit's Kermit server mode lets a connecting client run shell commands on th
Heap-based buffer overflow in C-Kermit before 11.1.515 allows unauthenticated remote peers to write attacker-chosen byte
Buffer overflow in C-Kermit's FTP client getreply() routine in ckcftp.c lets an attacker-controlled or man-in-the-middle
C-Kermit's Telnet client (versions 6.0.192 through 11.0.514) writes attacker-supplied NEW-ENVIRON SEND data past the bou
Authentication bypass in C-Kermit's IKSD server (7.0.197 through 11.0.x, fixed in 11.1.515) lets an attacker who holds a
C-Kermit builds with SSL/TLS support compiled in fail to check that a Telnet peer's certificate actually names the host
C-Kermit releases from 6.0.192 up to but not including 11.1.515 allow a malicious Kermit sender to append attacker-suppl
C-Kermit's FTP recursive transfer path (doftpget() in ckcftp.c) uses NLST/MLSD listing names from the server verbatim as
C-Kermit 11.0.506 through 11.1.514 allows a malicious Kermit peer or FTP server to write files the user never requested
EUVD-2026-125561
GHSA-q6vx-pc22-rghc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB