{"id":"UBUNTU-CVE-2020-35512","details":"A use-after-free flaw was found in D-Bus Development branch \u003c= 1.13.16, dbus-1.12.x stable branch \u003c= 1.12.18, and dbus-1.10.x and older branches \u003c= 1.10.30 when a system has multiple usernames sharing the same UID. When a set of policy rules references these usernames, D-Bus may free some memory in the heap, which is still used by data structures necessary for the other usernames sharing the UID, possibly leading to a crash or other undefined behaviors","modified":"2026-04-22T14:24:26.579394Z","published":"2021-02-15T17:15:00Z","related":["USN-5244-1","USN-5244-2"],"upstream":["CVE-2020-35512"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-35512"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1909101"},{"type":"REPORT","url":"https://gitlab.freedesktop.org/dbus/dbus/-/issues/305"},{"type":"REPORT","url":"https://gitlab.freedesktop.org/dbus/dbus/-/commit/2b7948ef907669e844b52c4fa2268d6e3162a70c"},{"type":"REPORT","url":"https://gitlab.freedesktop.org/dbus/dbus/-/commit/f3b2574f0c9faa32a59efec905921f7ef4438a60"},{"type":"REPORT","url":"https://gitlab.freedesktop.org/dbus/dbus/-/commit/dc94fe3d31adf72259adc31f343537151a6c0bdd"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5244-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5244-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-35512"}],"affected":[{"package":{"name":"dbus","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/dbus@1.6.18-0ubuntu4.5+esm3?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.12-0ubuntu10","1.6.18-0ubuntu1","1.6.18-0ubuntu2","1.6.18-0ubuntu3","1.6.18-0ubuntu4","1.6.18-0ubuntu4.1","1.6.18-0ubuntu4.2","1.6.18-0ubuntu4.3","1.6.18-0ubuntu4.4","1.6.18-0ubuntu4.5","1.6.18-0ubuntu4.5+esm1","1.6.18-0ubuntu4.5+esm2","1.6.18-0ubuntu4.5+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"dbus","binary_version":"1.6.18-0ubuntu4.5+esm3"},{"binary_name":"dbus-x11","binary_version":"1.6.18-0ubuntu4.5+esm3"},{"binary_name":"libdbus-1-3","binary_version":"1.6.18-0ubuntu4.5+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35512.json"}},{"package":{"name":"dbus","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/dbus@1.10.6-1ubuntu3.6+esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.6-1ubuntu3.6+esm1"}]}],"versions":["1.10.0-1ubuntu1","1.10.4-1ubuntu2","1.10.6-1ubuntu1","1.10.6-1ubuntu2","1.10.6-1ubuntu3","1.10.6-1ubuntu3.1","1.10.6-1ubuntu3.3","1.10.6-1ubuntu3.4","1.10.6-1ubuntu3.5","1.10.6-1ubuntu3.6"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"1.10.6-1ubuntu3.6+esm1","binary_name":"dbus"},{"binary_name":"dbus-tests","binary_version":"1.10.6-1ubuntu3.6+esm1"},{"binary_name":"dbus-user-session","binary_version":"1.10.6-1ubuntu3.6+esm1"},{"binary_name":"dbus-x11","binary_version":"1.10.6-1ubuntu3.6+esm1"},{"binary_name":"libdbus-1-3","binary_version":"1.10.6-1ubuntu3.6+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35512.json"}},{"package":{"name":"dbus","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/dbus@1.12.2-1ubuntu1.3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.2-1ubuntu1.3"}]}],"versions":["1.10.22-1ubuntu1","1.12.0-1ubuntu1","1.12.2-1ubuntu1","1.12.2-1ubuntu1.1","1.12.2-1ubuntu1.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"dbus","binary_version":"1.12.2-1ubuntu1.3"},{"binary_name":"dbus-tests","binary_version":"1.12.2-1ubuntu1.3"},{"binary_name":"dbus-user-session","binary_version":"1.12.2-1ubuntu1.3"},{"binary_name":"dbus-x11","binary_version":"1.12.2-1ubuntu1.3"},{"binary_version":"1.12.2-1ubuntu1.3","binary_name":"libdbus-1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35512.json"}},{"package":{"name":"dbus","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/dbus@1.12.16-2ubuntu2.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.16-2ubuntu2.2"}]}],"versions":["1.12.14-1ubuntu2","1.12.16-2ubuntu1","1.12.16-2ubuntu2","1.12.16-2ubuntu2.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"dbus","binary_version":"1.12.16-2ubuntu2.2"},{"binary_version":"1.12.16-2ubuntu2.2","binary_name":"dbus-tests"},{"binary_name":"dbus-user-session","binary_version":"1.12.16-2ubuntu2.2"},{"binary_name":"dbus-x11","binary_version":"1.12.16-2ubuntu2.2"},{"binary_version":"1.12.16-2ubuntu2.2","binary_name":"libdbus-1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35512.json"}}],"schema_version":"1.7.5","severity":[{"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":"low"}]}