CVE-2026-49388
Netatalk: Heap out-of-bounds read in afpd Spotlight RPC unmarshalling via unbounded toc_index in sl_unpack_loop()
- CVSS
- 7.1
- EPSS
- 0.48% (p34)
- Published
- 2026-11-20
- Age
- 11d old
- Modified
- 2026-11-25
- Product
- Netatalk netatalk
- Aliases
- GHSA-5fvw-g64v-r556
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L
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.
Sources
- NVD · first seen 11d ago · NVD terms of use
- OSV · first seen 6d ago · CC-BY 4.0
- CVE List · first seen 11d ago · CVE Terms of Use
References
- https://github.com/Netatalk/netatalk/security/advisories/GHSA-5fvw-g64v-r556 x_refsource_CONFIRM
- https://github.com/Netatalk/netatalk/commit/117c7679642a0b4c986ea68d51f6a7fc655527fd x_refsource_MISC
- https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-0 x_refsource_MISC
- https://github.com/Netatalk/netatalk/security/advisories/GHSA-32jr-2xqg-gv48 other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49388.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-49388 advisory