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

CVE-2026-49387: Netatalk: Heap out-of-bounds read in afpd Spotlight RPC unmarshalling via unbounded element count in sl_unpack_ints() and sibling handlers

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-49387: 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, 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.

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.