Netatalk vulnerabilities

78 vulnerabilities

Known vulnerabilities in Netatalk products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 2 products.

Products

2
PrioritiseCVE-2026-143955netatalk +1 moreNetatalk 2.2.0 before 4.6.1 Unauthenticated Denial of Service via Out-of-Bounds FD_SET in afpdNetatalk 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.CVSS8.2HighEPSS0.88%RoutineCVE-2026-142090netatalk +1 moreNetatalk 4.0.0 before 4.6.1 Stack Buffer Overflow via ZIP Zone List in MacIP GatewayNetatalk 4.0.0 before 4.6.1 contains a stack-based buffer overflow vulnerability in add_zones() in contrib/macipgw/macip.c, which copies each zone name from a ZIP GetZoneList reply into a 32-byte stack buffer using the packet's length byte without checking it. Unauthenticated attackers 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.CVSS6.0MediumEPSS0.47%RoutineCVE-2026-142089netatalk +1 moreNetatalk 4.0.0 before 4.6.1 Out-of-Bounds Read via Malformed NBP Lookup ReplyNetatalk 4.0.0 before 4.6.1 contains an out-of-bounds read vulnerability 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 the lookup code keeps the oversized length and nbp_match() compares past the end of the name buffer. Unauthenticated attackers on the same AppleTalk network can send malformed NBP lookup replies while a Netatalk process performs a lookup to read out of bounds and potentially crash the process.CVSS2.3LowEPSS0.43%RoutineCVE-2026-142088netatalk +1 moreNetatalk 4.0.0 before 4.6.1 Stack Buffer Overflow via ZIP GetNetInfo Reply in atalkdNetatalk 4.0.0 before 4.6.1 contains a stack-based buffer overflow vulnerability in atalkd, where the ZIP GNIREPLY handler in etc/atalkd/zip.c stores a default zone name without enforcing the 32-byte limit and zone_bcast() in etc/atalkd/multicast.c later copies it into a 32-byte stack array using the stored length. Unauthenticated attackers 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.CVSS6.0MediumEPSS0.47%RoutineCVE-2026-142087netatalk +1 moreNetatalk 4.5.0 before 4.6.1 Root File Permission Change via Symlinked SQLite CNID DatabaseNetatalk 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.CVSS7.3HighEPSS0.28%RoutineCVE-2026-142086netatalk +1 moreNetatalk 3.1.2 before 4.6.1 File Deletion Outside AFP Volume via Vetoed Directory SymlinkNetatalk 3.1.2 before 4.6.1 contains an improper link resolution vulnerability in delete_vetoed_files() in etc/afpd/filedir.c, which classifies directory entries with stat() and so recursively enters a veto-matching symbolic link to a directory, deleting every file in the link target. Authenticated AFP users on a volume with delete veto files enabled can create a veto-matching symlink to a directory outside the volume and delete its parent to remove files there with the privileges of the Netatalk service.CVSS6.3MediumEPSS0.69%RoutineCVE-2026-142085netatalk +1 moreNetatalk 4.0.0 before 4.6.1 Stack Buffer Overflow via Malicious PAP Printer StatusNetatalk 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.CVSS7.1HighEPSS0.67%RoutineCVE-2026-142084netatalk +1 moreNetatalk 4.0.0 before 4.6.1 Stack Out-of-Bounds Write via papd Font QueryNetatalk 4.0.0 before 4.6.1 contains a stack-based out-of-bounds write vulnerability in cq_font_answer() in etc/papd/queries.c, which copies a client-supplied font name of up to 256 bytes into a 256-byte stack buffer and then writes the NUL terminator one byte past its end. Unauthenticated attackers 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.CVSS5.3MediumEPSS0.43%RoutineCVE-2026-142083netatalk +1 moreNetatalk 4.0.0 before 4.6.1 Unauthenticated papd Crash via PAP Open and Status RequestsNetatalk 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.CVSS7.1HighEPSS0.87%RoutineCVE-2026-142061netatalk +1 moreNetatalk 3.1.0 before 4.6.0 Stack Out-of-Bounds Write via Spotlight Path DecompositionNetatalk 3.1.0 before 4.6.0 contains an out-of-bounds write vulnerability in decompose_w() in libatalk/unicode/util_unistr.c that 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 end of the fixed stack buffer in charset_decompose(). Authenticated AFP users who can create a file path near the MAXPATHLEN limit containing selected Unicode characters can request its Spotlight metadata to corrupt stack memory and crash their AFP session process.CVSS5.3MediumEPSS0.47%RoutineCVE-2026-142060netatalk +1 moreNetatalk 1.5.0 before 4.6.0 Root File Append via Setuid afppasswdNetatalk 1.5.0 before 4.6.0 contains an improper privilege management vulnerability in afppasswd (bin/afppasswd/afppasswd.c), which when installed setuid-root accepts the administrative -a and -p options from unprivileged callers and opens the selected file for writing with root privileges before verifying the caller. Local users can append a fixed-format SRP placeholder record to any existing root-writable file, corrupting configuration, credential, or service state files.CVSS4.8MediumEPSS0.17%RoutineCVE-2026-142059netatalk +1 moreNetatalk 2.1.0 before 4.6.0 Root File Deletion via Symlinked .AppleDouble in dbdNetatalk 2.1.0 before 4.6.0 contains an improper link resolution vulnerability in check_addir() and read_addir() in bin/dbd/cmd_dbd_scanvol.c, which open and chdir() into a volume's .AppleDouble directory without rejecting a symbolic link and then unlink entries that have no matching file in the parent directory. Local users who can replace a .AppleDouble entry in a volume directory, for example through shell, SFTP, or NFS access to the same storage, can redirect dbd into an arbitrary directory so that a later repair-mode run by an administrator deletes files there with root privileges.CVSS5.2MediumEPSS0.28%RoutineCVE-2026-103933netatalk +2 moreNetatalk: RCE - Heap out-of-bounds write in `get_eacontent()` (AppleDouble EA backend) leading to remote code execution in `afpd`Netatalk is a Free and Open Source file server suite for Unix-like operating systems. 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 then 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 make read copy attacker-controlled bytes beyond dsi->data + 6 into the surrounding struct DSI, including protocol callback pointers. The malformed sidecar must already exist or be created through a separate local, co-export, management, restore, or vulnerability-assisted write path, and practical code execution depends on the target architecture, structure layout, and address uncertainty; runtime command execution was demonstrated on one x86-64 build. Volumes using ea = sys, ea = none, or ea = auto when it resolves to native system xattrs do not reach this path. This issue is fixed in version 4.5.2.CVSS7.7HighEPSS0.73%RoutineCVE-2026-110780netatalk +2 moreNetatalk: Spotlight mdssvc: NULL-pointer dereference in RPC request handlersNetatalk is a Free and Open Source file server suite for Unix-like operating systems. From 3.1.0 until 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 whose outer CNIDS length is greater than 16 while its inner count is zero, causing sl_unpack_cnids to create an empty DALLOC_CTX and the consumer to dereference dd_talloc_array[0]. The affected afpd child crashes, normally limiting denial of service to the attacker's session, and no memory write or code execution was demonstrated. This issue is fixed in version 4.5.2.CVSS5.3MediumEPSS0.96%RoutineCVE-2026-110779netatalk +2 moreNetatalk: Spotlight sl_createCNIDArray(): type-confusion heap out-of-bounds read on mixed-type kMDQueryItemArrayNetatalk is a Free and Open Source file server suite for Unix-like operating systems. From 3.1.0 until 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, and an unauthenticated client can reach the same path when the optional guest UAM and a guest-accessible volume are enabled. The resulting eight-byte read extends beyond the shorter element's heap allocation and supplies an internal CNID filter; no confidentiality channel, write primitive, or code execution was demonstrated, while a production crash would require additional heap placement conditions. The container-type validation added for CVE-2023-42464 does not validate each element inside an accepted sl_array_t and therefore does not resolve this issue. This issue is fixed in version 4.5.2.CVSS4.3MediumEPSS0.75%PrioritiseCVE-2026-62318netatalk +3 moreNetatalk: afpd DHX2 UAM pre-authentication use-after-free and double-free via repeated FPLoginContNetatalk is a Free and Open Source file server suite for Unix-like operating systems. From 2.0.0 until 4.5.1, the DHX2 and DHX2-PAM authentication state machine in etc/uams/uams_dhx2_pam.c permits logincont1 to be invoked again with the same FPLoginCont retID after it has released the global gcry_mpi_t Ra object. When DHX2 or DHX2PAM is enabled in the UAM list, a remote attacker without valid AFP credentials can repeat the first continuation step, causing gcry_mpi_powm to dereference the freed Ra value and gcry_mpi_release to free it again in a privileged afpd worker. The demonstrated result is a repeatable pre-authentication worker crash, and the use-after-free and double-free provide a plausible allocator exploitation primitive although code execution was not demonstrated. This issue is fixed in version 4.5.1.CVSS9.3CriticalEPSS1.67%PrioritiseCVE-2026-62320netatalk +3 moreNetatalk: afpd unauthenticated DSI request smuggling via silent dsi_len truncation in dsi_tcp_open()Netatalk is a Free and Open Source file server suite for Unix-like operating systems. From 1.5.0 until 4.5.1, dsi_tcp_open in libatalk/dsi/dsi_tcp.c silently limits the bytes read from an unauthenticated DSI frame received on TCP/548 to server_quantum when the attacker-controlled dsi_len is larger, without rejecting the frame or draining the declared remainder. The same silent dsi_len truncation pattern exists in libatalk/dsi/dsi_stream.c. The leftover bytes remain queued on the TCP connection and the next dsi_stream_receive call interprets them as a new DSI header and payload, allowing a remote unauthenticated attacker to smuggle one or more additional attacker-controlled DSI frames into the same connection. This issue is fixed in version 4.5.1.CVSS8.8HighEPSS1.24%RoutineCVE-2026-62319netatalk +3 moreNetatalk: afpd authenticated DSIWrite request smuggling due to missing dsi_doff <= dsi_len validationNetatalk is a Free and Open Source file server suite for Unix-like operating systems. 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 queued subsequent frame before libatalk/dsi/dsi_write.c detects the inconsistency. The irreversible stream desynchronization lets the attacker control the next parsed DSI header and payload and corrupts protocol framing for the connection. This issue is fixed in version 4.5.1.CVSS7.2HighEPSS0.61%RoutineCVE-2026-62321netatalk +3 moreNetatalk: afpd Spotlight RPC heap-buffer-overflow in nested sl_pack_filemeta() marshallingNetatalk is a Free and Open Source file server suite for Unix-like operating systems. From 3.1.0 until 4.5.1, the afpd Spotlight RPC fetchQueryResultsForContext: reply path in etc/afpd/spotlight_marshalling.c calls the top-level sl_pack function 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 so the nested packer applies MAX_SLQ_DAT relative to the shifted pointer and writes beyond struct DSI::data. The out-of-bounds write corrupts heap memory beyond the DSI reply buffer. This issue is fixed in version 4.5.1.CVSS8.7HighEPSS0.59%PrioritiseCVE-2026-49388netatalk +3 moreNetatalk: Heap out-of-bounds read in afpd Spotlight RPC unmarshalling via unbounded toc_index in sl_unpack_loop()Netatalk is a Free and Open Source file server suite for Unix-like operating systems. 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 during FPSpotlightRPC without checking it against the number of entries or the remaining dsi->commands buffer. An authenticated AFP client with access to a Spotlight-enabled volume can choose a large toc_index whose multiplication and addition produce an out-of-range address, causing an attacker-influenced heap read and reliably crashing the worker serving that session. The earlier CVE-2026-44066 remediation bounded recursion depth and toc_offset but did not bound toc_index. This issue is fixed in version 4.5.0.CVSS7.1HighEPSS0.49%