Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-32745

CVE-2022-32745: Samba Samba DOS Vulnerability

CVE-2022-32745 is a denial of service vulnerability in Samba that allows AD users to trigger server crashes through malformed LDAP requests. This article covers the technical details, affected versions, and mitigations.

Published: February 18, 2026

CVE-2022-32745 Overview

A vulnerability has been identified in Samba where Active Directory (AD) users can cause the server to access uninitialized data through malformed LDAP add or modify requests. This flaw typically results in a segmentation fault, leading to denial of service conditions on affected Samba AD domain controllers.

Critical Impact

Authenticated users can crash Samba AD domain controllers by triggering uninitialized memory access, potentially disrupting authentication services across the enterprise network.

Affected Products

  • Samba (multiple versions)
  • Samba AD Domain Controller deployments
  • Systems running Samba with LDAP services enabled

Discovery Timeline

  • 2022-08-25 - CVE-2022-32745 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-32745

Vulnerability Analysis

This vulnerability is classified as an Out-of-Bounds Read (CWE-125) in the Samba LDAP request handling code. The flaw occurs when the Samba AD server processes specially crafted LDAP add or modify requests, causing it to read from uninitialized memory regions.

The vulnerability is exploitable over the network and requires some user interaction. When successfully exploited, attackers can cause the server to crash through a segmentation fault, effectively denying service to legitimate users who depend on the AD domain controller for authentication and directory services.

The attack surface is significant in enterprise environments where Samba serves as the primary AD domain controller. A successful attack could disrupt authentication workflows across the organization until the service is restarted.

Root Cause

The root cause lies in improper handling of LDAP request data within Samba's AD implementation. When processing certain LDAP add or modify operations, the code path fails to properly initialize memory before accessing it, leading to reads of uninitialized data. This uninitialized memory access triggers undefined behavior, typically manifesting as a segmentation fault that terminates the Samba process.

Attack Vector

The attack is network-based and targets Samba AD domain controllers running LDAP services. An attacker with valid AD user credentials can craft malicious LDAP add or modify requests that trigger the uninitialized memory access condition.

The exploitation flow involves:

  1. Authenticating to the Samba AD domain controller as a valid user
  2. Sending a specially crafted LDAP add or modify request
  3. The server processes the request and accesses uninitialized memory
  4. A segmentation fault occurs, crashing the Samba service
  5. Directory and authentication services become unavailable

This denial of service condition persists until an administrator manually restarts the Samba service, making it particularly disruptive in production environments.

Detection Methods for CVE-2022-32745

Indicators of Compromise

  • Unexpected Samba service crashes or restarts on AD domain controllers
  • Segmentation fault entries in system logs (/var/log/samba/ or syslog)
  • Unusual LDAP add or modify request patterns from specific user accounts
  • Core dump files generated by the Samba process

Detection Strategies

  • Monitor Samba logs for segmentation fault errors and unexpected service terminations
  • Implement LDAP request auditing to identify anomalous add or modify operations
  • Configure process monitoring to alert on repeated Samba daemon crashes
  • Deploy network intrusion detection rules to identify malformed LDAP requests

Monitoring Recommendations

  • Enable detailed LDAP operation logging in Samba configuration (log level = 3 ldap:5)
  • Set up automated alerts for Samba service availability and process health
  • Monitor authentication success rates to detect service disruptions
  • Review core dumps when available to identify exploitation attempts

How to Mitigate CVE-2022-32745

Immediate Actions Required

  • Apply the latest Samba security patches from the official repository immediately
  • Review system logs for evidence of exploitation attempts
  • Implement network segmentation to limit LDAP access to trusted systems
  • Consider enabling additional authentication requirements for LDAP modifications

Patch Information

Samba has released security updates to address this vulnerability. Administrators should upgrade to the latest patched version available for their distribution. Detailed patch information and affected version ranges are available in the Samba CVE-2022-32745 Security Advisory.

Linux distribution maintainers have also released updated packages. Gentoo users should refer to the Gentoo Security Advisory GLSA 202309-06 for distribution-specific guidance.

Workarounds

  • Restrict LDAP access to trusted IP ranges using firewall rules
  • Implement rate limiting on LDAP connections to reduce impact of exploitation attempts
  • Consider read-only DC deployments where write operations are not required
  • Monitor and restrict user accounts with LDAP modification privileges
bash
# Configuration example - restrict LDAP access via iptables
# Allow LDAP only from trusted management network
iptables -A INPUT -p tcp --dport 389 -s 10.0.0.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 636 -s 10.0.0.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 389 -j DROP
iptables -A INPUT -p tcp --dport 636 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechSamba

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.50%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-125
  • Technical References
  • Gentoo Security Advisory GLSA 202309-06
  • Vendor Resources
  • Samba CVE-2022-32745 Security Information
  • Related CVEs
  • CVE-2022-0336: Samba AD DC SPN Bypass DoS Vulnerability

  • CVE-2021-20277: Samba LDAP Denial of Service Vulnerability

  • CVE-2020-27840: Samba Denial of Service Vulnerability

  • CVE-2020-14323: Samba Winbind Service DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English