Skip to content

CVE-2026-45356 Netatalk: Unsigned Integer Underflow in Spotlight RPC Count Decrement (sl_unpack_loop)

HighCVSS 7.1
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 unmarshalling loop in etc/afpd/spotlight_marshalling.c subtracts an attacker-controlled subcount from the unsigned count variable in sl_unpack_loop without verifying that subcount is not larger. An authenticated AFP client can place an excessive element count in the sl_unpack_ints, sl_unpack_uuid, sl_unpack_floats, or sl_unpack_date handler, or in a null element, so the subtraction wraps near UINT_MAX and the loop continues reading heap memory at increasing offsets up to toc_offset, which is capped at 65000. The out-of-bounds values can be stored in dalloc structures and returned in the Spotlight RPC response, disclosing heap contents. This issue is fixed in version 4.4.3.

Upgrade path

7 packages: 2 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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