{"id":"USN-7582-1","summary":"samba vulnerabilities","details":"Evgeny Legerov discovered that Samba incorrectly handled buffers in\ncertain GSSAPI routines of Heimdal. A remote attacker could possibly use\nthis issue to cause Samba to crash, resulting in a denial of service.\n(CVE-2022-3437)\n\nGreg Hudson discovered that Samba incorrectly handled PAC parsing. On\n32-bit systems, a remote attacker could use this issue to escalate\nprivileges, or possibly execute arbitrary code. (CVE-2022-42898)\n\nJoseph Sutton discovered that Samba could be forced to issue rc4-hmac\nencrypted Kerberos tickets. A remote attacker could possibly use this issue\nto escalate privileges. This issue only affected Ubuntu 20.04 LTS and\nUbuntu 22.04 LTS. (CVE-2022-45141)\n\nFlorent Saudel discovered that Samba incorrectly handled certain Spotlight\nrequests. A remote attacker could possibly use this issue to cause Samba to\nconsume resources, leading to a denial of service. (CVE-2023-34966)\n","modified":"2026-05-20T16:03:46.131044198Z","published":"2025-06-19T10:33:58Z","related":["UBUNTU-CVE-2022-3437","UBUNTU-CVE-2022-42898","UBUNTU-CVE-2022-45141","UBUNTU-CVE-2023-34966"],"upstream":["CVE-2022-3437","CVE-2022-42898","CVE-2022-45141","CVE-2023-34966","UBUNTU-CVE-2022-3437","UBUNTU-CVE-2022-42898","UBUNTU-CVE-2022-45141","UBUNTU-CVE-2023-34966"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7582-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-3437"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-42898"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-45141"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-34966"}],"affected":[{"package":{"name":"samba","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/samba?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"}]}],"versions":["2:3.6.18-1ubuntu3","2:4.0.10+dfsg-4ubuntu2","2:4.0.13+dfsg-1ubuntu1","2:4.1.3+dfsg-2ubuntu2","2:4.1.3+dfsg-2ubuntu3","2:4.1.3+dfsg-2ubuntu4","2:4.1.3+dfsg-2ubuntu5","2:4.1.6+dfsg-1ubuntu1","2:4.1.6+dfsg-1ubuntu2","2:4.1.6+dfsg-1ubuntu2.14.04.1","2:4.1.6+dfsg-1ubuntu2.14.04.2","2:4.1.6+dfsg-1ubuntu2.14.04.3","2:4.1.6+dfsg-1ubuntu2.14.04.4","2:4.1.6+dfsg-1ubuntu2.14.04.5","2:4.1.6+dfsg-1ubuntu2.14.04.7","2:4.1.6+dfsg-1ubuntu2.14.04.8","2:4.1.6+dfsg-1ubuntu2.14.04.9","2:4.1.6+dfsg-1ubuntu2.14.04.11","2:4.1.6+dfsg-1ubuntu2.14.04.12","2:4.1.6+dfsg-1ubuntu2.14.04.13","2:4.3.8+dfsg-0ubuntu0.14.04.2","2:4.3.9+dfsg-0ubuntu0.14.04.1","2:4.3.9+dfsg-0ubuntu0.14.04.3","2:4.3.11+dfsg-0ubuntu0.14.04.1","2:4.3.11+dfsg-0ubuntu0.14.04.2","2:4.3.11+dfsg-0ubuntu0.14.04.3","2:4.3.11+dfsg-0ubuntu0.14.04.4","2:4.3.11+dfsg-0ubuntu0.14.04.6","2:4.3.11+dfsg-0ubuntu0.14.04.7","2:4.3.11+dfsg-0ubuntu0.14.04.8","2:4.3.11+dfsg-0ubuntu0.14.04.9","2:4.3.11+dfsg-0ubuntu0.14.04.10","2:4.3.11+dfsg-0ubuntu0.14.04.11","2:4.3.11+dfsg-0ubuntu0.14.04.12","2:4.3.11+dfsg-0ubuntu0.14.04.13","2:4.3.11+dfsg-0ubuntu0.14.04.14","2:4.3.11+dfsg-0ubuntu0.14.04.16","2:4.3.11+dfsg-0ubuntu0.14.04.17","2:4.3.11+dfsg-0ubuntu0.14.04.19","2:4.3.11+dfsg-0ubuntu0.14.04.20","2:4.3.11+dfsg-0ubuntu0.14.04.20+esm1","2:4.3.11+dfsg-0ubuntu0.14.04.20+esm2","2:4.3.11+dfsg-0ubuntu0.14.04.20+esm3","2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4","2:4.3.11+dfsg-0ubuntu0.14.04.20+esm6","2:4.3.11+dfsg-0ubuntu0.14.04.20+esm7","2:4.3.11+dfsg-0ubuntu0.14.04.20+esm8","2:4.3.11+dfsg-0ubuntu0.14.04.20+esm9","2:4.3.11+dfsg-0ubuntu0.14.04.20+esm11","2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_name":"libnss-winbind","binary_version":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"},{"binary_name":"libpam-smbpass","binary_version":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"},{"binary_name":"libpam-winbind","binary_version":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"},{"binary_name":"libparse-pidl-perl","binary_version":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"},{"binary_name":"libsmbclient","binary_version":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"},{"binary_name":"libsmbsharemodes0","binary_version":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"},{"binary_name":"libwbclient0","binary_version":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"},{"binary_name":"python-samba","binary_version":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"},{"binary_name":"registry-tools","binary_version":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"},{"binary_name":"samba","binary_version":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"},{"binary_name":"samba-common","binary_version":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"},{"binary_name":"samba-common-bin","binary_version":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"},{"binary_name":"samba-dsdb-modules","binary_version":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"},{"binary_name":"samba-libs","binary_version":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"},{"binary_name":"samba-testsuite","binary_version":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"},{"binary_name":"samba-vfs-modules","binary_version":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"},{"binary_name":"smbclient","binary_version":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"},{"binary_name":"winbind","binary_version":"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13"}]},"database_specific":{"cves_map":{"cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2022-3437"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2022-42898"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2023-34966"}],"ecosystem":"Ubuntu:Pro:14.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7582-1.json"}},{"package":{"name":"samba","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/samba?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2"}]}],"versions":["2:4.1.17+dfsg-4ubuntu2","2:4.1.20+dfsg-1ubuntu1","2:4.1.20+dfsg-1ubuntu2","2:4.1.20+dfsg-1ubuntu3","2:4.1.20+dfsg-1ubuntu5","2:4.3.3+dfsg-1ubuntu1","2:4.3.3+dfsg-1ubuntu2","2:4.3.3+dfsg-1ubuntu3","2:4.3.6+dfsg-1ubuntu1","2:4.3.8+dfsg-0ubuntu1","2:4.3.9+dfsg-0ubuntu0.16.04.1","2:4.3.9+dfsg-0ubuntu0.16.04.2","2:4.3.9+dfsg-0ubuntu0.16.04.3","2:4.3.11+dfsg-0ubuntu0.16.04.1","2:4.3.11+dfsg-0ubuntu0.16.04.3","2:4.3.11+dfsg-0ubuntu0.16.04.5","2:4.3.11+dfsg-0ubuntu0.16.04.6","2:4.3.11+dfsg-0ubuntu0.16.04.7","2:4.3.11+dfsg-0ubuntu0.16.04.8","2:4.3.11+dfsg-0ubuntu0.16.04.9","2:4.3.11+dfsg-0ubuntu0.16.04.10","2:4.3.11+dfsg-0ubuntu0.16.04.11","2:4.3.11+dfsg-0ubuntu0.16.04.12","2:4.3.11+dfsg-0ubuntu0.16.04.13","2:4.3.11+dfsg-0ubuntu0.16.04.15","2:4.3.11+dfsg-0ubuntu0.16.04.16","2:4.3.11+dfsg-0ubuntu0.16.04.17","2:4.3.11+dfsg-0ubuntu0.16.04.18","2:4.3.11+dfsg-0ubuntu0.16.04.19","2:4.3.11+dfsg-0ubuntu0.16.04.20","2:4.3.11+dfsg-0ubuntu0.16.04.21","2:4.3.11+dfsg-0ubuntu0.16.04.23","2:4.3.11+dfsg-0ubuntu0.16.04.24","2:4.3.11+dfsg-0ubuntu0.16.04.25","2:4.3.11+dfsg-0ubuntu0.16.04.26","2:4.3.11+dfsg-0ubuntu0.16.04.27","2:4.3.11+dfsg-0ubuntu0.16.04.28","2:4.3.11+dfsg-0ubuntu0.16.04.29","2:4.3.11+dfsg-0ubuntu0.16.04.30","2:4.3.11+dfsg-0ubuntu0.16.04.31","2:4.3.11+dfsg-0ubuntu0.16.04.32","2:4.3.11+dfsg-0ubuntu0.16.04.34","2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"ctdb","binary_version":"2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2"},{"binary_name":"libnss-winbind","binary_version":"2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2"},{"binary_name":"libpam-winbind","binary_version":"2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2"},{"binary_name":"libparse-pidl-perl","binary_version":"2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2"},{"binary_name":"libsmbclient","binary_version":"2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2"},{"binary_name":"libwbclient0","binary_version":"2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2"},{"binary_name":"python-samba","binary_version":"2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2"},{"binary_name":"registry-tools","binary_version":"2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2"},{"binary_name":"samba","binary_version":"2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2"},{"binary_name":"samba-common","binary_version":"2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2"},{"binary_name":"samba-common-bin","binary_version":"2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2"},{"binary_name":"samba-dsdb-modules","binary_version":"2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2"},{"binary_name":"samba-libs","binary_version":"2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2"},{"binary_name":"samba-testsuite","binary_version":"2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2"},{"binary_name":"samba-vfs-modules","binary_version":"2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2"},{"binary_name":"smbclient","binary_version":"2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2"},{"binary_name":"winbind","binary_version":"2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2"}]},"database_specific":{"cves_map":{"cves":[],"ecosystem":"Ubuntu:Pro:16.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7582-1.json"}},{"package":{"name":"samba","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/samba?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1"}]}],"versions":["2:4.6.7+dfsg-1ubuntu3","2:4.7.1+dfsg-1ubuntu1","2:4.7.3+dfsg-1ubuntu1","2:4.7.4+dfsg-1ubuntu1","2:4.7.6+dfsg~ubuntu-0ubuntu1","2:4.7.6+dfsg~ubuntu-0ubuntu2","2:4.7.6+dfsg~ubuntu-0ubuntu2.2","2:4.7.6+dfsg~ubuntu-0ubuntu2.4","2:4.7.6+dfsg~ubuntu-0ubuntu2.5","2:4.7.6+dfsg~ubuntu-0ubuntu2.6","2:4.7.6+dfsg~ubuntu-0ubuntu2.7","2:4.7.6+dfsg~ubuntu-0ubuntu2.9","2:4.7.6+dfsg~ubuntu-0ubuntu2.10","2:4.7.6+dfsg~ubuntu-0ubuntu2.11","2:4.7.6+dfsg~ubuntu-0ubuntu2.13","2:4.7.6+dfsg~ubuntu-0ubuntu2.14","2:4.7.6+dfsg~ubuntu-0ubuntu2.15","2:4.7.6+dfsg~ubuntu-0ubuntu2.16","2:4.7.6+dfsg~ubuntu-0ubuntu2.17","2:4.7.6+dfsg~ubuntu-0ubuntu2.18","2:4.7.6+dfsg~ubuntu-0ubuntu2.19","2:4.7.6+dfsg~ubuntu-0ubuntu2.20","2:4.7.6+dfsg~ubuntu-0ubuntu2.21","2:4.7.6+dfsg~ubuntu-0ubuntu2.23","2:4.7.6+dfsg~ubuntu-0ubuntu2.24","2:4.7.6+dfsg~ubuntu-0ubuntu2.26","2:4.7.6+dfsg~ubuntu-0ubuntu2.27","2:4.7.6+dfsg~ubuntu-0ubuntu2.28","2:4.7.6+dfsg~ubuntu-0ubuntu2.29"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"ctdb","binary_version":"2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1"},{"binary_name":"libnss-winbind","binary_version":"2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1"},{"binary_name":"libpam-winbind","binary_version":"2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1"},{"binary_name":"libparse-pidl-perl","binary_version":"2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1"},{"binary_name":"libsmbclient","binary_version":"2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1"},{"binary_name":"libwbclient0","binary_version":"2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1"},{"binary_name":"python-samba","binary_version":"2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1"},{"binary_name":"registry-tools","binary_version":"2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1"},{"binary_name":"samba","binary_version":"2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1"},{"binary_name":"samba-common","binary_version":"2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1"},{"binary_name":"samba-common-bin","binary_version":"2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1"},{"binary_name":"samba-dsdb-modules","binary_version":"2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1"},{"binary_name":"samba-libs","binary_version":"2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1"},{"binary_name":"samba-testsuite","binary_version":"2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1"},{"binary_name":"samba-vfs-modules","binary_version":"2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1"},{"binary_name":"smbclient","binary_version":"2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1"},{"binary_name":"winbind","binary_version":"2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1"}]},"database_specific":{"cves_map":{"cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2022-3437"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2022-42898"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2022-45141"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2023-34966"}],"ecosystem":"Ubuntu:Pro:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7582-1.json"}}],"schema_version":"1.7.5"}