CVE-2026-49387 Netatalk: Heap out-of-bounds read in afpd Spotlight RPC unmarshalling via unbounded element count in sl_unpack_ints() and sibling handlers
- 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, the afpd FPSpotlightRPC unmarshalling handlers in etc/afpd/spotlight_marshalling.c trust the element count encoded in the upper 32 bits of an RPC tag without comparing it with the remaining input length. An authenticated client with access to a Spotlight-enabled volume can make sl_unpack_ints, sl_unpack_date, sl_unpack_uuid, or sl_unpack_floats iterate beyond dsi->commands and read heap memory. The read values remain in internal dalloc storage and no information-disclosure channel was demonstrated, but the worker serving the attacker's session can be crashed. 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-49387 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- https://github.com/Netatalk/netatalk/commit/117c7679642a0b4c986ea68d51f6a7fc655527fd
- https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-0
- https://github.com/Netatalk/netatalk/security/advisories/GHSA-32jr-2xqg-gv48