{"id":"UBUNTU-CVE-2023-3297","details":"In Ubuntu's accountsservice an unprivileged local attacker can trigger a use-after-free vulnerability in accountsservice by sending a D-Bus message to the accounts-daemon process.","modified":"2026-04-22T14:07:05.056126Z","published":"2023-06-28T12:00:00Z","related":["USN-6190-1","USN-6190-2"],"upstream":["CVE-2023-3297"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-3297"},{"type":"REPORT","url":"https://securitylab.github.com/advisories/GHSL-2023-139_accountsservice/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6190-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6190-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-3297"}],"affected":[{"package":{"name":"accountsservice","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/accountsservice@0.6.35-0ubuntu7.3+esm3?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.35-0ubuntu7.3+esm3"}]}],"versions":["0.6.34-0ubuntu6","0.6.34-0ubuntu7","0.6.35-0ubuntu1","0.6.35-0ubuntu2","0.6.35-0ubuntu3","0.6.35-0ubuntu4","0.6.35-0ubuntu5","0.6.35-0ubuntu6","0.6.35-0ubuntu7","0.6.35-0ubuntu7.1","0.6.35-0ubuntu7.2","0.6.35-0ubuntu7.3","0.6.35-0ubuntu7.3+esm2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"accountsservice","binary_version":"0.6.35-0ubuntu7.3+esm3"},{"binary_name":"gir1.2-accountsservice-1.0","binary_version":"0.6.35-0ubuntu7.3+esm3"},{"binary_version":"0.6.35-0ubuntu7.3+esm3","binary_name":"libaccountsservice0"},{"binary_name":"libpam-pin","binary_version":"0.6.35-0ubuntu7.3+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-3297.json"}},{"package":{"name":"accountsservice","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/accountsservice@0.6.40-2ubuntu11.6+esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.40-2ubuntu11.6+esm1"}]}],"versions":["0.6.40-2ubuntu5","0.6.40-2ubuntu6","0.6.40-2ubuntu7","0.6.40-2ubuntu8","0.6.40-2ubuntu9","0.6.40-2ubuntu10","0.6.40-2ubuntu11","0.6.40-2ubuntu11.1","0.6.40-2ubuntu11.2","0.6.40-2ubuntu11.3","0.6.40-2ubuntu11.6"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"accountsservice","binary_version":"0.6.40-2ubuntu11.6+esm1"},{"binary_name":"gir1.2-accountsservice-1.0","binary_version":"0.6.40-2ubuntu11.6+esm1"},{"binary_name":"libaccountsservice0","binary_version":"0.6.40-2ubuntu11.6+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-3297.json"}},{"package":{"name":"accountsservice","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/accountsservice@0.6.45-1ubuntu1.3+esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.45-1ubuntu1.3+esm1"}]}],"versions":["0.6.42-0ubuntu3","0.6.42-0ubuntu4","0.6.45-1ubuntu1","0.6.45-1ubuntu1.3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"accountsservice","binary_version":"0.6.45-1ubuntu1.3+esm1"},{"binary_name":"gir1.2-accountsservice-1.0","binary_version":"0.6.45-1ubuntu1.3+esm1"},{"binary_name":"libaccountsservice0","binary_version":"0.6.45-1ubuntu1.3+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-3297.json"}},{"package":{"name":"accountsservice","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/accountsservice@0.6.55-0ubuntu12~20.04.6?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.55-0ubuntu12~20.04.6"}]}],"versions":["0.6.55-0ubuntu10","0.6.55-0ubuntu11","0.6.55-0ubuntu12~20.04.1","0.6.55-0ubuntu12~20.04.2","0.6.55-0ubuntu12~20.04.4","0.6.55-0ubuntu12~20.04.5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"accountsservice","binary_version":"0.6.55-0ubuntu12~20.04.6"},{"binary_name":"gir1.2-accountsservice-1.0","binary_version":"0.6.55-0ubuntu12~20.04.6"},{"binary_name":"libaccountsservice0","binary_version":"0.6.55-0ubuntu12~20.04.6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-3297.json"}},{"package":{"name":"accountsservice","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/accountsservice@22.07.5-2ubuntu1.4?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"22.07.5-2ubuntu1.4"}]}],"versions":["0.6.55-0ubuntu14","0.6.55-3ubuntu1","0.6.55-3ubuntu2","0.6.55-3ubuntu4","0.6.55-3ubuntu5","0.6.55-3ubuntu6","22.07.5-2ubuntu1","22.07.5-2ubuntu1.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"accountsservice","binary_version":"22.07.5-2ubuntu1.4"},{"binary_name":"gir1.2-accountsservice-1.0","binary_version":"22.07.5-2ubuntu1.4"},{"binary_name":"libaccountsservice0","binary_version":"22.07.5-2ubuntu1.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-3297.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}