{"schemaVersion":3,"id":"CVE-2022-4170","aliases":["MGASA-2022-0459","openSUSE-SU-2023:0306-1","UBUNTU-CVE-2022-4170","DEBIAN-CVE-2022-4170","openSUSE-SU-2024:13323-1"],"status":"published","duplicateOf":null,"title":null,"description":"The rxvt-unicode package is vulnerable to a remote code execution, in the Perl background extension, when an attacker can control the data written to the user's terminal and certain options are set.","dates":{"published":"2022-12-09T00:00:00.000Z","modified":"2025-04-14T18:11:13.443Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02222,"percentile":0.8245,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.07999999999999986,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02142},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02058,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02058,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02058,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02058,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02058,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02222,"percentile":0.8245}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02142,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02222,"percentile":0.8245}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","description":"The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/74.html"}],"affected":[{"vendor":"debian","product":"rxvt-unicode","name":"rxvt-unicode","label":"rxvt-unicode","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/rxvt-unicode","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 9.31-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 9.31-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rxvt-unicode","name":"rxvt-unicode","label":"rxvt-unicode","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rxvt-unicode","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"extra_packages_for_enterprise_linux","name":"extra packages for enterprise linux","label":"extra_packages_for_enterprise_linux","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0","eol":null,"hubHref":"/vendor/fedoraproject/extra_packages_for_enterprise_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"37","noFixRecorded":false,"fixedIn":null}],"versionsText":"37","eol":{"isEol":true,"eolDate":"2023-12-05T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"37","label":"37","eolFrom":"2023-12-05T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"mageia","product":"rxvt-unicode","name":"rxvt-unicode","label":"rxvt-unicode","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/rxvt-unicode","purlType":"rpm","versions":[{"text":"< 9.26-1.1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.26-1.1.mga8","eol":null,"hubHref":null},{"vendor":"opensuse","product":"rxvt-unicode&distro=openSUSE Leap 15.4","name":"rxvt-unicode","label":"rxvt-unicode&distro=openSUSE Leap 15.4","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/rxvt-unicode&distro=openSUSE Leap 15.4","purlType":"rpm","versions":[{"text":"< 9.31-bp155.3.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.31-bp155.3.3.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"rxvt-unicode&distro=openSUSE Leap 15.5","name":"rxvt-unicode","label":"rxvt-unicode&distro=openSUSE Leap 15.5","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/rxvt-unicode&distro=openSUSE Leap 15.5","purlType":"rpm","versions":[{"text":"< 9.31-bp155.3.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.31-bp155.3.3.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"rxvt-unicode&distro=openSUSE Tumbleweed","name":"rxvt-unicode","label":"rxvt-unicode&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/rxvt-unicode&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 9.31-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.31-1.1","eol":null,"hubHref":null},{"vendor":"suse","product":"rxvt-unicode&distro=SUSE Package Hub 15 SP4","name":"rxvt-unicode","label":"rxvt-unicode&distro=SUSE Package Hub 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/rxvt-unicode&distro=SUSE Package Hub 15 SP4","purlType":"rpm","versions":[{"text":"< 9.31-bp155.3.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.31-bp155.3.3.1","eol":null,"hubHref":null},{"vendor":"suse","product":"rxvt-unicode&distro=SUSE Package Hub 15 SP5","name":"rxvt-unicode","label":"rxvt-unicode&distro=SUSE Package Hub 15 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/rxvt-unicode&distro=SUSE Package Hub 15 SP5","purlType":"rpm","versions":[{"text":"< 9.31-bp155.3.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.31-bp155.3.3.1","eol":null,"hubHref":null},{"vendor":"rxvt-unicode_project","product":"rxvt-unicode","name":"rxvt-unicode","label":"rxvt-unicode","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"9.25","noFixRecorded":false,"fixedIn":null},{"text":"9.26","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.25 | 9.26","eol":null,"hubHref":"/vendor/rxvt-unicode_project/rxvt-unicode"}],"affectedCount":11,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2151597","label":"bugzilla.redhat.com/show_bug.cgi?id=2151597","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://www.openwall.com/lists/oss-security/2022/12/05/1","label":"www.openwall.com/lists/oss-security/2022/12/05/1","hostname":"www.openwall.com","tags":["WEB","REPORT","Mailing List","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202310-20","label":"security.gentoo.org/glsa/202310-20","hostname":"security.gentoo.org","tags":["Vendor Advisory","Third Party Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0459.html","label":"advisories.mageia.org/MGASA-2022-0459.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=31226","label":"bugs.mageia.org/show_bug.cgi?id=31226","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/HJFJQGRU5ZFB7SWTSO2FUE3CKDHSOPB7/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1206069","label":"bugzilla.suse.com/1206069","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2022-4170","label":"www.suse.com/security/cve/CVE-2022-4170","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2022-4170","label":"ubuntu.com/security/CVE-2022-4170","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"http://cvs.schmorp.de/rxvt-unicode/src/perl/background?r1=1.105&r2=1.109","label":"cvs.schmorp.de/rxvt-unicode/src/perl/background?r1=1.105&r2=1.109","hostname":"cvs.schmorp.de","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-4170","label":"www.cve.org/CVERecord?id=CVE-2022-4170","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-4170","label":"security-tracker.debian.org/tracker/CVE-2022-4170","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-12-09T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-14T18:11:13.443Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T11:29:17.761Z","stale":false,"partial":false}}