Netatalk 3.1.0 before 4.6.0 Stack Out-of-Bounds Write via Spotlight Path Decomposition
- CVE-2026-142061
- GHSA-xhw5-r558-66c5
- EUVD-2026-141225
Description
Netatalk 3.1.0 before 4.6.0 contains an out-of-bounds write vulnerability in decompose_w() in libatalk/unicode/util_unistr.c that does not reserve space for the UTF-16 NUL terminator, so a decomposed string that exactly fills the destination is terminated two bytes past the end of the fixed stack buffer in charset_decompose(). Authenticated AFP users who can create a file path near the MAXPATHLEN limit containing selected Unicode characters can request its Spotlight metadata to corrupt stack memory and crash their AFP session process.
Text from the CVE.org record.
Recommendation
netatalk
- If you run a version from 3.1.0 to before 4.6.0update to 4.6.0 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
netatalk
Affected versions Fixed in from 3.1.0 to before 4.6.0 4.6.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.