CVE-2026-49388: Netatalk: Heap out-of-bounds read in afpd Spotlight RPC unmarshalling via unbounded toc_index in sl_unpack_loop()
Netatalk is a Free and Open Source file server suite for Unix-like operating systems. From 3.1.0 until 4.5.0, slunpackloop in etc/afpd/spotlightmarshalling.c uses an attacker-controlled Spotlight table-of-contents index during FPSpotlightRPC without checking it against the number of entries or the remaining dsi->commands buffer. An authenticated AFP client with access to a Spotlight-enabled volume can choose a large tocindex whose multiplication and addition produce an out-of-range address, causing an attacker-influenced heap read and reliably crashing the worker serving that session. The earlier CVE-2026-44066 remediation bounded recursion depth and tocoffset but did not bound tocindex. This issue is fixed in version 4.5.0.
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.5.0~ds-1 - Upgrade
Upgrade
debian/netatalkto a version that resolves this vulnerability.Fixed in 4.5.1~ds-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.5.0