CVE-2012-0871

CVE-2012-0871 is a medium-severity vulnerability in Systemd Project Systemd with a CVSS 2.0 base score of 6.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-59.

Key facts

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

Frequently asked questions

What is CVE-2012-0871?
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/.
How severe is CVE-2012-0871?
CVE-2012-0871 has a CVSS 2.0 base score of 6.3, rated medium severity.
Is CVE-2012-0871 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (28th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2012-0871?
CVE-2012-0871 primarily affects Systemd Project Systemd. In total, 38 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2012-0871?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2012-0871 published?
CVE-2012-0871 was published on 2014-04-18 and last updated on 2026-06-16.

References

Affected products (38)

More vulnerabilities in Systemd Project Systemd

All CVEs affecting Systemd Project Systemd →

Other CWE-59 (Improper Link Resolution Before File Access (Link Following)) vulnerabilities

Browse all CWE-59 (Improper Link Resolution Before File Access (Link Following)) vulnerabilities →