# CVE-2021-34557: XScreenSaver 5.45 can be bypassed if the machine has more than ten disconnectable video outputs.

- Severity: Medium 4.6 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2021-06-10T15:54:35.000Z
- Modified: 2026-06-17T03:56:07.123Z
- Weaknesses: CWE-120
- Assigned by: mitre

## Description

XScreenSaver 5.45 can be bypassed if the machine has more than ten disconnectable video outputs. A buffer overflow in update_screen_layout() allows an attacker to bypass the standard screen lock authentication mechanism by crashing XScreenSaver. The attacker must physically disconnect many video outputs.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- xscreensaver_project xscreensaver: 5.45
- fedoraproject fedora: 33

## Every score

- NVD: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://www.openwall.com/lists/oss-security/2021/06/05/1> (exploit, mailing-list, third-party-advisory)
- <https://github.com/QubesOS/qubes-secpack/blob/master/QSBs/qsb-068-2021.txt> (exploit, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2021/07/06/2> (exploit, mailing-list, third-party-advisory)
- <https://github.com/QubesOS/qubes-issues/issues/6595> (issue-tracking, third-party-advisory)
- <https://github.com/QubesOS/qubes-xscreensaver/blob/master/0001-Fix-updating-outputs-info.patch> (patch, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2021/06/11/1> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TC4QB7TRS4GS7LDXQQ4PC6J3LVFJYISV/> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-34557](https://www.cve.org/CVERecord?id=CVE-2021-34557), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-34557](https://nvd.nist.gov/vuln/detail/CVE-2021-34557), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-34557 · Whole record: https://cve.day/CVE-2021-34557.json · Rebuilt by cve.day 2026-11-25T22:58:01.778Z
