CVE-2026-49388 Netatalk: Heap out-of-bounds read in afpd Spotlight RPC unmarshalling via unbounded toc_index in sl_unpack_loop()
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
7 packages: 1 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/netatalk(Debian 13) | = 4.2.3~ds-1; = 4.2.3~ds-1+deb13u1; = 4.2.3~ds-1+deb13u2; = 4.2.3~ds-2 +9 more | No fix listed | No fix yet |
| ubuntu/netatalk(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/netatalk(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/netatalk(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/netatalk(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/netatalk(Debian 14) | < 4.5.0~ds-1; = 4.2.3~ds-1; = 4.2.3~ds-2; = 4.2.3~ds-2.1 +3 more | 4.5.0~ds-1 | Fixed |
| netatalk | = >= 3.1.0, < 4.5.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/netatalk(Debian:13) | All versions | No fix listed |
| debian/netatalk(Debian:13) | = 4.2.3~ds-1 | No fix listed |
| debian/netatalk(Debian:13) | = 4.2.3~ds-1+deb13u1 | No fix listed |
| debian/netatalk(Debian:13) | = 4.2.3~ds-1+deb13u2 | No fix listed |
| debian/netatalk(Debian:13) | = 4.2.3~ds-2 | No fix listed |
| debian/netatalk(Debian:13) | = 4.2.3~ds-2.1 | No fix listed |
| debian/netatalk(Debian:13) | = 4.4.1~ds-1 | No fix listed |
| debian/netatalk(Debian:13) | = 4.4.2~ds-1 | No fix listed |
| debian/netatalk(Debian:13) | = 4.4.3~ds-1 | No fix listed |
| debian/netatalk(Debian:13) | = 4.5.0~ds-1 | No fix listed |
| debian/netatalk(Debian:13) | = 4.5.0~ds-2 | No fix listed |
| debian/netatalk(Debian:13) | = 4.5.0~ds-3 | No fix listed |
| debian/netatalk(Debian:13) | = 4.5.1~ds-1 | No fix listed |
| debian/netatalk(Debian:14) | < 4.5.0~ds-1 | 4.5.0~ds-1 |
| debian/netatalk(Debian:14) | = 4.2.3~ds-1 | No fix listed |
| debian/netatalk(Debian:14) | = 4.2.3~ds-2 | No fix listed |
| debian/netatalk(Debian:14) | = 4.2.3~ds-2.1 | No fix listed |
| debian/netatalk(Debian:14) | = 4.4.1~ds-1 | No fix listed |
| debian/netatalk(Debian:14) | = 4.4.2~ds-1 | No fix listed |
| debian/netatalk(Debian:14) | = 4.4.3~ds-1 | No fix listed |
| ubuntu/netatalk(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/netatalk(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/netatalk(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/netatalk(Ubuntu:26.10) | All versions | No fix listed |
| netatalk | = >= 3.1.0, < 4.5.0 | No fix listed |
References
- Debian Security Tracker CVE-2026-49388 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- 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