CVE-2026-143955

Description

A flaw was found in Netatalk. An unauthenticated remote attacker can exploit an out-of-bounds write vulnerability in socket timeout helper functions by opening a high volume of network connections and sending a session disconnect command. This causes the main service process to crash due to missing file descriptor bounds checking, resulting in a service-wide Denial of Service (DoS).

Statement

This flaw is rated as Moderate severity because successful exploitation requires non-default configuration settings, such as enabling guest access and significantly increasing the max connections threshold beyond 500 sessions. In default installations, the condition required to exceed file descriptor bounds is not met during typical operations. While an unauthenticated remote attacker can crash the main service daemon to cause a denial of service, the vulnerability does not grant arbitrary code execution or compromise system confidentiality.

Mitigation

To mitigate this issue, restrict network access to the Netatalk daemon (default port 548/tcp) so that only trusted hosts or networks can reach the service. Additionally, ensure guest access is disabled and connection limits are not set above default values.

To restrict access via firewalld to a specific trusted network segment:

1. Remove unrestricted access to port 548/tcp:

firewall-cmd --permanent --remove-port=548/tcp

2. Add allowed source networks to the trusted zone:

firewall-cmd --permanent --zone=trusted --add-source=<TRUSTED_IP_OR_SUBNET>

3. Reload firewalld to apply changes:

firewall-cmd --reload

Caveats:
Restricting access will prevent unauthenticated or untrusted network clients from establishing AFP sessions.

Warning: Reloading firewall configurations or applying network controls may temporarily interrupt active network connections.

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.