Skip to content
DayZeroHub
High Not yet writtenCVSS 7.1CVE-2026-49388

CVE-2026-49388: Netatalk: Heap out-of-bounds read in afpd Spotlight RPC unmarshalling via unbounded toc_index in sl_unpack_loop()

Netatalk netatalk

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-49388: high-severity vulnerability (CVSS 7.1) in Netatalk netatalk.

What happened

Original description from the source: Netatalk is a Free and Open Source file server suite for Unix-like operating systems. From 3.1.0 until 4.5.0, sl_unpack_loop in etc/afpd/spotlight_marshalling.c uses an attacker-controlled Spotlight table-of-contents index during FPSpotlightRPC without checking it against the number of entries or the remaining dsi->commands buffer. An authenticated AFP client with access to a Spotlight-enabled volume can choose a large toc_index whose multiplication and addition produce an out-of-range address, causing an attacker-influenced heap read and reliably crashing the worker serving that session. The earlier CVE-2026-44066 remediation bounded recursion depth and toc_offset but did not bound toc_index. This issue is fixed in version 4.5.0.

Why it matters

High severity, CVSS 7.1.

Affected products and versions

Netatalk netatalk >= 3.1.0, < 4.5.0

ProductVersionsFixed in
Netatalk netatalk>= 3.1.0, < 4.5.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-125

Relevant change history

  1. Published

    Preliminary advisory published.