Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to AFP server (or guest)
-
DeliveryOpen Spotlight-enabled volume
-
ExploitSend FPSpotlightRPC with mixed-type sl_array_t
-
ExecutionTrigger 8-byte read past short element
-
ImpactHeap out-of-bounds read
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires that Netatalk be built and configured with Spotlight support enabled, and that the attacker hold an AFP session with an accessible Spotlight-enabled volume open so FPSpotlightRPC can be invoked (PR:L - an authenticated AFP client). The specific trigger is a client-supplied mixed-type kMDQueryItemArray (sl_array_t) containing a shorter element - a 1-byte sl_bool_t, a 4-byte sl_nil_t, or a short string - among expected uint64_t CNIDs, causing the 8-byte memcpy to over-read. Unauthenticated exploitation is possible ONLY in the non-default configuration where the optional guest UAM and a guest-accessible volume are both enabled. Limiting factors: Spotlight must be compiled and turned on, a volume must be open, and a reliable production crash (the only availability impact) further requires placing the short element at a talloc/page boundary via heap grooming - otherwise the read lands in adjacent mapped heap without any observable effect. |
| Impact | All signals point to a genuine but low-priority memory-safety defect rather than an urgent threat. The CVSS 3.1 base vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L, score 4.3) already caps impact at a minor availability effect with no confidentiality or integrity loss, matching the reporter's honest assessment: a confirmed type-confusion heap out-of-bounds read with no write primitive, no code execution, and no disclosure channel (the over-read 8 bytes become an internal CNID filter and are never returned to the client). The vuln.today Decision label is 'this_month', not act_now or emergency, consistent with the limited impact. No EPSS score and no CISA KEV entry are present in the input, so there is no evidence of active exploitation; exploitation status is 'no public exploit identified as active' though a public PoC reference exists. Signals are internally consistent rather than conflicting, but note a tension between the input Tags ('RCE', 'Information Disclosure') and the authoritative GHSA advisory, which explicitly rules out both - the tags overstate the real impact. The availability component (A:L) is itself conditional: the advisory states a production crash would require additional heap-grooming conditions and would then warrant AC:H, meaning the realistic real-world risk is lower than the already-modest 4.3 suggests. |
| Exploit ScenarioDerived | An authenticated AFP client (or an unauthenticated client only where the optional guest UAM and a guest-accessible volume are enabled) opens a Spotlight-enabled volume and issues an FPSpotlightRPC query whose kMDQueryItemArray mixes a short boolean, nil, or string element among expected 8-byte CNIDs; sl_createCNIDArray copies sizeof(uint64_t) from the shorter element, reading past its heap chunk. A public PoC reference reproduces the over-read under AddressSanitizer, but on a normal build it reads adjacent heap without crashing, and no code execution or data disclosure was demonstrated. Attack vector is network with low complexity (AV:N/AC:L), but a reliable production crash would require heap placement conditions not shown. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Heap out-of-bounds read in Netatalk's AFP Spotlight handling (etc/afpd/spotlight.c) affects versions 3.1.0 through 4.5.1 and is fixed in 4.5.2. An authenticated AFP client (PR:L) that has a Spotlight-enabled volume open can send a crafted mixed-type kMDQueryItemArray through FPSpotlightRPC containing a shorter element such as a 1-byte boolean, a 4-byte nil, or a short string, causing an 8-byte memcpy to read past that element's talloc allocation; the same path is reachable without authentication only in the non-default configuration where the optional guest UAM and a guest-accessible volume are both enabled. The over-read feeds an internal CNID filter rather than being returned to the client, no confidentiality channel, write primitive, or code execution was demonstrated, and a production crash requires additional heap placement conditions - a public proof-of-concept reproduction exists (AddressSanitizer build), but it is not confirmed as working exploit code, and there is no CISA KEV entry. Scored CVSS 4.3 (AV:N/AC:L/PR:L/C:N/I:N/A:L) by the reporter and assessed as AC:H by our analysis; overall this is a genuine but low-priority memory-safety defect.
RemediationAI
Upgrade to Netatalk 4.5.2, which validates each element's talloc size and type name before copying in sl_createCNIDArray (vendor-released patch: 4.5.2; see https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-2 and advisory https://github.com/Netatalk/netatalk/security/advisories/GHSA-p6fh-q283-9x4v; the upstream fixes are commits 7aba35c5f03bc48ca706783b5d665c241563605e and 7e216cef54d6ec45582e714478394f85e4081980). Where upgrading immediately is not possible, reduce exposure by building or configuring Netatalk without Spotlight support, since the flaw is only reachable when Spotlight is compiled in and enabled - at the cost of losing Spotlight-indexed search for AFP clients; and disable the optional guest UAM and guest-accessible volumes, which is the only path by which an unauthenticated client can reach FPSpotlightRPC, at the cost of ending guest access. Restricting AFP service to trusted networks and accounts limits who can open the Spotlight-enabled volume required to send the crafted query, though neither workaround removes the defect itself.
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 a server-side marshalling layer (sl_array_t, sl_bool_t, sl_nil_t, DALLOC_CTX) on top of talloc, the hierarchical pool allocator used throughout the suite. In sl_createCNIDArray(), the server takes the length of the talloc array and unconditionally copies sizeof(uint64_t) bytes from each element, assuming every entry is a uint64_t CNID, without calling talloc_get_size() or talloc_check_name() on individual elements. Because sl_rpc_openQuery() accepts kMDQueryItemArray as a generic sl_array_t, the marshaller permits heterogeneous element types, so an 8-byte read can extend beyond a 1-byte sl_bool_t, a 4-byte sl_nil_t, or a short string allocation. This is a type confusion (CWE-843) manifesting as an out-of-bounds read (CWE-125) in talloc-managed heap memory. Notably, the container-type validation added for CVE-2023-42464 validates only the dictionary value's container type, not each element inside an accepted sl_array_t, which is why it does not resolve this issue; the 4.5.2 fix adds per-element checks that the pointer is non-NULL, that talloc_get_size(element) >= sizeof(uint64_t), and that talloc_check_name(element, "uint64_t") succeeds, failing the query otherwise. A unit test (utest_spotlight_cnid_array_types) and an AFP regression test (test565) were added alongside the source change.
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:L/UI:N/S:U/C:N/I:N/A:L
Authenticated AFP client gives PR:L; the only impact (a crash) needs heap grooming per the advisory, so AC:H and A:L, with C:N/I:N as no disclosure or write was shown.
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, sl_createCNIDArray in etc/afpd/spotlight.c assumes every element of kMDQueryItemArray points to an eight-byte uint64_t and copies sizeof(uint64_t) bytes from the indexed p->dd_talloc_array element without validating the element's talloc type or allocation size. An authenticated AFP client with access to a Spotlight-enabled volume can use FPSpotlightRPC to supply a mixed-type sl_array_t containing a shorter boolean, nil, or string element, and an unauthenticated client can reach the same path when the optional guest UAM and a guest-accessible volume are enabled. The resulting eight-byte read extends beyond the shorter element's heap allocation and supplies an internal CNID filter; no confidentiality channel, write primitive, or code execution was demonstrated, while a production crash would require additional heap placement conditions. The container-type validation added for CVE-2023-42464 does not validate each element inside an accepted sl_array_t and therefore does not resolve this issue. 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 buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
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-131692
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB