CVE-2026-45355 Netatalk: Integer Underflow in Spotlight RPC String Length Calculation (sl_unpack_cpx)
- 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. Prior to 4.4.3, the afpd Spotlight RPC string unmarshalling path in etc/afpd/spotlight_marshalling.c uses sl_unpack_cpx to calculate slen from qlen and the attacker-controlled used_in_last_block value without preventing a negative result. An authenticated AFP client can send a complex string or UTF-16 string element that makes slen negative, and the implicit conversion to size_t causes dalloc_strndup or convert_string_allocate to read beyond the heap buffer. The out-of-bounds read can expose heap data through the RPC response or crash the worker process. This issue is fixed in version 4.4.3.
Upgrade path
7 packages: 2 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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 13) | < 4.2.3~ds-1+deb13u2; = 4.2.3~ds-1; = 4.2.3~ds-1+deb13u1 | 4.2.3~ds-1+deb13u2 | Fixed |
| debian/netatalk(Debian 14) | < 4.4.3~ds-1; = 4.2.3~ds-1; = 4.2.3~ds-2; = 4.2.3~ds-2.1 +2 more | 4.4.3~ds-1 | Fixed |
| netatalk | = < 4.4.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/netatalk(Debian:13) | < 4.2.3~ds-1+deb13u2 | 4.2.3~ds-1+deb13u2 |
| 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:14) | < 4.4.3~ds-1 | 4.4.3~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 |
| 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 | = < 4.4.3 | No fix listed |
References
- Debian Security Tracker CVE-2026-45355 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking
- https://github.com/Netatalk/netatalk/commit/66b50f465228cab81045922308871ae60da740bb
- https://github.com/Netatalk/netatalk/commit/87f38347fd785943b362e160fb22d24d82eca555
- https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-4-3
- https://github.com/Netatalk/netatalk/security/advisories/GHSA-r72w-vfv6-52wg