Vulnerability in samba's Heimdal KDC Implementation

heimdal Updated 02 Oct 2025

Summary

31/07/2019
N/A
Yes i
High
7.5

CVE-2018-16860: A flaw was found in samba's Heimdal KDC implementation, versions 4.8.x up to, excluding 4.8.12, 4.9.x up to, excluding 4.9.8 and 4.10.x up to, excluding 4.10.3, when used in AD DC mode. Affects heimdal across 2 version ranges.

>= 5a9d09fee44052e18ce241ec28f78498d2e20d73, < a72d4598bf4a2186769f25050663f4779ea581e0 < 7.5.0-r4

Fixed in 7.5.0-r4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Samba is an open-source software suite that provides file and print services for various operating systems, including Windows. It includes an implementation of the Heimdal Kerberos Key Distribution Center (KDC), which is responsible for authenticating users and issuing tickets. This vulnerability affects versions 4.8.x up to, excluding 4.8.12, 4.9.x up to, excluding 4.9.8, and 4.10.x up to, excluding 4.10.3 when used in Active Directory Domain Controller (AD DC) mode.

Vulnerability Detail

The vulnerability, identified as CVE-2018-16860, allows a man-in-the-middle attacker to intercept requests to the KDC and replace the requested user name (principal) with any desired user name that exists in the KDC. This manipulation effectively grants the attacker a ticket for the substituted principal, potentially leading to unauthorized access and privilege escalation within the affected system.

How To Fix

Minimum fixed version

7.5.0-r4

This is the first release that contains the fix.

sudo apk add --upgrade heimdal

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

No specific workaround has been provided for this vulnerability.

Conclusion

The vulnerability in samba's Heimdal KDC implementation allows a man-in-the-middle attacker to impersonate any user in the KDC, potentially leading to unauthorized access and privilege escalation. It is crucial to update the affected packages to the recommended versions to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for heimdal →

Share this vulnerability

FAQ

The vulnerability allows an attacker to impersonate any user in the KDC, potentially gaining unauthorized access and escalating privileges within the affected system.

Versions 4.8.x up to, excluding 4.8.12, 4.9.x up to, excluding 4.9.8, and 4.10.x up to, excluding 4.10.3 are affected.

There is no known exploit available for this vulnerability at the time of this report.

Updating the affected packages to the recommended versions is the primary mitigation for this vulnerability.

You can find more information about this vulnerability in the provided source link.

Related vulnerabilities

Recent vulnerabilities recorded for heimdal.

How To Fix

Minimum fixed version

7.5.0-r4

This is the first release that contains the fix.

sudo apk add --upgrade heimdal

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback