CVE-2012-3524 in Freedesktop Libdbus
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 th...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Freedesktop | Libdbus | ≤ 1.5.12 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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."
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2012-3524 |
|---|---|
| BreachSpider ID | BS-2012-GLOBAL-158558-M |
| CVSS vector | AV:L/AC:M/Au:N/C:C/I:C/A:C |
| Published | 2012-09-18 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-264: Permissions, Privileges, and Access Controls
Broad class covering failures in permission enforcement. Deprecated in favor of CWE-284, CWE-862, CWE-863.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2012. A medium severity vulnerability affects Freedesktop systems (CVE-2012-3524). Public exploit code is available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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 int CVSS vector: AV:L/AC:M/Au:N/C:C/I:C/A:C.
Questions
What is CVE-2012-3524?
This vulnerability was disclosed in 2012. A medium severity vulnerability affects Freedesktop systems (CVE-2012-3524). Public exploit code is available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2012-3524?
CVE-2012-3524 has CVSS 6.9 (Medium). Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C. EPSS: 4.5%.
Is CVE-2012-3524 actively exploited?
Public exploit available for CVE-2012-3524. Exploitation risk elevated.
How do I remediate CVE-2012-3524?
Priority: MONITOR. PSIRT: [email protected]
What systems are affected by CVE-2012-3524?
CVE-2012-3524 affects Freedesktop Libdbus.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Freedesktop","product":"Libdbus","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.