Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEstablish AFP session (auth or guest)
-
ExploitCraft SPOTLIGHT_CMD_RPC with outer CNIDS length >16, inner count 0
-
ExecutionHandler dereferences empty dd_talloc_array[0] at 0x0
-
Impactafpd child crashes (self-session DoS)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an active AFP connection to the Netatalk server with Spotlight (mdssvc) enabled: either an authenticated AFP client, or any client if guest AFP access is explicitly enabled. The attacker must send a crafted SPOTLIGHT_CMD_RPC reaching sl_rpc_fetchAttributeNamesForOIDArray, sl_rpc_storeAttributesForOIDArray, or sl_rpc_fetchAttributesForOIDArray, with the specific malformed shape of outer CNIDS length > 16 while inner count == 0 (the length <= 16 empty-array path is safe). Limiting factors: exploitation needs AFP/Spotlight service access and a valid session (so not truly unauthenticated unless guest access is on), and the fork-per-connection model bounds the crash to the attacker's own child process (self-DoS) in default configurations; broader impact is only speculated for non-default threaded setups or if shared CNID-DB state/locks are left inconsistent. Affects versions 3.1.0 through 4.5.1; fixed in 4.5.2. |
| Impact | This is a genuine but low-urgency issue: a CWE-476 NULL-pointer dereference causing a bounded denial of service, not a confidentiality or integrity threat. The input CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L, 5.3 Medium) encodes only an availability impact, consistent with the advisory's statement that 'No memory write or code execution is claimed.' The signals align toward low real-world priority: the vuln.today decision label is 'this_month' (not act_now/emergency), there is no CISA KEV listing, and no EPSS score was supplied. Two caveats deserve explicit statement. First, the input CVSS uses PR:N (unauthenticated), but the description and GHSA threat model require an established AFP session - 'an authenticated AFP client, or a guest when guest AFP access is enabled' - so PR:N is only accurate when guest AFP access is turned on; in a password-protected default it is effectively authenticated. Second, the availability impact is self-limiting: afpd forks one child per connection, so the crash normally kills only the attacker's own session (self-DoS), and A:L (not A:H) correctly reflects this. The advisory notes greater impact is possible only in non-default/threaded configurations or if a crashed child leaves shared CNID-DB state or locks inconsistent - unverified scenarios. Net: a real, confirmed bug worth patching on a routine cycle, not a high-risk priority despite the network attack vector. |
| Exploit ScenarioDerived | An attacker with an AFP session to a Netatalk server (an authenticated user, or any client if guest AFP access is enabled) sends a crafted SPOTLIGHT_CMD_RPC whose outer CNIDS length is greater than 16 but whose inner CNID count is zero. A consumer handler dereferences the empty array's dd_talloc_array[0], reading address 0x0 and crashing the afpd child. The GHSA advisory documents full reproduction steps and an AddressSanitizer SEGV, so a public PoC reference exists, though it is not verified as a packaged working exploit; impact is limited to crashing the attacker's own connection in the default fork-per-connection model. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
A NULL-pointer dereference in Netatalk's Spotlight (mdssvc) RPC consumer handlers crashes the afpd child process that is serving the connection, giving a denial of service that in the default fork-per-connection deployment is bounded to the attacker's own session. Netatalk 3.1.0 through 4.5.1 are affected; 4.5.2 fixes it. Reaching the bug requires an established AFP session with Spotlight enabled - either an authenticated AFP client or, when guest AFP access is explicitly turned on, any client - that sends a crafted SPOTLIGHT_CMD_RPC whose outer CNIDS length exceeds 16 while the inner CNID count is zero. The vendor advisory includes a public reproduction that crashes under AddressSanitizer, but no public exploit tooling was identified at time of analysis, there is no CISA KEV listing, and the reporter demonstrated no memory write or code execution.
RemediationAI
Vendor-released patch: Netatalk 4.5.2. Upgrade all servers running 3.1.0 through 4.5.1 to 4.5.2 (release: https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-2), which adds the empty-CNID guard in sl_unpack_CNID via commits 888bdaff8dfe97c0e6d3566e7671c196fd4f2fc8 and e07befa6a66a5debe203b010a39a6cd99be06938, with regression coverage in the unit tests and the FPSpotlightRPC test suite. If immediate upgrading is not possible, reduce exposure by disabling the Spotlight/mdssvc module in the afpd configuration so the affected SPOTLIGHT_CMD_RPC handlers are never reached - at the cost of losing macOS Spotlight search over AFP shares - and, as a secondary measure, turn off guest AFP access so that an unauthenticated client cannot establish the session the crafted request needs. Restricting TCP 548 (and any DSI-over-TLS port) to trusted client networks also limits who can deliver the malformed RPC, though it does not fix the underlying defect and complicates legitimate remote access. Servers exposed to clients that can authenticate should be prioritized for the 4.5.2 upgrade, since the crash is a bounded self-DoS in the default fork-per-connection model rather than a confidentiality or integrity risk.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Netatalk's Spotlight integration implements the mdssvc protocol used by macOS clients to query metadata; RPC payloads are serialized with the project's own sl_pack()/sl_unpack_len() marshalling layer into DALLOC_CTX trees built on talloc. In sl_unpack_cnids() (etc/afpd/spotlight_marshalling.c), the sl_unpack_len() unmarshaller itself is well guarded, but there is a path where the outer CNIDS value has length > 16 while the inner count is 0: the 'while (count--)' loop never executes, yet dalloc_add() still attaches an sl_cnids_t whose ca_cnids is an empty DALLOC_CTX with dd_talloc_array NULL. The three consumer handlers sl_rpc_fetchAttributeNamesForOIDArray, sl_rpc_storeAttributesForOIDArray and sl_rpc_fetchAttributesForOIDArray retrieve that structure with dalloc_get() and (NULL-checking only the outer object) memcpy from cnids->ca_cnids->dd_talloc_array[0], producing a read at address 0x0 - CWE-476. The length <= 16 empty-array path is safe because it does not add the cnids at all; the fix (commit 888bdaff) adds an 'if (count 0) EC_FAIL;' guard in sl_unpack_CNID plus regression tests. Because afpd forks one child per connection, the crash is normally limited to the attacker's own process (a self-DoS); the advisory speculates that non-default threaded configurations, or a crashed child leaving shared CNID-DB state or locks inconsistent, could widen the impact, but that is unverified. Some feed tags label the issue RCE, which the advisory does not support - no memory write or code execution was demonstrated.
Know when Netatalk gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Reachable over the network with low complexity but requires an AFP session, so PR:L (PR:N only applies when guest access is enabled); impact is a bounded crash, so only A:L with C:N/I:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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 sl_rpc_fetchAttributeNamesForOIDArray, sl_rpc_storeAttributesForOIDArray, and sl_rpc_fetchAttributesForOIDArray in etc/afpd/spotlight.c dereference the first element of a decoded sl_cnids_t 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 SPOTLIGHT_CMD_RPC whose outer CNIDS length is greater than 16 while its inner count is zero, causing sl_unpack_cnids to create an empty DALLOC_CTX and the consumer to dereference dd_talloc_array[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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Netatalk before 3.1.12 is vulnerable to an out of bounds write in dsi_opensess.c. Rated critical severity (CVSS 9.8), th
Netatalk through 3.1.13 has an afp_getappl heap-based buffer overflow resulting in code execution via a crafted .appl fi
Heap buffer overflow in the Netatalk cnid_metad daemon's comm_rcv() function allows remote attackers with low-level priv
A Type Confusion vulnerability was found in the Spotlight RPC functions in afpd in Netatalk 3.1.x before 3.1.17. Rated c
The combination of primitives offered by SMB and AFP in their default configuration allows the arbitrary writing of file
Stack-based buffer overflow in Netatalk versions 2.0.4 through 4.4.2 allows authenticated remote attackers to corrupt me
SQL injection in Netatalk 3.1.0 through 4.4.2 allows authenticated remote attackers to compromise the MySQL-backed CNID
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Synology Dis
Arbitrary file read in Netatalk 3.0.2 through 4.4.2 allows authenticated remote attackers to create attacker-controlled
Heap out-of-bounds write in Netatalk's AppleDouble extended-attribute backend (ea = ad) lets an authenticated AFP client
Path traversal via extended attribute (ea) handling in Netatalk 2.1.0 through 4.4.2 allows authenticated remote attacker
Shell injection in Netatalk 3.1.4 through 4.4.2 allows authenticated remote attackers to execute arbitrary OS commands t
EUVD-2026-131693
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB