{"api_version":"1","generated_at":"2026-07-24T02:46:39+00:00","cve":"CVE-2021-34557","urls":{"html":"https://cve.report/CVE-2021-34557","api":"https://cve.report/api/cve/CVE-2021-34557.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-34557","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-34557"},"summary":{"title":"CVE-2021-34557","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-06-10 16:15:00","updated_at":"2023-11-07 03:36:00"},"problem_types":["CWE-120"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TC4QB7TRS4GS7LDXQQ4PC6J3LVFJYISV/","name":"FEDORA-2021-5af4452ffd","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: xscreensaver-5.45-2.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/QubesOS/qubes-xscreensaver/blob/master/0001-Fix-updating-outputs-info.patch","name":"https://github.com/QubesOS/qubes-xscreensaver/blob/master/0001-Fix-updating-outputs-info.patch","refsource":"MISC","tags":[],"title":"qubes-xscreensaver/0001-Fix-updating-outputs-info.patch at master · QubesOS/qubes-xscreensaver · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2021/06/11/1","name":"[oss-security] 20210611 Re: XScreenSaver 5.45: Disconnecting a video output can cause XScreenSaver to crash and unlock","refsource":"MLIST","tags":[],"title":"oss-security - Re: XScreenSaver 5.45: Disconnecting a video output can cause\n XScreenSaver to crash and unlock","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.openwall.com/lists/oss-security/2021/06/05/1","name":"https://www.openwall.com/lists/oss-security/2021/06/05/1","refsource":"MISC","tags":[],"title":"oss-security - XScreenSaver 5.45: Disconnecting a video output can cause\n XScreenSaver to crash and unlock","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2021/07/06/2","name":"[oss-security] 20210706 xscreensaver 5.45 crash","refsource":"MLIST","tags":[],"title":"oss-security - xscreensaver 5.45 crash","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/QubesOS/qubes-issues/issues/6595","name":"https://github.com/QubesOS/qubes-issues/issues/6595","refsource":"MISC","tags":[],"title":"Xscreensaver dies unexpectedly, cannot lock screen  · Issue #6595 · QubesOS/qubes-issues · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/QubesOS/qubes-secpack/blob/master/QSBs/qsb-068-2021.txt","name":"https://github.com/QubesOS/qubes-secpack/blob/master/QSBs/qsb-068-2021.txt","refsource":"MISC","tags":[],"title":"qubes-secpack/qsb-068-2021.txt at master · QubesOS/qubes-secpack · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TC4QB7TRS4GS7LDXQQ4PC6J3LVFJYISV/","name":"FEDORA-2021-5af4452ffd","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: xscreensaver-5.45-2.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-34557","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-34557","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"34557","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"34557","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"xscreensaver_project","cpe5":"xscreensaver","cpe6":"5.45","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-34557","qid":"179496","title":"Debian Security Update for xscreensaver (CVE-2021-34557)"},{"cve":"CVE-2021-34557","qid":"281823","title":"Fedora Security Update for xscreensaver (FEDORA-2021-5af4452ffd)"},{"cve":"CVE-2021-34557","qid":"502403","title":"Alpine Linux Security Update for xscreensaver"},{"cve":"CVE-2021-34557","qid":"752425","title":"SUSE Enterprise Linux Security Update for xscreensaver (SUSE-SU-2022:2641-1)"},{"cve":"CVE-2021-34557","qid":"752428","title":"SUSE Enterprise Linux Security Update for xscreensaver (SUSE-SU-2022:2642-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-34557","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/QubesOS/qubes-issues/issues/6595","refsource":"MISC","name":"https://github.com/QubesOS/qubes-issues/issues/6595"},{"url":"https://www.openwall.com/lists/oss-security/2021/06/05/1","refsource":"MISC","name":"https://www.openwall.com/lists/oss-security/2021/06/05/1"},{"url":"https://github.com/QubesOS/qubes-secpack/blob/master/QSBs/qsb-068-2021.txt","refsource":"MISC","name":"https://github.com/QubesOS/qubes-secpack/blob/master/QSBs/qsb-068-2021.txt"},{"url":"https://github.com/QubesOS/qubes-xscreensaver/blob/master/0001-Fix-updating-outputs-info.patch","refsource":"MISC","name":"https://github.com/QubesOS/qubes-xscreensaver/blob/master/0001-Fix-updating-outputs-info.patch"},{"refsource":"MLIST","name":"[oss-security] 20210611 Re: XScreenSaver 5.45: Disconnecting a video output can cause XScreenSaver to crash and unlock","url":"http://www.openwall.com/lists/oss-security/2021/06/11/1"},{"refsource":"MLIST","name":"[oss-security] 20210706 xscreensaver 5.45 crash","url":"http://www.openwall.com/lists/oss-security/2021/07/06/2"},{"refsource":"FEDORA","name":"FEDORA-2021-5af4452ffd","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TC4QB7TRS4GS7LDXQQ4PC6J3LVFJYISV/"}]}},"nvd":{"publishedDate":"2021-06-10 16:15:00","lastModifiedDate":"2023-11-07 03:36:00","problem_types":["CWE-120"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"PHYSICAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":4.6,"baseSeverity":"MEDIUM"},"exploitabilityScore":0.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:N/A:P","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":2.1},"severity":"LOW","exploitabilityScore":3.9,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:xscreensaver_project:xscreensaver:5.45:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"34557","Ordinal":"210017","Title":"CVE-2021-34557","CVE":"CVE-2021-34557","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"34557","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"34557","Ordinal":"2","NoteData":"2021-06-10","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"34557","Ordinal":"3","NoteData":"2021-08-18","Type":"Other","Title":"Modified"}]}}}