CVE-2026-143955: Netatalk 2.2.0 before 4.6.1 Unauthenticated Denial of Service via Out-of-Bounds FD_SET in afpd
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 FDSET() on a stack-allocated fdset without checking that the descriptor is below FDSETSIZE. 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.6.1
Event History
Frequently Asked Questions
Which deployments are realistically exposed to unauthenticated exploitation?
Servers with guest access enabled and a connection limit raised above roughly 500 are exposed. An attacker must be able to reach the AFP service remotely and open sufficient DSI sessions.
What does an attacker need to do to trigger the denial of service?
The attacker opens enough DSI sessions to cause the privileged afpd parent process's IPC file descriptors to exceed 1024, then sends an FPDisconnectOldSession command. This terminates the parent process and causes a service-wide denial of service.
What can be done if updating is not immediately possible?
Disable guest access or reduce the configured connection limit so an unauthenticated attacker cannot open enough DSI sessions to drive the relevant descriptors above 1024.
How can I determine whether my configuration is at risk?
Check whether guest access is enabled and whether the server connection limit has been increased above roughly 500. Deployments meeting both conditions should be treated as susceptible to the described unauthenticated denial-of-service path.