{"id":"CVE-2026-142061","aliases":["DEBIAN-CVE-2026-142061","EUVD-2026-141225","GHSA-crqx-273q-43r2","GHSA-xhw5-r558-66c5"],"status":"published","title":"Netatalk 3.1.0 before 4.6.0 Stack Out-of-Bounds Write via Spotlight Path Decomposition","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.","severity":{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium","assessor":"cna","from":"cve","others":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00472,"percentile":0.42428,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2026-12-02T11:47:21Z","modified":"2026-12-04T08:00:22Z","affected":[{"source":"osv","ecosystem":"Debian:13","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.3~ds-1","4.2.3~ds-1+deb13u1","4.2.3~ds-1+deb13u2","4.2.3~ds-2","4.2.3~ds-2.1","4.4.1~ds-1","4.4.2~ds-1","4.4.3~ds-1","4.5.0~ds-1","4.5.0~ds-2","4.5.0~ds-3","4.5.1~ds-1"]},{"source":"osv","ecosystem":"Debian:14","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.3~ds-1","4.2.3~ds-2","4.2.3~ds-2.1","4.4.1~ds-1","4.4.2~ds-1","4.4.3~ds-1","4.5.0~ds-1","4.5.0~ds-2","4.5.0~ds-3","4.5.1~ds-1"]}],"products":[{"vendor":"netatalk","product":"netatalk"}],"references":[{"url":"https://github.com/Netatalk/netatalk/security/advisories/GHSA-crqx-273q-43r2","tags":["advisory"]},{"url":"https://github.com/Netatalk/netatalk/commit/f43ed6c902188176a222ae5f318417b766f16a5e","tags":["fix"]},{"url":"https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-6-0","tags":["web"]},{"url":"https://github.com/Netatalk/netatalk","tags":["package"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142061","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-xhw5-r558-66c5"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142061.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-142061","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-142061","title":"Netatalk 3.1.0 before 4.6.0 Stack Out-of-Bounds Write via Spotlight Path Decomposition","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.","status":"published","published":"2026-12-02T11:47:21.363Z","modified":"2026-12-02T11:47:21.363Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium","assessor":"cna"}],"cwes":["CWE-787"],"updated_at":"2026-12-02T11:51:52.786378Z"}],"euvd":[{"id":"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.","status":"published","published":"2026-12-02T11:47:21Z","modified":"2026-12-02T11:47:21Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"updated_at":"2026-12-02T15:25:30.217075Z"}],"ghsa":[{"id":"GHSA-xhw5-r558-66c5","title":"Netatalk 3.1.0 before 4.6.0 contains an out-of-bounds write vulnerability in decompose_w() in...","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.","status":"published","published":"2026-12-02T12:30:31Z","modified":"2026-12-02T12:30:40Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"cwes":["CWE-787"],"updated_at":"2026-12-02T12:36:45.151628Z"}],"nvd":[{"id":"CVE-2026-142061","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.","status":"published","published":"2026-12-02T12:17:22.757Z","modified":"2026-12-02T12:17:22.86Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"}],"cwes":["CWE-787"],"updated_at":"2026-12-02T12:24:32.304569Z"}],"osv":[{"id":"CVE-2026-142061","title":"Netatalk 3.1.0 before 4.6.0 Stack Out-of-Bounds Write via Spotlight Path Decomposition","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.","status":"published","published":"2026-12-02T11:47:21.363Z","modified":"2026-12-03T21:01:51.813237992Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"cwes":["CWE-787"],"updated_at":"2026-12-03T21:10:05.302032Z"},{"id":"DEBIAN-CVE-2026-142061","upstream":["CVE-2026-142061"],"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.","status":"published","published":"2026-12-02T12:17:22.757Z","modified":"2026-12-04T08:00:22.119927445Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-12-04T08:34:29.066102Z"}]}}
