Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to AFP share on TCP/548
-
DeliveryOpen Spotlight query with crafted kMDAttributeArray
-
ExploitTrigger nested sl_pack_filemeta marshalling
-
ExecutionOverflow heap DSI reply buffer
-
ImpactCorrupt memory / execute code in afpd
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated AFP session (PR:L) to afpd over TCP/548 with Spotlight search enabled on the targeted AFP volume; the attacker then sends a Spotlight query that produces an amplified file-metadata reply (e.g. duplicate/untrusted kMDAttributeArray attributes) so the nested sl_pack_filemeta() marshalling overruns the DSI reply buffer. Limiting factors per the advisory: valid credentials are needed (guest access only if the server permits it), Spotlight must be enabled on the volume, and TCP/548 must be reachable; vendor workarounds are to disable Spotlight on AFP volumes if unused, restrict AFP access to trusted users, disable guest access to Spotlight-enabled volumes, and reduce exposure of TCP/548 - but upgrading to 4.5.1 is the complete fix. |
| Impact | This is a credible this-week priority rather than CVSS inflation. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes a network-reachable, low-complexity, low-privilege flaw with high confidentiality, integrity and availability impact to the vulnerable system (VC:H/VI:H/VA:H) and no scope change (SC:N/SI:N/SA:N), yielding 8.7. The GHSA advisory independently confirms the mechanism - a remote post-authentication heap-buffer-overflow in afpd's Spotlight RPC reply marshalling, where nested sl_pack_filemeta() reuses the top-level packer and bounds writes against the absolute MAX_SLQ_DAT constant instead of the residual capacity of the outer DSI reply buffer. PR:L is consistent with the advisory's 'authenticated AFP client' requirement, so this is not an unauthenticated internet-wide worm candidate. No EPSS score, CISA KEV entry, or confirmed working exploit is present in the input; exploitation status is therefore 'no public exploit identified at time of analysis,' and the available references are fix commits and the vendor advisory rather than a PoC. The Decision label is 'this_week' (not act_now/emergency), aligning with a serious but authentication-gated bug: patch promptly, but widespread opportunistic exploitation is not evidenced. One data note: CVE metadata lists only CWE-119, while the GHSA lists CWE-787 (out-of-bounds write) and CWE-680 as the more precise classes - not a conflict, but the CVE CWE is less specific than the source evidence. |
| Exploit ScenarioDerived | An attacker who can authenticate to an AFP share with Spotlight search enabled issues a crafted Spotlight query whose reply forces an amplified/duplicated file-metadata attribute tree. As afpd marshals the reply, the nested packer writes past the end of the 65536-byte heap-allocated DSI reply buffer, corrupting heap memory and potentially enabling code execution or crashing the daemon. No public working exploit is identified in the provided data; the attack requires valid (even guest) AFP credentials reaching TCP/548. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 20, 2026
Heap-based out-of-bounds write in Netatalk's afpd Spotlight RPC reply marshalling lets an authenticated AFP client overrun the DSI reply buffer by submitting a Spotlight query whose reply contains an amplified file-metadata tree. Confirmed vulnerable is Netatalk 4.5.0, with package data listing the affected range as 3.1.0 through 4.5.0; exploitation requires a valid AFP session over TCP/548 and Spotlight search enabled on the targeted volume (CVSS v4.0 8.7, PR:L, scope unchanged with high confidentiality, integrity and availability impact). No public exploit code has been identified at time of analysis, and the issue is not listed as confirmed actively exploited (CISA KEV); it is rated a this-week priority. Upstream fixes ship in Netatalk 4.5.1, packaged by Alpine Linux as netatalk 4.5.1-r0.
Earlier versions of this analysis (1)
netatalk on Alpine Linux received a security fix in package version 4.5.1-r0, addressing an unspecified vulnerability. The nature of the flaw, affected components, and attacker capabilities cannot be determined from the available data - only the Alpine Linux vendor advisory source and fixed package version are confirmed. No CVSS score, CWE classification, or vulnerability description has been published at time of analysis.
RemediationAI
Upgrade to Netatalk 4.5.1, which is the complete fix per the vendor advisory; on Alpine Linux update the netatalk package to 4.5.1-r0. Where the upgrade cannot be applied immediately, the vendor-documented workarounds are to disable Spotlight on AFP volumes that do not require it (search and indexing on those volumes stop working), restrict AFP access to trusted users, disable guest access to Spotlight-enabled volumes (which removes unauthenticated exposure but also breaks legitimate guest workflows), and reduce exposure of TCP/548 to untrusted networks via firewall or network segmentation (which limits reachable clients but does not address authenticated abuse). Note that these interim measures only reduce exposure; per the advisory, updating to the patched release is the complete remedy. Advisory and fix references: https://github.com/Netatalk/netatalk/security/advisories/GHSA-42mm-6m68-h9g2, https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-1, https://github.com/Netatalk/netatalk/commit/490327e0f59e75d6cfb34ed35053d6cc4d6eb1e3, https://github.com/Netatalk/netatalk/commit/db4d6fc004dfa8336f9143782404164e059f2328.
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 daemon implements Apple Filing Protocol services, including Spotlight search support marshalled through etc/afpd/spotlight.c and etc/afpd/spotlight_marshalling.c into a fixed 65536-byte DSI reply buffer (DSI_DATASIZ in include/atalk/dsi.h). The flaw is an out-of-bounds write (CWE-119, characterized in the advisory as CWE-787 and CWE-680) caused by reusing the top-level sl_pack() serializer for nested data: sl_pack_filemeta() advances an offset in the outer reply buffer and then calls sl_pack(fm, buf + offset), but the nested packer validates its writes against the absolute MAX_SLQ_DAT constant rather than the remaining capacity of the sub-buffer. The bounds helper slvalc() likewise compared off + sizeof(val) against that fixed maximum. Because the file-metadata section is reached after status and CNID data, the nested packer's zero offset already lies inside the outer buffer, so a sufficiently large metadata tree (for example one generated from duplicate or otherwise untrusted kMDAttributeArray entries) writes past the end of the heap-allocated DSI reply buffer. The upstream fix caps Spotlight request attributes at MAX_SL_REQINFO_ATTRS (64), adds sl_sanitize_reqinfo() to validate attribute types and drop duplicates, threads an explicit off_t maxoff bound through the pack functions, and hardens the offset checks against negative or wrapped values.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable afpd over TCP/548 with low complexity; PR:L because a valid AFP session is required; heap overflow yields high C/I/A with no scope change to another system.
Primary rating from Vendor (vendor:alpine).
CVSS VectorVendor: vendor:alpine
Lifecycle Timeline
3DescriptionCVE.org
Alpine Linux: netatalk fixed in 4.5.1-r0
Executive ViewAI
A high-severity heap overflow in Netatalk's Spotlight RPC marshalling (CVE-2026-62321) affects Netatalk 3.1.0 through 4.5.0, allowing an authenticated AFP client to corrupt server memory during Spotlight queries that return amplified metadata. Leadership should care because this puts file-sharing availability and data integrity at risk for any team relying on Netatalk, and a disruption could stall collaboration and expose sensitive files.
No vendor-released patch identified at time of analysis. Interim mitigations: disable Spotlight search on affected AFP volumes and restrict AFP access (TCP/548) to trusted clients and networks; monitor AFP logs for suspicious Spotlight query activity.
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.
EUVD-2026-131688
NVD
CVE.org
EPSS
GitHub
Exploit-DB