[Pkg-netatalk-devel] Bug#1156326: netatalk: CVE-2026-142059 CVE-2026-142060 CVE-2026-142061 CVE-2026-142083 CVE-2026-142084 CVE-2026-142085 CVE-2026-142086 CVE-2026-142087 CVE-2026-142088 CVE-2026-142089 CVE-2026-142090 CVE-2026-143955

Salvatore Bonaccorso carnil at debian.org
Fri Dec 4 07:40:24 GMT 2026


Source: netatalk
Version: 4.5.1~ds-1
X-Debbugs-CC: team at security.debian.org
Severity: grave
Tags: security upstream

Hi,

The following vulnerabilities were published for netatalk.

So unstable/fork y should be updated to 4.6.1 fixing those issues.

CVE-2026-142059[0]:
| Netatalk 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.


CVE-2026-142060[1]:
| Netatalk 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.


CVE-2026-142061[2]:
| Netatalk 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.


CVE-2026-142083[3]:
| 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-142084[4]:
| Netatalk 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.


CVE-2026-142085[5]:
| 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-142086[6]:
| Netatalk 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.


CVE-2026-142087[7]:
| 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-142088[8]:
| Netatalk 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.


CVE-2026-142089[9]:
| Netatalk 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.


CVE-2026-142090[10]:
| Netatalk 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.


CVE-2026-143955[11]:
| 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.


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-142059
    https://www.cve.org/CVERecord?id=CVE-2026-142059
[1] https://security-tracker.debian.org/tracker/CVE-2026-142060
    https://www.cve.org/CVERecord?id=CVE-2026-142060
[2] https://security-tracker.debian.org/tracker/CVE-2026-142061
    https://www.cve.org/CVERecord?id=CVE-2026-142061
[3] https://security-tracker.debian.org/tracker/CVE-2026-142083
    https://www.cve.org/CVERecord?id=CVE-2026-142083
[4] https://security-tracker.debian.org/tracker/CVE-2026-142084
    https://www.cve.org/CVERecord?id=CVE-2026-142084
[5] https://security-tracker.debian.org/tracker/CVE-2026-142085
    https://www.cve.org/CVERecord?id=CVE-2026-142085
[6] https://security-tracker.debian.org/tracker/CVE-2026-142086
    https://www.cve.org/CVERecord?id=CVE-2026-142086
[7] https://security-tracker.debian.org/tracker/CVE-2026-142087
    https://www.cve.org/CVERecord?id=CVE-2026-142087
[8] https://security-tracker.debian.org/tracker/CVE-2026-142088
    https://www.cve.org/CVERecord?id=CVE-2026-142088
[9] https://security-tracker.debian.org/tracker/CVE-2026-142089
    https://www.cve.org/CVERecord?id=CVE-2026-142089
[10] https://security-tracker.debian.org/tracker/CVE-2026-142090
    https://www.cve.org/CVERecord?id=CVE-2026-142090
[11] https://security-tracker.debian.org/tracker/CVE-2026-143955
    https://www.cve.org/CVERecord?id=CVE-2026-143955

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



More information about the pkg-netatalk-devel mailing list