CVE-2018-20839 json
systemd 242 changes the VT1 mode upon a logout, which allows attackers to read cleartext passwords in certain circumstances, such as watchi…
published 2019-05-17 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-13379
- cvss
- 4.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
systemd 242 changes the VT1 mode upon a logout, which allows attackers to read cleartext passwords in certain circumstances, such as watching a shutdown, or using Ctrl-Alt-F1 and Ctrl-Alt-F2. This occurs because the KDGKBMODE (aka current keyboard mode) check is mishandled.
Patch / fix
- plymouth Debian 14, Debian 13, Debian 12 0.9.4-1
debian advisories DEBIAN-CVE-2018-20839
- github.com/systemd/systemd@9725f1a commit
- github.com/systemd/systemd#12378 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-20839 updated cvss 4.3
systemd: mishandling of the current keyboard mode check leading to passwords being disclosed in cleartext to attacker
-
Red Hat Enterprise Linux 8 systemd, systemd-pam, systemd-libs, systemd-udev, systemd-tests, systemd-container, +1 moreaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 7 systemd, libgudev1, systemd-libs, systemd-sysv, systemd-python, systemd-networkd, +2 more Red Hat Enterprise Linux 9 systemd, systemd-pam, systemd-libs, systemd-oomd, systemd-udev, systemd-ukify, +6 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.48% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
References
-
github.com
/systemd/systemd/commit/9725f1a10f80f5e0ae7d9b60547458622aeb322f
patch
-
github.com
/systemd/systemd/pull/12378
issue-tracking, patch
-
bugs.launchpad.net
/ubuntu/+source/systemd/+bug/1803993
issue-tracking, third-party-advisory
-
securityfocus.com
/bid/108389
vdb-entry, broken-link, third-party-advisory
-
security.netapp.com
/advisory/ntap-20190530-0002/
third-party-advisory
-
lists.apache.org
/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
mailing-list
Sources
- CVE List CVE-2018-20839
- NVD CVE-2018-20839
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.