Skip to content
DayZeroHub
High Not yet writtenCVSS 8.7CVE-2026-62321

CVE-2026-62321: Netatalk: afpd Spotlight RPC heap-buffer-overflow in nested sl_pack_filemeta() marshalling

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-62321: high-severity vulnerability (CVSS 8.7) 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.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.

Why it matters

High severity, CVSS 8.7.

Affected products and versions

Netatalk netatalk >= 3.1.0, < 4.5.1

ProductVersionsFixed in
Netatalk netatalk>= 3.1.0, < 4.5.1—

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-119, CWE-787

Relevant change history

  1. Published

    Preliminary advisory published.