The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-0194

CVE-2022-0194: Netatalk RCE Vulnerability

CVE-2022-0194 is a remote code execution flaw in Netatalk that allows unauthenticated attackers to execute arbitrary code as root. This post explains the technical details, affected versions, security impact, and mitigation.

Published: February 17, 2026

CVE-2022-0194 Overview

CVE-2022-0194 is a stack-based buffer overflow vulnerability in Netatalk that allows remote attackers to execute arbitrary code on affected installations. Authentication is not required to exploit this vulnerability, making it particularly dangerous for exposed systems. The specific flaw exists within the ad_addcomment function, where the issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root.

Critical Impact

Unauthenticated remote attackers can achieve root-level code execution on vulnerable Netatalk servers, potentially leading to complete system compromise.

Affected Products

  • Netatalk (versions prior to 3.1.13)
  • Debian Linux 10.0
  • Debian Linux 11.0

Discovery Timeline

  • March 28, 2023 - CVE-2022-0194 published to NVD
  • November 4, 2025 - Last updated in NVD database

Technical Details for CVE-2022-0194

Vulnerability Analysis

This vulnerability is classified as CWE-121 (Stack-based Buffer Overflow) and CWE-787 (Out-of-bounds Write). The flaw resides in the ad_addcomment function within Netatalk, which is an open-source AFP (Apple Filing Protocol) file server. Netatalk enables Unix-like systems to serve files to Macintosh clients, and this vulnerability affects the core file handling functionality.

The vulnerability allows attackers to send specially crafted network requests to the Netatalk service without requiring any form of authentication. When exploited successfully, the attacker gains code execution privileges in the context of the root user, providing complete control over the affected system.

This vulnerability was tracked as ZDI-CAN-15876 by the Zero Day Initiative, indicating it was discovered through their vulnerability research program.

Root Cause

The root cause of this vulnerability is improper input validation in the ad_addcomment function. The function fails to properly validate the length of user-supplied data before copying it to a fixed-length stack-based buffer. This classic buffer overflow pattern allows attackers to overwrite adjacent memory on the stack, including return addresses and other critical control data.

The absence of bounds checking on user-controlled input enables attackers to write beyond the allocated buffer space, corrupting the stack and redirecting program execution flow to attacker-controlled code.

Attack Vector

The attack vector for CVE-2022-0194 is network-based. An attacker can exploit this vulnerability remotely over the network without requiring any authentication or user interaction. The Netatalk service typically listens on network ports for AFP connections, making it accessible to attackers who can reach the target system.

The exploitation process involves:

  1. Identifying a system running a vulnerable version of Netatalk
  2. Crafting a malicious request that contains oversized data targeting the ad_addcomment function
  3. Sending the malicious request to trigger the buffer overflow
  4. Achieving code execution with root privileges

Due to the nature of this vulnerability, no code examples are provided. Technical details can be found in the Zero Day Initiative Advisory and the CERT Vulnerability Report.

Detection Methods for CVE-2022-0194

Indicators of Compromise

  • Unexpected crashes or restarts of the Netatalk service (afpd daemon)
  • Unusual network connections to Netatalk ports (typically TCP port 548)
  • Anomalous process spawning from the afpd process
  • Evidence of memory corruption in system logs or crash dumps
  • Unauthorized root-level processes following Netatalk service activity

Detection Strategies

  • Monitor network traffic for malformed or unusually large AFP protocol requests
  • Implement intrusion detection rules to identify buffer overflow exploitation patterns targeting Netatalk
  • Deploy endpoint detection and response (EDR) solutions to monitor for suspicious activity from the afpd process
  • Enable and monitor Netatalk service logs for error conditions related to the ad_addcomment function

Monitoring Recommendations

  • Configure alerting for Netatalk service crashes and unexpected restarts
  • Monitor for new processes spawned by the afpd daemon, especially those running with elevated privileges
  • Implement network segmentation to limit exposure of Netatalk services
  • Review system logs regularly for signs of exploitation attempts or successful compromise

How to Mitigate CVE-2022-0194

Immediate Actions Required

  • Update Netatalk to version 3.1.13 or later immediately
  • If immediate patching is not possible, disable the Netatalk service until a patch can be applied
  • Implement network-level access controls to restrict access to Netatalk services from untrusted networks
  • Review systems for signs of prior compromise before and after patching

Patch Information

Netatalk has released version 3.1.13 which addresses this vulnerability. Organizations should consult the Netatalk Release Notes for detailed patch information.

For Debian users:

  • Debian 10 (Buster) users should refer to the Debian LTS Announcement
  • Debian 11 (Bullseye) users should apply updates per Debian Security Advisory DSA-5503
  • Gentoo users should follow the Gentoo GLSA Advisory

Workarounds

  • Disable the Netatalk service if not required for business operations
  • Implement strict firewall rules to allow Netatalk connections only from trusted IP addresses
  • Deploy network segmentation to isolate Netatalk servers from untrusted network segments
  • Consider using VPN or other secure tunneling mechanisms to protect AFP traffic
bash
# Configuration example
# Restrict Netatalk access via firewall (iptables example)
iptables -A INPUT -p tcp --dport 548 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 548 -j DROP

# Or disable the service temporarily
systemctl stop netatalk
systemctl disable netatalk

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechNetatalk

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability9.30%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-121

  • CWE-787
  • Technical References
  • Debian LTS Announcement

  • Netatalk Release Notes

  • Gentoo GLSA Advisory

  • Debian Security Advisory

  • Zero Day Initiative Advisory

  • CERT Vulnerability Report
  • Related CVEs
  • CVE-2022-23125: Netatalk RCE Vulnerability

  • CVE-2022-23121: Netatalk RCE Vulnerability

  • CVE-2022-23124: Netatalk Information Disclosure Flaw

  • CVE-2024-38439: Netatalk Buffer Overflow Vulnerability
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