CVE-2026-49387 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.0, the afpd FPSpotlightRPC unmarshalling handlers in etc/afpd/spotlight_marshalling.c trust the element count encoded in the upper 32 bits of an RPC tag without comparing it with the remaining input length. An authenticated client with access to a Spotlight-enabled volume can make sl_unpack_ints, sl_unpack_date, sl_unpack_uuid, or sl_unpack_floats iterate beyond dsi->commands and read heap memory. The read values remain in internal dalloc storage and no information-disclosure channel was demonstrated, but the worker serving the attacker's session can be crashed. This issue is fixed in version 4.5.0.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 11/20/2026

Netatalk serves as a critical interoperability solution for Unix-like operating systems, enabling seamless file sharing with macOS clients through the Apple Filing Protocol. Within this architecture, the AFP daemon processes various remote procedure calls to manage metadata and search functionalities, including those related to Spotlight indexing. A significant security flaw was identified in versions ranging from 3.1.0 up to but not including 4.5.0, specifically within the FPSpotlightRPC unmarshalling handlers located in the spotlight_marshalling.c source file. This vulnerability stems from a fundamental failure in input validation and boundary checking during the deserialization of RPC tags. The code incorrectly trusts an element count encoded in the upper thirty-two bits of an incoming RPC tag without verifying that this value corresponds to the actual length of the remaining input data stream.

This logic error creates a classic out-of-bounds read condition, classified under CWE-125 as Out-of-Bounds Read. When an authenticated client with access to a Spotlight-enabled volume submits a crafted request, the unmarshalling functions sl_unpack_ints, sl_unpack_date, sl_unpack_uuid, or sl_unpack_floats are triggered. Because these functions rely on the unchecked element count rather than the actual buffer boundaries, they iterate beyond the intended dsi->commands structure. This allows the application to read arbitrary heap memory that lies outside the allocated scope of the command data. The values extracted from this unauthorized memory access are subsequently stored in internal dynamic allocation storage structures within the daemon's process space.

The operational impact of this vulnerability is primarily centered on service availability rather than direct information disclosure, although the potential for sensitive data exposure remains a theoretical risk depending on what resides in adjacent heap memory at runtime. While no specific information-disclosure channel was demonstrated in initial reports, the act of reading beyond allocated boundaries can corrupt internal state or trigger segmentation faults within the worker process serving the attacker's session. Consequently, an authenticated user can cause a denial of service by crashing the AFP daemon process associated with their connection. This aligns with ATT&CK technique T1498, Network Denial of Service, as it disrupts the availability of file services for all users relying on that specific server instance.

Mitigation strategies focus heavily on version management and access control. The most effective remediation is to upgrade Netatalk to version 4.5.0 or later, where this boundary check has been corrected to ensure element counts are validated against actual input lengths before processing. For environments where immediate upgrading is not feasible, administrators should restrict AFP service exposure strictly to trusted networks and enforce strong authentication mechanisms to prevent unauthorized users from interacting with Spotlight-enabled volumes. Additionally, deploying intrusion detection systems that monitor for anomalous RPC patterns or excessive memory access violations can provide an additional layer of defense against exploitation attempts targeting this specific deserialization flaw.

Responsible

GitHub M

Reservation

05/29/2026

Disclosure

11/20/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!