BreachSpiderVerified, not vibes

CVE-2012-0871 in Opensuse and 1 more product

Medium 6.3

The session_link_x11_socket function in login/logind-session.c in systemd-logind in systemd, possibly 37 and earlier, allows local users to create or overwrite arbitrary files via a symlink attack on the X11 user directory in /run/user/.

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 2.06.3
EPSS0.4%
EPSS percentile21th
FixUnknown

Requires local access, no confidentiality impact.

Affected products and versions

VendorProductAffected versions
Opensuse Opensuse 12.1
Systemd Project Systemd ≤ 037

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.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

The session_link_x11_socket function in login/logind-session.c in systemd-logind in systemd, possibly 37 and earlier, allows local users to create or overwrite arbitrary files via a symlink attack on the X11 user directory in /run/user/.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2012-0871
BreachSpider IDBS-2014-GLOBAL-090365-M
CVSS vectorAV:L/AC:M/Au:N/C:N/I:C/A:C
Published2014-04-18
Last modified2026-05-06
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-59: Improper Link Resolution Before File Access

Software follows symbolic links without verifying the target, allowing read, write, or delete of unintended files.

Related attack patterns (CAPEC)

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-59

CAPEC-76 Manipulating Web Input to File System Calls via CWE-59

CAPEC-132 Symlink Attack via CWE-59

CAPEC-17 Using Malicious Files via CWE-59

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2014. A medium severity vulnerability affects Opensuse systems (CVE-2012-0871). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: The session_link_x11_socket function in login/logind-session.c in systemd-logind in systemd, possibly 37 and earlier, allows local users to create or overwrite arbitrary files via a symlink attack on the X11 user directory in /run/user/. CVSS vector: AV:L/AC:M/Au:N/C:N/I:C/A:C.

Questions

What is CVE-2012-0871?

This vulnerability was disclosed in 2014. A medium severity vulnerability affects Opensuse systems (CVE-2012-0871). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2012-0871?

CVE-2012-0871 has CVSS 6.3 (Medium). Vector: AV:L/AC:M/Au:N/C:N/I:C/A:C. EPSS: 0.4%.

Is CVE-2012-0871 actively exploited?

No confirmed active exploitation of CVE-2012-0871 as of 2026-05-30.

How do I remediate CVE-2012-0871?

Priority: MONITOR.

What systems are affected by CVE-2012-0871?

CVE-2012-0871 affects Opensuse Opensuse; Systemd Project Systemd.

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":"Opensuse","product":"Opensuse","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-05-06.