Out-of-bounds write in Netatalk file path decomposition
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Netatalk from 3.1.0 before 4.6.0 contains an out-of-bounds write in decompose_w() in libatalk/unicode/util_unistr.c, where space for the UTF-16 NUL terminator is not reserved. A decomposed string that exactly fills the destination is terminated two bytes past a fixed stack buffer (CWE-787). An authenticated AFP user who can create a file path near the MAXPATHLEN limit with selected Unicode characters can corrupt stack memory and crash their AFP session process by requesting its Spotlight metadata.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade netatalk to version 4.6.0 or later, which fixes the flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
- Fix · CNA netatalk (Netatalk) Fixed in 4.6.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
netatalk 4.6.0
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2026-102148 Root file deletion via symlinked .AppleDouble in Netatalk dbdPriority LOW 39
- TI-2026-102149 Netatalk afppasswd lets local users append to root-writable filesPriority LOW 37
Timeline
- 2026-12-02 Threatist record created from CVE-2026-142061
- 2026-12-02 Alias added: GHSA-xhw5-r558-66c5
References
More Netatalk vulnerabilities
- TI-2018-01076 Out-of-bounds write in Netatalk CVSS 3.1CRITICAL 9.8
- TI-2024-25689 Netatalk before 3.2.1 has an off-by-one error and resultant heap-based buffer overflow… CVSS 3.1CRITICAL 9.8
- TI-2024-25690 Netatalk before 3.2.1 has an off-by-one error, and resultant heap-based buffer overflow… CVSS 3.1HIGH 7.5
- TI-2022-22254 Netatalk through 3.1.13 has an afp_getappl heap-based buffer overflow resulting in code… CVSS 3.1HIGH 7.8
- TI-2022-21402 Heap-based buffer overflow in Netatalk CVSS 3.1CRITICAL 9.8
- TI-2026-95949 Out-of-bounds heap read in Netatalk Spotlight RPC unmarshalling CVSS 3.1HIGH 7.1
Sources
- CVE-2026-142061 · CVE Program
- CVE-2026-142061 · NVD
- GHSA-xhw5-r558-66c5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences