Netatalk: afpd Spotlight RPC heap-buffer-overflow in nested sl_pack_filemeta() marshalling
CVE-2026-62321Published 20 Nov 2026, 17:25 UTC
Real-world risk
5.1/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.7
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| netatalkCommon | >= 3.1.0, < 4.5.1 | 4.5.1 |
What to do
Update to a fixed version: 4.5.1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.6% chance of exploitation in 30 days (percentile 50), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.600
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.6 × threat 0.855.100
- Rounded to one decimal between 0.1 and 105.1
Exploitation and evidence timeline
- 20 Nov 2026 Published
- 3 Dec 2026 Risk 5.1 (cvss fallback)
Weakness
CWE-119, CWE-787
References
- https://github.com/Netatalk/netatalk/security/advisories/GHSA-42mm-6m68-h9g2vendor-advisory
- https://github.com/Netatalk/netatalk/commit/490327e0f59e75d6cfb34ed35053d6cc4d6eb1e3misc
- https://github.com/Netatalk/netatalk/commit/db4d6fc004dfa8336f9143782404164e059f2328misc
- https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-1misc
- CVE-2026-62321 on CVE.org