{"id":"ALPINE-CVE-2026-40706","details":"In NTFS-3G 2022.10.3 before 2026.2.25, a heap buffer overflow exists in ntfs_build_permissions_posix() in acls.c that allows an attacker to corrupt heap memory in the SUID-root ntfs-3g binary by crafting a malicious NTFS image. The overflow is triggered on the READ path (stat, readdir, open) when processing a security descriptor with multiple ACCESS_DENIED ACEs containing WRITE_OWNER from distinct group SIDs.","modified":"2026-04-29T06:33:41.894582Z","published":"2026-04-21T22:16:19.077Z","upstream":["CVE-2026-40706"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-40706"}],"affected":[{"package":{"name":"ntfs-3g","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/ntfs-3g?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2026.2.25-r0"}]}],"versions":["2009.11.14-r0","2009.4.4-r0","2010.10.2-r0","2010.3.6-r0","2010.3.6-r1","2010.5.16-r0","2010.5.22-r0","2010.8.8-r0","2011.1.15-r0","2011.4.12-r0","2011.4.12-r1","2012.1.15-r0","2013.1.13-r0","2013.1.13-r1","2014.2.15-r0","2015.3.14-r0","2016.2.22-r0","2016.2.22-r1","2017.3.23-r0","2017.3.23-r1","2017.3.23-r2","2017.3.23-r3","2021.8.22-r0","2022.10.3-r0","2022.10.3-r1","2022.10.3-r2","2022.10.3-r3","2022.5.17-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-40706.json"}},{"package":{"name":"ntfs-3g","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/ntfs-3g?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2026.2.25-r0"}]}],"versions":["2009.11.14-r0","2009.4.4-r0","2010.10.2-r0","2010.3.6-r0","2010.3.6-r1","2010.5.16-r0","2010.5.22-r0","2010.8.8-r0","2011.1.15-r0","2011.4.12-r0","2011.4.12-r1","2012.1.15-r0","2013.1.13-r0","2013.1.13-r1","2014.2.15-r0","2015.3.14-r0","2016.2.22-r0","2016.2.22-r1","2017.3.23-r0","2017.3.23-r1","2017.3.23-r2","2017.3.23-r3","2021.8.22-r0","2022.10.3-r0","2022.10.3-r1","2022.10.3-r2","2022.10.3-r3","2022.10.3-r4","2022.5.17-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-40706.json"}},{"package":{"name":"ntfs-3g","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/ntfs-3g?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2026.2.25-r0"}]}],"versions":["2009.11.14-r0","2009.4.4-r0","2010.10.2-r0","2010.3.6-r0","2010.3.6-r1","2010.5.16-r0","2010.5.22-r0","2010.8.8-r0","2011.1.15-r0","2011.4.12-r0","2011.4.12-r1","2012.1.15-r0","2013.1.13-r0","2013.1.13-r1","2014.2.15-r0","2015.3.14-r0","2016.2.22-r0","2016.2.22-r1","2017.3.23-r0","2017.3.23-r1","2017.3.23-r2","2017.3.23-r3","2021.8.22-r0","2022.10.3-r0","2022.10.3-r1","2022.10.3-r2","2022.10.3-r3","2022.10.3-r4","2022.5.17-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-40706.json"}},{"package":{"name":"ntfs-3g","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/ntfs-3g?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2026.2.25-r0"}]}],"versions":["2009.11.14-r0","2009.4.4-r0","2010.10.2-r0","2010.3.6-r0","2010.3.6-r1","2010.5.16-r0","2010.5.22-r0","2010.8.8-r0","2011.1.15-r0","2011.4.12-r0","2011.4.12-r1","2012.1.15-r0","2013.1.13-r0","2013.1.13-r1","2014.2.15-r0","2015.3.14-r0","2016.2.22-r0","2016.2.22-r1","2017.3.23-r0","2017.3.23-r1","2017.3.23-r2","2017.3.23-r3","2021.8.22-r0","2022.10.3-r0","2022.10.3-r1","2022.10.3-r2","2022.10.3-r3","2022.10.3-r4","2022.5.17-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-40706.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}