CVE-2026-45354: Netatalk: Pre-auth DSI Protocol Desync via dsi_code/dsi_doff Union
Netatalk is a Free and Open Source file server suite for Unix-like operating systems. Prior to 4.4.3, libatalk/dsi/dsistream.c interprets the dsicode and dsidoff union field as a data offset for all DSI command types instead of limiting that interpretation to DSIWrite. An unauthenticated client can send a non-WRITE DSIFUNCCMD packet with a nonzero dsicode smaller than dsilen, causing dsistreamreceive to consume only the dsicode number of payload bytes and leave attacker-controlled bytes in the readahead buffer. The residual bytes become the next DSI header, allowing protocol desynchronization that can close sessions, corrupt protocol state, or trigger an infinite-read denial of service. This issue is fixed in version 4.4.3.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/netatalkto a version that resolves this vulnerability.Fixed in 4.2.3~ds-1+deb13u2 - Upgrade
Upgrade
debian/netatalkto a version that resolves this vulnerability.Fixed in 4.4.3~ds-1 - Upgrade
Upgrade
debian/netatalkto a version that resolves this vulnerability.Fixed in 4.2.3~ds-1+deb13u2Fixed in 4.5.1~ds-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.4.3