# CVE-2012-0871

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2014-04-18 · Modified: 2024-08-06
- Aliases: DEBIAN-CVE-2012-0871
- Record: https://cvemate.com/vulnerability/CVE-2012-0871 · JSON: https://cvemate.com/vulnerability/CVE-2012-0871/json

## Description

```text
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/.
```

## Signals

- CVSS: 6.3 medium (v2.0, NVD) AV:L/AC:M/Au:N/C:N/I:C/A:C
- EPSS: 0.352%, percentile 30.869%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian systemd (Debian): \< 43-1
- opensuse opensuse: 12.1
- systemd\_project systemd: ≤ 037 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 11 \| 12 \| 13 \| 14 \| 15 \| 16 \| 17 \| 18 \| 19 \| 20 \| 21 \| 22 \| 23 \| 24 \| 25 \| 26 \| 27 \| 28 \| 29 \| 30 \| 31 \| 32 \| 33 \| 34 \| 35 \| 36

## References

- <http://lists.opensuse.org/opensuse-security-announce/2012-02/msg00030.html>
- <http://cgit.freedesktop.org/systemd/systemd/commit/?id=fc3c1c6e091ea16ad5600b145201ec535bbb5d7c>
- <https://bugzilla.redhat.com/show_bug.cgi?id=795853>
- <https://bugzilla.novell.com/show_bug.cgi?id=747154>
- <http://www.osvdb.org/79768>
- <https://security-tracker.debian.org/tracker/CVE-2012-0871>

---

Data as of 2026-12-05T09:31:27.645Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
