{"id":"UBUNTU-CVE-2025-66003","details":"An External Control of File Name or Path vulnerability in smb4k allowsl ocal users to perform a local root exploit via smb4k mounthelper if they can access and control the contents of a Samba shareThis issue affects smb4k: from ? before 4.0.5.","modified":"2026-05-20T16:23:41.493793870Z","published":"2026-01-08T15:15:00Z","upstream":["CVE-2025-66003"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-66003"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-66003"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2025/12/10/6"}],"affected":[{"package":{"name":"smb4k","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/smb4k?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"smb4k","binary_version":"1.1.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66003.json"}},{"package":{"name":"smb4k","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/smb4k?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.1-1","2.0.2-1","2.1.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"smb4k","binary_version":"2.1.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66003.json"}},{"package":{"name":"smb4k","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/smb4k?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.2-1","3.0.3-1","3.0.4-0ubuntu1","3.0.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"smb4k","binary_version":"3.0.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66003.json"}},{"package":{"name":"smb4k","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/smb4k?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.1-1","3.1.2-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"smb4k","binary_version":"3.1.2-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66003.json"}},{"package":{"name":"smb4k","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/smb4k?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.2-1","3.2.4-1","3.2.5-1","3.2.5-1build1","3.2.5-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"smb4k","binary_version":"3.2.5-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66003.json"}},{"package":{"name":"smb4k","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/smb4k?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.0-1","4.0.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"smb4k","binary_version":"4.0.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66003.json"}},{"package":{"name":"smb4k","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/smb4k?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.4-1","4.0.5-1","4.0.5-1build1","4.0.6-1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.0.6-1","binary_name":"smb4k"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66003.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}