CVE-2012-3524

medium
Published 2012-09-18 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.9

Description

libdbus 1.5.x and earlier, when used in setuid or other privileged programs in X.org and possibly other products, allows local users to gain privileges and execute arbitrary code via the DBUS_SYSTEM_BUS_ADDRESS environment variable. NOTE: libdbus maintainers state that this is a vulnerability in the applications that do not cleanse environment variables, not in libdbus itself: "we do not support use of libdbus in setuid binaries that do not sanitize their environment before their first call into libdbus."

Predictions

Exploit likelihood
55%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-21323 local linux
Sebastian Krahmer ยท 2012-07-17

libdbus - 'DBUS_SYSTEM_BUS_ADDRESS' Local Privilege Escalation

Source code queued for fetch โ€” refresh in a moment.

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 1.6.8-1
sid Fixed 1.6.8-1
forky Fixed 1.6.8-1
bullseye Fixed 1.6.8-1
bookworm Fixed 1.6.8-1

Application impact

VendorProductVersionsFixed
freedesktoplibdbus{"endIncluding":"1.5.12"}
freedesktoplibdbus1.5.0
freedesktoplibdbus1.5.2
freedesktoplibdbus1.5.4
freedesktoplibdbus1.5.6
freedesktoplibdbus1.5.8
freedesktoplibdbus1.5.10

References

CWEs

CWE-264

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.