CVE-2026-45356
Netatalk is a Free and Open Source file server suite for Unix-like operating systems.
Impact
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.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read, low risk of outages.
Affected products · Netatalk
| Product | Affected versions |
|---|---|
| Netatalk | before 4.4.3 Version < 4.4.3 |
Weakness classification
References
- NVD record
- CVE.org record
- https://github.com/Netatalk/netatalk/security/advisories/GHSA-9963-q595-wm2x
- https://github.com/Netatalk/netatalk/commit/795ed7ef539d171f417511abba5b0a666b2a3300
- https://github.com/Netatalk/netatalk/commit/caffd8b400dec9966cbe289a3b0a8c385c352c01
- https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-4-3