CVE-2026-62321 in Netatalkinfo

Summary

by MITRE • 11/20/2026

Netatalk is a Free and Open Source file server suite for Unix-like operating systems. From 3.1.0 until 4.5.1, the afpd Spotlight RPC fetchQueryResultsForContext: reply path in etc/afpd/spotlight_marshalling.c calls the top-level sl_pack function from sl_pack_filemeta on a shifted sub-buffer without passing the remaining capacity of the outer DSI reply buffer. An authenticated AFP client can request an amplified nested file-metadata tree so the nested packer applies MAX_SLQ_DAT relative to the shifted pointer and writes beyond struct DSI::data. The out-of-bounds write corrupts heap memory beyond the DSI reply buffer. This issue is fixed in version 4.5.1.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 11/20/2026

Netatalk serves as a critical interoperability layer, enabling Unix-like operating systems to function as file servers for Apple Macintosh clients via the Apple Filing Protocol. The vulnerability identified within versions ranging from 3.1.0 through 4.5.1 resides in the Spotlight RPC implementation, specifically within the reply path handling logic located in the spotlight_marshalling.c source file. This component is responsible for processing queries related to file metadata indexing and retrieval, a feature that allows clients to search for files based on attributes such as name, modification date, or custom tags. The core technical flaw stems from an improper boundary check during the serialization of query results into DSI reply buffers. When handling nested file-metadata trees, the system invokes the sl_pack function via sl_pack_filemeta on a shifted sub-buffer without correctly accounting for the remaining capacity of the outer DSI reply buffer. This oversight means that the packing routine applies its internal limits relative to the shifted pointer rather than the actual end of the allocated memory region, leading to a miscalculation of safe write boundaries.

The operational impact of this flaw is severe, as it allows an authenticated AFP client to trigger an out-of-bounds heap write by requesting amplified nested file-metadata structures. By carefully crafting requests that exploit the shifted pointer logic, an attacker can force the application to write data beyond the struct DSI::data boundary into adjacent heap memory. This type of vulnerability falls under CWE-787: Out-of-bounds Write and is categorized within MITRE ATT&CK as T1059 Command and Scripting Interpreter if leveraged for further exploitation, or more broadly as part of initial access vectors that lead to privilege escalation. The corruption of heap memory can result in application crashes, denial of service, or potentially arbitrary code execution depending on the specific memory layout and whether adjacent structures contain function pointers or other critical data that can be overwritten to alter program control flow.

Mitigation strategies for this vulnerability primarily involve upgrading Netatalk to version 4.5.1 or later, where the issue has been resolved by implementing proper capacity checks before performing buffer writes. For environments unable to immediately upgrade, administrators should restrict AFP service access to trusted networks and enforce strict authentication policies to limit exposure to authenticated attackers. Additionally, deploying intrusion detection systems that monitor for anomalous network traffic patterns associated with malformed DSI packets can provide an additional layer of defense against exploitation attempts. Regular patch management and adherence to vendor security advisories remain the most effective long-term strategy for maintaining the integrity of file server infrastructure relying on Netatalk services.

Responsible

GitHub M

Reservation

07/13/2026

Disclosure

11/20/2026

Moderation

accepted

CPE

ready

EPSS

0.00472

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!