freenode

← CVE tracker

CVE-2026-45355

Netatalk: Integer Underflow in Spotlight RPC String Length Calculation (sl_unpack_cpx)

Severity
high CVSS 7.1 (v3.1)
Affects
netatalk · Netatalk
Weakness
CWE-125: Out-of-bounds Read
Published
20 November 2026 by GitHub_M
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.