Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to AFP service (PR:L)
-
DeliveryOpen Spotlight-enabled volume
-
ExploitSend crafted FPSpotlightRPC with huge element count
-
ExecutionTrigger unbounded loop in sl_unpack_ints
-
PersistHeap out-of-bounds read past dsi->commands
-
ImpactCrash afpd worker (per-session DoS)
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 (1) a valid AFP account - the FPSpotlightRPC handler is post-authentication, registered UAM_AFPSERVER_POSTAUTH (matching PR:L); (2) a Spotlight-enabled volume on the netatalk/afpd server; and (3) the ability to send a crafted Spotlight RPC with an oversized element count in the upper 32 bits of the tag word. Limiting factors: exploitation is gated by authentication (not anonymous/unauthenticated), is confined to Spotlight-enabled shares, affects netatalk versions >= 3.1.0 up to the 4.5.0 fix, and the demonstrated outcome is a crash of the single worker serving the attacker's own session (per-session DoS) - no cross-session impact, no OOB write, and no information-disclosure channel was demonstrated. |
| Impact | This is a moderate-severity, authentication-gated availability issue rather than a drop-everything emergency. The input CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L, 7.1) rates it network-reachable with low complexity but requiring privileges (PR:L) - consistent with the GHSA advisory's statement that an AUTHENTICATED AFP client is needed and that exploitation reliably crashes the per-session afpd worker. A notable conflict exists between the provided vector's C:H (high confidentiality impact) and the vendor advisory, which explicitly states the heap out-of-bounds read values are passed to internal dalloc_* storage and are NOT returned in the RPC reply, so no information-disclosure channel was demonstrated and no OOB-write or code-execution primitive was found - this suggests the real-world impact is a per-session denial of service, not confidentiality loss, and the C:H rating appears over-stated versus the demonstrated behavior. No EPSS score, CISA KEV listing, or SSVC fields were supplied in the input, so automatability and widespread-exploitation signals cannot be assessed. The vuln.today priority is 'this_week' (not act_now/emergency). A sanitizer/valgrind reproducer of the vulnerable loop exists but a full working end-to-end afpd exploit was not completed. Net: a real, fix-worthy post-auth DoS bug, but not evidence of mass or active exploitation. |
| Exploit ScenarioDerived | An attacker with valid AFP credentials connects to a Spotlight-enabled netatalk volume and sends a crafted FPSpotlightRPC request whose tag word encodes an enormous element count (e.g. 0x7fffffff) in its upper 32 bits. Because sl_unpack_ints() and its sibling handlers loop on that attacker-controlled count with no buffer-length guard, afpd reads far past the dsi->commands allocation and crashes the worker serving that session. A public PoC reference exists (an ASan/valgrind-verified standalone reproducer of the loop); it is not verified as working end-to-end exploit code against a live service, and the network vector with low complexity but required authentication (AV:N/AC:L/PR:L) means any legitimate or compromised AFP account suffices. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 20, 2026
Heap out-of-bounds read in Netatalk's afpd Spotlight RPC unmarshalling lets an authenticated AFP client crash the worker process serving its own session. The flaw lives in sl_unpack_ints() and its sibling type handlers (sl_unpack_date, sl_unpack_uuid, sl_unpack_floats), which trust an element count taken from the upper 32 bits of an attacker-supplied RPC tag word without any bound, so a crafted count such as 0x7fffffff drives roughly 16 GB of sequential reads past the DSI command buffer. It affects Netatalk 3.1.0 onward and is fixed in 4.5.0 (Alpine Linux ships the fix as netatalk 4.5.0-r0); exploitation requires a valid AFP account and a Spotlight-enabled volume, produces per-session denial of service only, and no out-of-bounds write or information-disclosure channel was demonstrated - the advisory's sanitizer and valgrind evidence comes from a standalone reproducer of the affected loop rather than a verified end-to-end afpd exploit.
Earlier versions of this analysis (1)
Netatalk on Alpine Linux contains an uncharacterized vulnerability addressed in Alpine package version 4.5.0-r0. The nature of the flaw, affected attack surface, and potential impact are not disclosed in available intelligence - no CVE description, CVSS score, CWE classification, or vendor advisory has been published at time of analysis. Netatalk implements the Apple Filing Protocol (AFP) and has a historical record of critical vulnerabilities including remote code execution and authentication bypass, making any unpatched instance a potential risk in environments serving Apple clients.
RemediationAI
Upgrade to Netatalk 4.5.0, which contains commit 117c7679642a0b4c986ea68d51f6a7fc655527fd and the 4.5.0 release notes (https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-0); on Alpine Linux apply netatalk 4.5.0-r0 or later. Operators who cannot patch immediately can reduce exposure by removing Spotlight indexing from AFP volumes so the FPSpotlightRPC path is not reachable on shares they serve (volume spotlight option), accepting the loss of Spotlight search on those shares as the side effect, and by restricting AFP access to trusted accounts, since the handler is post-authentication and exploitation requires a valid AFP account plus a Spotlight-enabled volume. Priority is this_week rather than emergency: the demonstrated outcome is a crash of the single afpd worker serving the attacker's own session, with no cross-session impact, no out-of-bounds write and no demonstrated information-disclosure channel. Patch coordination should also cover the companion sl_unpack_loop() toc_index finding the advisory recommends fixing in the same change, per https://github.com/Netatalk/netatalk/security/advisories/GHSA-32jr-2xqg-gv48.
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 afpd implements Apple Filing Protocol services and exposes the FPSpotlightRPC handler, registered post-authentication as UAM_AFPSERVER_POSTAUTH, which unmarshals Spotlight query payloads received over DSI into talloc/DALLOC-backed structures in etc/afpd/spotlight_marshalling.c. The root cause maps to CWE-125 (Out-of-bounds Read): sl_unpack() was called from afp_spotlight_rpc() without receiving the remaining buffer length, so each type handler derived its element count directly from the upper 32 bits of the query tag word (count = query_data64 >> 32) and looped that many times reading 8 bytes per iteration (16 for uuid elements) with no check against the allocation holding dsi->commands. A count near INT_MAX therefore walks far past the buffer at both the 1 MB default and the 32,000-byte minimum server quantum. The public fix adds explicit length plumbing - size_t buf_len and toc_count parameters through sl_unpack_r/sl_unpack_ints and friends, a sl_unpack_range_valid() helper, sl_unpack_uint64_checked(), and an sl_unpack_count() bound that rejects counts larger than INT_MAX or larger than (query_length - 8) / element_size - plus minimum-size guards in afp_spotlight_rpc() (ibuflen checks at 2, 10 and 22 bytes) and a switch to sl_unpack_len(). The advisory notes the fix is a residual sibling of CVE-2026-44066, whose 4.4.3 remediation did not bound these per-type element counts, and recommends also correcting the sl_unpack_loop() toc_index issue in the same patch.
Know when the next one hits your stack
- 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:H/I:N/A:L
Network-reachable (AV:N) and low complexity (AC:L) but post-auth (PR:L); advisory shows read data is never returned to the client, so C:N, with only a per-session worker crash giving A:L.
Primary rating from Vendor (vendor:alpine).
CVSS VectorVendor: vendor:alpine
Lifecycle Timeline
3DescriptionCVE.org
Alpine Linux: netatalk fixed in 4.5.0-r0
Executive ViewAI
Netatalk's afpd service contains a high-severity heap out-of-bounds read vulnerability (CVE-2026-49387) that allows an authenticated user to crash the file-sharing worker process for their own session, resulting in a denial of service for that user. While the impact is contained to individual sessions and requires valid credentials plus a Spotlight-enabled volume, the vulnerability affects all Netatalk versions from 3.1.0 onward, including those widely deployed in enterprise NAS and file-sharing environments. Leadership should prioritize patching because the flaw is trivially exploitable by any insider with an account, potentially disrupting productivity and eroding trust in shared storage services.
Apply vendor patch.
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-131685
NVD
CVE.org
EPSS
GitHub
Exploit-DB