CVE-2026-103933
HighCVSS 7.7Exploitation Probability (EPSS)
Elevated risk56th percentile - higher than 56% of all known CVEs
Summary
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.
Risk Assessment
An authenticated attacker could potentially achieve code execution on the file server, posing a serious threat to data confidentiality and integrity. However, this requires a pre-existing malicious AppleDouble file.
Recommendation
Update Netatalk to version 4.5.2 or later. Consider changing volume configuration from ea = ad to ea = sys where possible, and audit AppleDouble files.
Other vulnerabilities in Netatalk
See all- 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.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

