Every CVE Search/ Get API key

CVE-2020-35512

A use-after-free flaw was found in D-Bus 1.12.20 when a system has multiple usernames sharing the...

7.8 HighFix available

A use-after-free flaw was found in D-Bus Development branch <= 1.13.16, dbus-1.12.x stable branch <= 1.12.18, and dbus-1.10.x and older branches <= 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

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.33%Down 0.7 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.8

A use-after-free flaw was found in D-Bus Development branch <= 1.13.16, dbus-1.12.x stable branch <= 1.12.18, and dbus-1.10.x and older branches <= 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

Record
CVE-2020-35512
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.2 HighAV:L/AC:L/Au:N/C:C/I:C/A:C
Weakness
CWE-416
Updated
2026-11-02
CVE List No score

A use-after-free flaw was found in D-Bus Development branch <= 1.13.16, dbus-1.12.x stable branch <= 1.12.18, and dbus-1.10.x and older branches <= 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

Record
CVE-2020-35512
Updated
2026-11-02
EUVDEUVD-2020-23179 No score

A use-after-free flaw was found in D-Bus Development branch <= 1.13.16, dbus-1.12.x stable branch <= 1.12.18, and dbus-1.10.x and older branches <= 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

Record
EUVD-2020-23179
Updated
2026-11-03
GitHub AdvisoriesGHSA-f5qm-fxvw-fwjg 7.8

A use-after-free flaw was found in D-Bus 1.12.20 when a system has multiple usernames sharing the...

A use-after-free flaw was found in D-Bus 1.12.20 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

Record
GHSA-f5qm-fxvw-fwjg
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-416
Updated
2026-11-02
OSV 7.8

A use-after-free flaw was found in D-Bus Development branch <= 1.13.16, dbus-1.12.x stable branch <= 1.12.18, and dbus-1.10.x and older branches <= 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

Record
CVE-2020-35512
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-35512 7.8

A use-after-free flaw was found in D-Bus Development branch <= 1.13.16, dbus-1.12.x stable branch <= 1.12.18, and dbus-1.10.x and older branches <= 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

Record
DEBIAN-CVE-2020-35512
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 12 moreShow less
OSVOESA-2021-1101 7.8

dbus security update

D-Bus is a message bus system, a simple way for applications to talk to one another. In addition to interprocess communication, D-Bus helps coordinate process lifecycle; it makes it simple and reliable to code a "single instance" application or daemon, and to launch applications and daemons on demand when their services are needed.

Security Fix(es):

A use-after-free flaw was found in D-Bus Development branch <= 1.13.16, dbus-1.12.x stable branch <= 1.12.18, and dbus-1.10.x and older branches <= 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(CVE-2020-35512)

Record
OESA-2021-1101
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-35512 7.8

A use-after-free flaw was found in D-Bus Development branch <= 1.13.16, dbus-1.12.x stable branch <= 1.12.18, and dbus-1.10.x and older branches <= 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

Record
UBUNTU-CVE-2020-35512
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVCLSA-2022-1669241224 No score

Fix CVE(s): CVE-2022-42012, CVE-2022-42011, CVE-2022-42010, CVE-2020-35512

  • SECURITY UPDATE: Use-after-free in access control-related hash tables
    • debian/patches/CVE-2020-35512.patch: use reference counting for DBusUserInfo and DBusGroupInfo structures.
    • CVE-2020-35512
  • SECURITY UPDATE: Crash or incorrect parsing a signature with wrongly nested '()' and '{}'
    • debian/patches/CVE-2022-42010.patch: add extra checking for brackets.
    • CVE-2022-42010
  • SECURITY UPDATE: Out-of-bounds accesses during processing of arrays made up of an integer number of items
    • debian/patches/CVE-2022-42011.patch: validate length of arrays of fixed-length items.
    • CVE-2022-42011
  • SECURITY UPDATE: Crash when message type and the pointer into its contents goes out of sync
    • debian/patches/CVE-2022-42012.patch: byte-swap Unix fd indexes if needed.
    • CVE-2022-42012
Record
CLSA-2022-1669241224
Updated
2026-11-02
OSVopenSUSE-SU-2021:1056-1 No score

Security update for dbus-1

This update for dbus-1 fixes the following issues:

  • CVE-2020-35512: Fixed a use-after-free or potential undefined behaviour caused by shared UID's (bsc#1187105)

This update was imported from the SUSE:SLE-15-SP1:Update update project.

Record
openSUSE-SU-2021:1056-1
Updated
2026-11-02
OSVopenSUSE-SU-2021:2292-1 No score

Security update for dbus-1

This update for dbus-1 fixes the following issues:

  • CVE-2020-35512: Fixed a use-after-free or potential undefined behaviour caused by shared UID's (bsc#1187105)
Record
openSUSE-SU-2021:2292-1
Updated
2026-11-02
OSVSUSE-SU-2021:2211-1 No score

Security update for dbus-1

This update for dbus-1 fixes the following issues:

  • CVE-2020-35512: Fixed a use-after-free or potential undefined behaviour caused by shared UID's (bsc#1187105)
Record
SUSE-SU-2021:2211-1
Updated
2026-11-02
OSVSUSE-SU-2021:2292-1 No score

Security update for dbus-1

This update for dbus-1 fixes the following issues:

  • CVE-2020-35512: Fixed a use-after-free or potential undefined behaviour caused by shared UID's (bsc#1187105)
Record
SUSE-SU-2021:2292-1
Updated
2026-11-02
OSVSUSE-SU-2021:2424-1 No score

Security update for dbus-1

This update for dbus-1 fixes the following issues:

  • CVE-2020-35512: users with the same numeric UID could lead to use-after-free and undefined behaviour (bsc#1187105)
  • CVE-2020-12049: truncated messages lead to resource exhaustion (bsc#1172505)
Record
SUSE-SU-2021:2424-1
Updated
2026-11-02
OSVSUSE-SU-2021:2590-1 No score

Security update for dbus-1

This update for dbus-1 fixes the following issues:

  • CVE-2020-35512: Fixed a bug where users with the same numeric UID could lead to use-after-free and undefined behaviour. (bsc#1187105)
  • CVE-2020-12049: Fixed a bug where a truncated messages lead to resource exhaustion. (bsc#1172505)
Record
SUSE-SU-2021:2590-1
Updated
2026-11-02
OSVSUSE-SU-2022:2788-1 No score

Security update for dbus-1

This update for dbus-1 fixes the following issues:

  • CVE-2020-35512: Fixed a memory safety issue which affected systems with users with the same numeric UID (bsc#1187105).
Record
SUSE-SU-2022:2788-1
Updated
2026-11-02
OSVUSN-5244-1 No score

dbus vulnerability

Daniel Onaca discovered that DBus contained a use-after-free vulnerability, caused by the incorrect handling of usernames sharing the same UID. An attacker could possibly use this issue to cause DBus to crash, resulting in a denial of service.

Record
USN-5244-1
Updated
2026-11-02
OSVUSN-5244-2 No score

dbus vulnerability

USN-5244-1 fixed a vulnerability in DBus. This update provides the corresponding update for Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.

Original advisory details:

Daniel Onaca discovered that DBus contained a use-after-free vulnerability, caused by the incorrect handling of usernames sharing the same UID. An attacker could possibly use this issue to cause DBus to crash, resulting in a denial of service.

Record
USN-5244-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
dbus
TuxCare:Ubuntu:16.04
before 1.10.6-1ubuntu3.6+tuxcare.els1
1.10.6-1ubuntu3.6+tuxcare.els1
dbus-1-doc
TuxCare:Ubuntu:16.04
before 1.10.6-1ubuntu3.6+tuxcare.els1
1.10.6-1ubuntu3.6+tuxcare.els1
dbus-tests
TuxCare:Ubuntu:16.04
before 1.10.6-1ubuntu3.6+tuxcare.els1
1.10.6-1ubuntu3.6+tuxcare.els1
dbus-user-session
TuxCare:Ubuntu:16.04
before 1.10.6-1ubuntu3.6+tuxcare.els1
1.10.6-1ubuntu3.6+tuxcare.els1
dbus-x11
TuxCare:Ubuntu:16.04
before 1.10.6-1ubuntu3.6+tuxcare.els1
1.10.6-1ubuntu3.6+tuxcare.els1
libdbus-1-3
TuxCare:Ubuntu:16.04
before 1.10.6-1ubuntu3.6+tuxcare.els1
1.10.6-1ubuntu3.6+tuxcare.els1
libdbus-1-dev
TuxCare:Ubuntu:16.04
before 1.10.6-1ubuntu3.6+tuxcare.els1
1.10.6-1ubuntu3.6+tuxcare.els1
dbus
Debian:12
before 1.12.20-1
1.12.20-1
dbus
Debian:13
before 1.12.20-1
1.12.20-1
dbus
Debian:14
before 1.12.20-1
1.12.20-1
Show 69 moreShow less
Affected packages
PackageAffectedFixed
dbus
openEuler:20.03-LTS
before 1.12.16-17.oe1
1.12.16-17.oe1
dbus
openEuler:20.03-LTS-SP1
before 1.12.16-17.oe1
1.12.16-17.oe1
dbus-1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
before 1.12.2-3.11.1
1.12.2-3.11.1
dbus-1-x11
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
before 1.12.2-3.11.1
1.12.2-3.11.1
dbus-1
SUSE:Linux Enterprise High Performance Computing 15-LTSS
before 1.12.2-3.11.1
1.12.2-3.11.1
dbus-1-x11
SUSE:Linux Enterprise High Performance Computing 15-LTSS
before 1.12.2-3.11.1
1.12.2-3.11.1
dbus-1
SUSE:Linux Enterprise Server 15-LTSS
before 1.12.2-3.11.1
1.12.2-3.11.1
dbus-1-x11
SUSE:Linux Enterprise Server 15-LTSS
before 1.12.2-3.11.1
1.12.2-3.11.1
dbus-1
SUSE:Linux Enterprise Server for SAP Applications 15
before 1.12.2-3.11.1
1.12.2-3.11.1
dbus-1-x11
SUSE:Linux Enterprise Server for SAP Applications 15
before 1.12.2-3.11.1
1.12.2-3.11.1
dbus-1
SUSE:Linux Enterprise Module for Basesystem 15 SP2
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1-x11
SUSE:Linux Enterprise Module for Basesystem 15 SP2
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1
SUSE:Linux Enterprise Module for Basesystem 15 SP3
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1-x11
SUSE:Linux Enterprise Module for Basesystem 15 SP3
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1-x11
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1-x11
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1
SUSE:Linux Enterprise Server 15 SP1-BCL
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1-x11
SUSE:Linux Enterprise Server 15 SP1-BCL
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1
SUSE:Linux Enterprise Server 15 SP1-LTSS
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1-x11
SUSE:Linux Enterprise Server 15 SP1-LTSS
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1-x11
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1
SUSE:Manager Proxy 4.0
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1-x11
SUSE:Manager Proxy 4.0
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1
SUSE:Manager Retail Branch Server 4.0
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1-x11
SUSE:Manager Retail Branch Server 4.0
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1
SUSE:Manager Server 4.0
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1-x11
SUSE:Manager Server 4.0
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1
SUSE:Linux Enterprise Micro 5.0
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1
SUSE:Enterprise Storage 6
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1-x11
SUSE:Enterprise Storage 6
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 1.8.22-35.2
1.8.22-35.2
dbus-1-x11
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 1.8.22-35.2
1.8.22-35.2
dbus-1
SUSE:Linux Enterprise Server 12 SP5
before 1.8.22-35.2
1.8.22-35.2
dbus-1-x11
SUSE:Linux Enterprise Server 12 SP5
before 1.8.22-35.2
1.8.22-35.2
dbus-1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 1.8.22-35.2
1.8.22-35.2
dbus-1-x11
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 1.8.22-35.2
1.8.22-35.2
dbus-1
SUSE:HPE Helion OpenStack 8
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1-x11
SUSE:HPE Helion OpenStack 8
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1
SUSE:OpenStack Cloud 8
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1-x11
SUSE:OpenStack Cloud 8
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1
SUSE:OpenStack Cloud 9
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1-x11
SUSE:OpenStack Cloud 9
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1
SUSE:OpenStack Cloud Crowbar 8
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1-x11
SUSE:OpenStack Cloud Crowbar 8
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1
SUSE:OpenStack Cloud Crowbar 9
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1-x11
SUSE:OpenStack Cloud Crowbar 9
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1-x11
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1-x11
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1
SUSE:Linux Enterprise Server 12 SP3-LTSS
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1-x11
SUSE:Linux Enterprise Server 12 SP3-LTSS
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1
SUSE:Linux Enterprise Server 12 SP3-BCL
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1-x11
SUSE:Linux Enterprise Server 12 SP3-BCL
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1
SUSE:Linux Enterprise Server 12 SP4-LTSS
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1-x11
SUSE:Linux Enterprise Server 12 SP4-LTSS
before 1.8.22-29.21.1
1.8.22-29.21.1
dbus-1
SUSE:Linux Enterprise Server 12 SP2-BCL
before 1.8.22-24.22.1
1.8.22-24.22.1
dbus-1-x11
SUSE:Linux Enterprise Server 12 SP2-BCL
before 1.8.22-24.22.1
1.8.22-24.22.1
dbus
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
1.6.12-0ubuntu101.6.18-0ubuntu11.6.18-0ubuntu21.6.18-0ubuntu31.6.18-0ubuntu4
Show 8 moreShow less
1.6.18-0ubuntu4.11.6.18-0ubuntu4.21.6.18-0ubuntu4.31.6.18-0ubuntu4.41.6.18-0ubuntu4.51.6.18-0ubuntu4.5+esm11.6.18-0ubuntu4.5+esm21.6.18-0ubuntu4.5+esm3
None known
dbus
Ubuntu:Pro:16.04:LTS
before 1.10.6-1ubuntu3.6+esm1, plus listed versions
1.10.0-1ubuntu11.10.4-1ubuntu21.10.6-1ubuntu11.10.6-1ubuntu21.10.6-1ubuntu3
Show 5 moreShow less
1.10.6-1ubuntu3.11.10.6-1ubuntu3.31.10.6-1ubuntu3.41.10.6-1ubuntu3.51.10.6-1ubuntu3.6
1.10.6-1ubuntu3.6+esm1
dbus
Ubuntu:18.04:LTS
before 1.12.2-1ubuntu1.3, plus listed versions
1.10.22-1ubuntu11.12.0-1ubuntu11.12.2-1ubuntu11.12.2-1ubuntu1.11.12.2-1ubuntu1.2
1.12.2-1ubuntu1.3
dbus
Ubuntu:20.04:LTS
before 1.12.16-2ubuntu2.2, plus listed versions
1.12.14-1ubuntu21.12.16-2ubuntu11.12.16-2ubuntu21.12.16-2ubuntu2.1
1.12.16-2ubuntu2.2
dbus-1
openSUSE:Leap 15.2
before 1.12.2-lp152.6.3.1
1.12.2-lp152.6.3.1
dbus-1-x11
openSUSE:Leap 15.2
before 1.12.2-lp152.6.3.1
1.12.2-lp152.6.3.1
dbus-1
openSUSE:Leap 15.3
before 1.12.2-8.6.1
1.12.2-8.6.1
dbus-1-x11
openSUSE:Leap 15.3
before 1.12.2-8.6.1
1.12.2-8.6.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-35512 is a high vulnerability (CVSS 7.8) in Freedesktop Dbus, published February 15, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.33%, the 26th percentile. Fixed in dbus 1.10.6-1ubuntu3.6+tuxcare.els1.

References

Show 20 moreShow less
MoveEnter Open