Skip to main content

C-Kermit EUVDEUVD-2026-125561

| CVE-2026-129118 HIGH
Improper Validation of Certificate with Host Mismatch (CWE-297)
2026-11-13 VulnCheck GHSA-q6vx-pc22-rghc
7.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain CA-trusted cert with over-matching wildcard names
  2. Delivery
    Gain MITM position on victim's path
  3. Exploit
    Victim initiates C-Kermit TLS session
  4. Execution
    Present over-matching cert, dNSName_cmp() wrongly accepts
  5. Impact
    Intercept 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

C-Kermit 8.0.200 <11.1.515

Affected Packages

euvd c_kermit fix: 11.1.515

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

Vendor (VulnCheck) PRIMARY 7.6 HIGH
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
vuln.today AI 6.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
C-Kermit is a niche cross-platform comms/terminal tool, limited modern production footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-129124 CRITICAL
9.2 Nov 13

OS command injection in the C-Kermit server (versions before 11.1.515) lets a remote client run arbitrary shell commands

CVE-2026-129125 CRITICAL
9.2 Nov 13

Unauthenticated remote code execution in C-Kermit's Kermit server mode lets a connecting client run shell commands on th

CVE-2026-129126 CRITICAL
9.2 Nov 13

Heap-based buffer overflow in C-Kermit before 11.1.515 allows unauthenticated remote peers to write attacker-chosen byte

CVE-2026-129123 HIGH
8.7 Nov 13

Buffer overflow in C-Kermit's FTP client getreply() routine in ckcftp.c lets an attacker-controlled or man-in-the-middle

CVE-2026-129122 HIGH
7.7 Nov 13

C-Kermit's Telnet client (versions 6.0.192 through 11.0.514) writes attacker-supplied NEW-ENVIRON SEND data past the bou

CVE-2026-129116 HIGH
7.7 Nov 13

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

CVE-2026-129117 HIGH
7.6 Nov 13

C-Kermit builds with SSL/TLS support compiled in fail to check that a Telnet peer's certificate actually names the host

CVE-2026-129119 HIGH
7.1 Nov 13

C-Kermit releases from 6.0.192 up to but not including 11.1.515 allow a malicious Kermit sender to append attacker-suppl

CVE-2026-129121 MEDIUM
6.9 Nov 13

C-Kermit's FTP recursive transfer path (doftpget() in ckcftp.c) uses NLST/MLSD listing names from the server verbatim as

CVE-2026-129120 MEDIUM
5.9 Nov 13

C-Kermit 11.0.506 through 11.1.514 allows a malicious Kermit peer or FTP server to write files the user never requested

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy