Netatalk vulnerabilities
62 known CVE vulnerabilities in Netatalk, translated and rated.
- CVE-2026-62318Critical
In Netatalk from 2.0.0 until 4.5.1, the DHX2 and DHX2-PAM authentication state machine allows logincont1 to be invoked again with the same retID after releasing the Ra object, leading to use-after-free and double-free. A remote attacker without valid AFP credentials can repeat the first continuation step, causing a repeatable pre-authentication crash of the afpd worker.
- CVE-2026-44050Critical
A heap-based buffer overflow in the CNID daemon in Netatalk (versions 2.0.0-4.4.2) allows a remote authenticated attacker to execute arbitrary code with elevated privileges or cause a denial of service.
- CVE-2026-143955High
Netatalk 2.2.0 before 4.6.1 contains an out-of-bounds write vulnerability in the readt() and writet() timeout helpers in libatalk/util/socket.c, which call FD_SET() on a stack-allocated fd_set without checking that the descriptor is below FD_SETSIZE. On servers configured with guest access and a connection limit raised above roughly 500, unauthenticated remote attackers can open enough DSI sessions to push the privileged afpd parent process's IPC descriptors above 1024 and then send an FPDisconnectOldSession command, terminating the parent process and causing a service-wide denial of service.
- CVE-2026-142090Medium
Netatalk 4.0.0 before 4.6.1 contains a stack-based buffer overflow in add_zones() in contrib/macipgw/macip.c, copying each zone name from a ZIP GetZoneList reply into a 32-byte stack buffer using the packet's length byte without checking it. An unauthenticated attacker on the same AppleTalk network can send a crafted zone list reply during macipgw startup zone discovery to overflow the stack and crash the MacIP gateway.
- CVE-2026-142089Low
Netatalk 4.0.0 before 4.6.1 contains an out-of-bounds read in nbp_parse() in libatalk/nbp/nbp_util.c, which returns a non-error value when an NBP type or zone length exceeds the 32-byte field size, so nbp_match() compares past the end of the name buffer. Unauthenticated attackers on the same AppleTalk network can send malformed NBP lookup replies to read out of bounds and potentially crash the process.
- CVE-2026-142088Medium
Netatalk 4.0.0 before 4.6.1 contains a stack-based buffer overflow in atalkd, where the ZIP GNIREPLY handler stores a default zone name without enforcing the 32-byte limit and zone_bcast() later copies it into a 32-byte stack array. An unauthenticated attacker on the same AppleTalk network can answer the GetNetInfo request of a non-seed Phase 2 interface with an overlong zone name to overflow the stack and crash atalkd.
- CVE-2026-142087High
Netatalk 4.5.0 before 4.6.1 contains an improper link resolution vulnerability in cnid_sqlite_open() in libatalk/cnid/sqlite/cnid_sqlite.c, which creates the CNID database directory world-writable with the sticky bit and then, as root, calls chmod() with mode 0666 on the predictable database, WAL, and shared-memory paths, following symbolic links. Local users can pre-create a symbolic link at one of these paths so that Netatalk makes an arbitrary root-owned file world-readable and world-writable, potentially leading to privilege escalation.
- CVE-2026-142086Medium
Netatalk 3.1.2 before 4.6.1 contains an improper link resolution vulnerability in delete_vetoed_files(), which classifies directory entries with stat() and recursively enters a veto-matching symbolic link to a directory, deleting every file in the link target. An authenticated AFP user on a volume with delete veto files enabled can create a veto-matching symlink to a directory outside the volume and delete files there with the privileges of the Netatalk service.
- CVE-2026-142085High
Netatalk 4.0.0 before 4.6.1 contains an out-of-bounds write vulnerability in the pap client (bin/pap/pap.c), which uses the printer-supplied status length byte as a signed char in memcpy() into a 1024-byte stack buffer without validating it. A malicious or compromised PAP printer can return a status response with a length byte of 0x80 or higher, which converts to a huge copy length and overflows the stack when a user runs pap against that printer.
- CVE-2026-142084Medium
Netatalk 4.0.0 before 4.6.1 contains a stack-based out-of-bounds write in cq_font_answer(), copying a client-supplied font name of up to 256 bytes into a 256-byte stack buffer and writing the NUL terminator one byte past its end. An unauthenticated attacker who can send PAP traffic to papd can submit a %%?BeginFontQuery with a font name of 256 or more bytes to corrupt the stack and crash the print server.
- CVE-2026-142083High
Netatalk 4.0.0 before 4.6.1 contains a NULL pointer dereference vulnerability in getstatus() in etc/papd/main.c, which passes the integer O_RDONLY, whose value is zero, as the mode argument to fopen() when reading a spooled printer's status file in builds without CUPS. Unauthenticated attackers who can send AppleTalk PAP traffic can send a PAP_OPEN or PAP_SENDSTATUS request to crash papd and keep the print service unavailable.
- CVE-2026-142061Medium
Netatalk 3.1.0 before 4.6.0 contains an out-of-bounds write in decompose_w(): it does not reserve space for the UTF-16 NUL terminator, so a decomposed string that exactly fills the destination is terminated two bytes past the fixed stack buffer in charset_decompose(). An authenticated AFP user creating a path near the MAXPATHLEN limit can corrupt stack memory and crash the AFP session process.
- CVE-2026-142060Medium
Netatalk 1.5.0 before 4.6.0 contains an improper privilege management vulnerability in afppasswd: when installed setuid-root it accepts the administrative -a and -p options from unprivileged callers and opens the selected file for writing with root privileges before verifying the caller. A local user can append a fixed-format SRP record to any root-writable file.
- CVE-2026-142059Medium
Netatalk 2.1.0 before 4.6.0 contains an improper link resolution vulnerability in check_addir() and read_addir(): they open and chdir() into a volume's .AppleDouble directory without rejecting a symbolic link and then unlink entries with no matching file in the parent directory. A local user can redirect dbd into an arbitrary directory so a later administrator repair-mode run deletes files there with root privileges.
- CVE-2026-62321High
In Netatalk from 3.1.0 until 4.5.1, the afpd Spotlight fetchQueryResultsForContext: reply path calls sl_pack from sl_pack_filemeta on a shifted sub-buffer without passing the remaining capacity of the outer DSI reply buffer. An authenticated AFP client can request an amplified nested file-metadata tree, causing an out-of-bounds write beyond struct DSI::data and heap corruption.
- CVE-2026-62320High
In Netatalk from 1.5.0 until 4.5.1, dsi_tcp_open in libatalk/dsi/dsi_tcp.c silently limits bytes read from an unauthenticated DSI frame on TCP/548 to server_quantum when dsi_len is larger, without rejecting the frame or draining the declared remainder. Leftover bytes remain queued and are interpreted as a new DSI frame, allowing smuggling of additional DSI frames.
- CVE-2026-62319High
In Netatalk from 1.5.0 until 4.5.1, dsi_stream_receive in libatalk/dsi/dsi_stream.c independently clamps dsi_doff and dsi_len for DSIWrite requests without enforcing that the data offset is no greater than the declared frame length. An authenticated AFP client can send dsi_doff greater than dsi_len, causing the receiver to consume bytes from a subsequent frame and irreversibly desynchronize the stream.
- CVE-2026-49390Low
Netatalk from 3.0.0 until 4.5.0 has getoption_int in libatalk/util/netatalk_conf.c that accepts an out-of-range server quantum value from afp.conf without applying the documented fallback to the default. An administrator can unintentionally configure a very large allocation causing AFP_PANIC at startup or a very small command buffer disrupting DSI framing, leaving afpd unavailable until the configuration is corrected and the daemon restarted.
- CVE-2026-49389Low
Netatalk from 2.0.0 until 4.5.0 has afp_catsearch in etc/afpd/catsearch.c that computes the spec2 pointer for FPCatSearch and FPCatSearchExt from the unvalidated 16-bit spec_len request field without checking it against the remaining input length. An authenticated AFP client can cause the CatSearch handler to read stale bytes beyond the supplied request data, but these bytes are used only as internal comparison criteria and are not returned to the client.
- CVE-2026-49388High
In Netatalk from 3.1.0 until 4.5.0, sl_unpack_loop in etc/afpd/spotlight_marshalling.c uses an attacker-controlled Spotlight table-of-contents index without validating it against the number of entries or the remaining buffer. An authenticated AFP client with access to a Spotlight-enabled volume can choose a large toc_index causing an out-of-range heap read and crashing the worker serving that session. This is fixed in version 4.5.0.
- CVE-2026-49387High
In Netatalk from 3.1.0 until 4.5.0, the afpd FPSpotlightRPC unmarshalling handlers in etc/afpd/spotlight_marshalling.c trust the element count encoded in the upper 32 bits of an RPC tag without comparing it to the remaining input length. An authenticated client with access to a Spotlight-enabled volume can make sl_unpack_ints, sl_unpack_date, sl_unpack_uuid, or sl_unpack_floats read heap memory beyond dsi->commands and crash the worker serving the session. This is fixed in version 4.5.0.
- CVE-2026-45356High
In Netatalk prior to 4.4.3, the afpd Spotlight RPC unmarshalling loop in etc/afpd/spotlight_marshalling.c subtracts an attacker-controlled subcount from the unsigned count variable without verifying subcount is not larger. An authenticated AFP client can supply an excessive element count, causing the subtraction to wrap near UINT_MAX and the loop to read heap memory out of bounds; the values can be returned in the Spotlight RPC response, disclosing heap contents. This is fixed in version 4.4.3.
- CVE-2026-45355High
In Netatalk prior to 4.4.3, the afpd Spotlight RPC string unmarshalling path in etc/afpd/spotlight_marshalling.c uses sl_unpack_cpx to calculate slen from qlen and the attacker-controlled used_in_last_block value without preventing a negative result. An authenticated AFP client can send a complex or UTF-16 string element that makes slen negative, and the implicit conversion to size_t causes dalloc_strndup or convert_string_allocate to read beyond the heap buffer. This can expose heap data through the RPC response or crash the worker process. This is fixed in version 4.4.3.
- CVE-2026-45354High
In Netatalk prior to 4.4.3, libatalk/dsi/dsi_stream.c interprets the dsi_code and dsi_doff union field as a data offset for all DSI command types instead of limiting that interpretation to DSIWrite. An unauthenticated client can send a non-WRITE DSIFUNC_CMD packet with a nonzero dsi_code smaller than dsi_len, leaving attacker-controlled bytes in the readahead buffer that become the next DSI header. This enables protocol desynchronization that can close sessions, corrupt protocol state, or trigger an infinite-read denial of service. This is fixed in version 4.4.3.
- CVE-2026-110780Medium
In Netatalk 3.1.0 through 4.5.2, the Spotlight RPC consumer handlers sl_rpc_fetchAttributeNamesForOIDArray, sl_rpc_storeAttributesForOIDArray, and sl_rpc_fetchAttributesForOIDArray in etc/afpd/spotlight.c dereference the first element of a decoded sl_cnids_t without checking whether the inner CNID array is empty. An authenticated AFP client, or a guest when guest AFP access is enabled, can send a crafted SPOTLIGHT_CMD_RPC causing the afpd child to crash. The issue is fixed in version 4.5.2.
- CVE-2026-110779Medium
In Netatalk 3.1.0 through 4.5.2, sl_createCNIDArray in etc/afpd/spotlight.c assumes every element of kMDQueryItemArray points to an eight-byte uint64_t and copies sizeof(uint64_t) bytes from the indexed p->dd_talloc_array element without validating the element's talloc type or allocation size. An authenticated AFP client with access to a Spotlight-enabled volume can use FPSpotlightRPC to supply a mixed-type sl_array_t containing a shorter boolean, nil, or string element, causing an out-of-bounds read; no confidentiality channel, write primitive, or code execution was demonstrated. The issue is fixed in version 4.5.2.
- CVE-2026-103933High
In Netatalk from 2.1.0 until 4.5.2, get_eacontent in libatalk/vfs/ea_ad.c subtracts MAX_REPLY_EXTRA_BYTES from a client-controlled FPGetExtAttr MaxReplySize without rejecting values from 1 through 5, and a signed-to-unsigned comparison can select an untrusted AppleDouble ea_size. An authenticated client on a volume configured with ea = ad can use a pre-existing malformed AppleDouble sidecar to copy attacker-controlled bytes beyond dsi->data + 6 into the surrounding struct DSI, including protocol callback pointers. Code execution depends on architecture and structure layout; it was demonstrated on one x86-64 build. Volumes using ea = sys, ea = none, or ea = auto resolving to native xattrs are not affected. This is fixed in version 4.5.2.
- CVE-2026-45698High
Netatalk versions 3.1.19 through 4.4.2 contain a stack-based buffer overflow in the deletedir() function of the afpd daemon due to an integer underflow in the calculation of the remaining buffer size used for path construction. This allows unauthenticated attackers to perform an unbounded strcpy() operation with attacker-controlled filenames into a nearly full stack buffer. Version 4.4.3 patches the issue.
- CVE-2026-45699High
Netatalk is a Free and Open Source file server suite for Unix-like operating systems. In versions 3.1.19 through 4.4.2, a stack-based buffer overflow exists in the copydir() function of Netatalk's afpd daemon due to an integer underflow in the calculation of the remaining buffer size used for path construction. copydir() is a utility function called when a file operation crosses a device boundary inside an AFP shared volume, which the standard library's renameat() cannot handle. The function attempts to track available buffer space using srem and drem for source and destination paths. Incorrect arithmetic causes both srem and drem to underflow to SIZE_MAX. Consequently, boundary checks against strlen(de->d_name) always pass, allowing strcpy() to append filenames into nearly full stack buffers. Version 4.4.3 patches the issue. As a workaround, configure each AFP shared volume to be structured as a single file system, in other words no subdirectory of a shared volume should be a mount point for a different file system.
- CVE-2026-46597High
An incorrectly placed cast from bytes to int allowed for server-side panic in the AES-GCM packet decoder for well-crafted inputs.
- CVE-2026-7837Low
A time-of-check time-of-use (TOCTOU) condition in the ad_flush function in Netatalk 3.0.0 through 4.4.2 involves root-privileged file operations, potentially allowing a remote attacker to cause limited data modification under specific race conditions.
- CVE-2026-44075Low
A missing break statement in DSI OpenSession processing in Netatalk 1.5.0 through 4.4.2 causes a fall-through from DSIOPT_ATTNQUANT to DSIOPT_SERVQUANT. A remote attacker can cause minor service disruption via crafted DSI session options.
- CVE-2026-44074Low
Netatalk 2.1.0 through 4.4.2 combines multiple errno values using bitwise OR, resulting in incorrect error codes when multiple errors occur. A remote attacker can cause minor service disruption via conditions triggering incorrect error handling.
- CVE-2026-44071Low
Netatalk versions 3.1.2 through 4.4.2 are compiled without FORTIFY_SOURCE, disabling built-in buffer overflow detection. A remote attacker can cause a minor denial of service via memory errors that would otherwise be safely terminated.
- CVE-2026-44057Low
In Netatalk versions 3.0.0 through 4.4.2, a dead bounds check in the Spotlight RPC unmarshaller provides no effective bounds protection, potentially allowing a remote authenticated attacker to obtain limited information via crafted Spotlight RPC requests.
- CVE-2026-7836Low
In Netatalk versions 2.0.0 through 4.4.2, an incorrect calculation in the hextoint macro due to improper uppercase character handling allows a remote authenticated attacker to cause limited data modification via crafted hexadecimal input.
- CVE-2026-7835Low
A format string argument mismatch in Netatalk versions 3.0.3 through 4.4.2 allows a remote authenticated attacker to cause a minor denial of service via crafted input.
- CVE-2026-44076Medium
Insufficient sanitization of volume paths in Netatalk 3.1.0 through 4.4.2 allows a local privileged user to inject OS commands and execute arbitrary code via a crafted volume path.
- CVE-2026-44073Medium
Authentication modules in Netatalk 1.5.0 through 4.4.2 fail to check the return value of seteuid(), which may allow a remote authenticated attacker to retain elevated privileges under error conditions.
- CVE-2026-44072Low
Vulnerability in Netatalk versions 2.2.1 through 4.4.2. The system() function is called after a failed chdir() without proper error handling, allowing a local privileged user to execute unintended commands or cause minor service disruption.
- CVE-2026-44070Low
Unbounded memory reallocation in the charset conversion code in Netatalk 2.0.0 through 4.4.2 allows a remote authenticated attacker to cause a minor denial of service via crafted character conversion requests.
- CVE-2026-44069Low
An integer underflow vulnerability exists in the volxlate function of Netatalk versions 3.0.0 through 4.4.2. It allows a local privileged user to obtain limited information, modify limited data, or cause a minor service disruption via crafted volume translation input.
- CVE-2026-44068High
Vulnerability in Netatalk 2.1.0 through 4.4.2: incomplete sanitization of extended attribute (EA) path components allows remote authenticated attacker to write files outside intended metadata namespace via crafted EA names.
- CVE-2026-44067Medium
Netatalk versions 2.1.0 through 4.4.2 contain a heap over-read vulnerability in extended attribute (EA) header parsing. A remote authenticated attacker can use crafted EA data to obtain limited information or cause minor service disruption.
- CVE-2026-44066High
In Netatalk versions 3.1.0 through 4.4.2, multiple heap out-of-bounds reads exist in the Spotlight RPC deserialization code. A remote authenticated attacker can obtain sensitive information or cause minor service disruption.
- CVE-2026-44065Medium
An off-by-two error in lp_write() in papd in Netatalk 2.0.0 through 4.4.2 allows an adjacent network attacker to modify limited data or cause a minor service disruption via crafted print data.
- CVE-2026-44064High
An out-of-bounds read in ASP session ID handling in Netatalk 1.3 through 4.4.2 allows an adjacent network attacker to obtain limited information or cause a denial of service via a crafted ASP request.
- CVE-2026-44063Medium
Netatalk versions 2.1.0 through 4.4.2 contain an LDAP injection vulnerability. A remote authenticated attacker can manipulate LDAP queries, obtaining limited information or modifying LDAP entries via crafted filter input.
- CVE-2026-44062High
A missing output length bounds check in pull_charset_flags() in Netatalk 2.0.4 through 4.4.2 allows a remote authenticated attacker to execute arbitrary code or cause a denial of service via crafted character set data.
- CVE-2026-44061Medium
A vulnerability in Netatalk versions 1.5.0 through 4.4.2 uses DES-ECB for authentication with a timing side channel, allowing a remote attacker to recover authentication credentials via timing analysis.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

