Skip to main content

Netatalk CVE-2026-62321

| EUVDEUVD-2026-131688 HIGH
Buffer Overflow (CWE-119)
N/A vendor:alpine
8.7
CVSS 4.0 · Vendor: vendor:alpine
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to AFP share on TCP/548
  2. Delivery
    Open Spotlight query with crafted kMDAttributeArray
  3. Exploit
    Trigger nested sl_pack_filemeta marshalling
  4. Execution
    Overflow heap DSI reply buffer
  5. Impact
    Corrupt 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Jul 16, 2026 - 20:01

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

Netatalk 3.1.0, < 4.5.1

Affected Packages

euvd netatalk fix: 4.5.1

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

Vendor (vendor:alpine) PRIMARY 8.7 HIGH
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
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vendor:alpine).

CVSS VectorVendor: vendor:alpine

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Patch available
Nov 20, 2026 - 19:19 EUVD
Analysis Updated
Nov 20, 2026 - 18:31 vuln.today
v2 - CVSS changed
CVSS changed
Nov 20, 2026 - 18:22 NVD
8.7 (HIGH)

DescriptionCVE.org

Alpine Linux: netatalk fixed in 4.5.1-r0

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Medium
AFP file server common on Linux/NAS and legacy Apple-interop deployments, not universal
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy