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

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 34% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-20T17:24:44.014Z
- Modified: 2026-11-25T05:18:36.143Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- Netatalk netatalk: >= 3.1.0, < 4.5.0

## References

- <https://github.com/Netatalk/netatalk/security/advisories/GHSA-32jr-2xqg-gv48> (exploit)
- <https://github.com/Netatalk/netatalk/security/advisories/GHSA-5fvw-g64v-r556>
- <https://github.com/Netatalk/netatalk/commit/117c7679642a0b4c986ea68d51f6a7fc655527fd>
- <https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-0>

## Sources

- CVE List: [CVE-2026-49388](https://www.cve.org/CVERecord?id=CVE-2026-49388), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-49388](https://nvd.nist.gov/vuln/detail/CVE-2026-49388), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-49388 · Whole record: https://cve.day/CVE-2026-49388.json · Rebuilt by cve.day 2026-11-25T23:17:11.706Z
