Every CVE Search/ Get API key

CVE-2012-0871

The session_link_x11_socket function in login/logind-session.c in systemd-logind in systemd,...

6.3 MediumFix available

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

Exploit likelihood

0.35%Down 0.6 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 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/.

Record
CVE-2012-0871
CVSS 2.0
6.3 MediumAV:L/AC:M/Au:N/C:N/I:C/A:C
Weakness
CWE-59
Updated
2026-11-02
CVE List No score

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

Record
CVE-2012-0871
Updated
2026-11-02
EUVDEUVD-2012-0896 No score

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

Record
EUVD-2012-0896
Updated
2026-11-03
GitHub AdvisoriesGHSA-jv9q-v37q-34vv No score

The session_link_x11_socket function in login/logind-session.c in systemd-logind in systemd,...

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

Record
GHSA-jv9q-v37q-34vv
Weakness
CWE-59
Updated
2026-11-02
OSV No score

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

Record
CVE-2012-0871
Updated
2026-11-02
OSVDEBIAN-CVE-2012-0871 No score

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

Record
DEBIAN-CVE-2012-0871
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
systemd
Debian:12
before 43-1
43-1
systemd
Debian:13
before 43-1
43-1
systemd
Debian:14
before 43-1
43-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-2012-0871 is a medium vulnerability (CVSS 6.3) in Systemd Project Systemd, published April 18, 2014. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.35%, the 29th percentile. Fixed in systemd 43-1.

References

MoveEnter Open