CVE-2026-110780: Netatalk: Spotlight mdssvc: NULL-pointer dereference in RPC request handlers
Netatalk is a Free and Open Source file server suite for Unix-like operating systems. From 3.1.0 until 4.5.2, the Spotlight RPC consumer handlers slrpcfetchAttributeNamesForOIDArray, slrpcstoreAttributesForOIDArray, and slrpcfetchAttributesForOIDArray in etc/afpd/spotlight.c dereference the first element of a decoded slcnidst without checking whether the inner CNID array is empty. An authenticated AFP client, or a guest when guest AFP access is enabled, can send a crafted SPOTLIGHTCMDRPC whose outer CNIDS length is greater than 16 while its inner count is zero, causing slunpackcnids to create an empty DALLOCCTX and the consumer to dereference ddtallocarray[0]. The affected afpd child crashes, normally limiting denial of service to the attacker's session, and no memory write or code execution was demonstrated. This issue is fixed in version 4.5.2.
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.5.2