Critical
rxvt-unicode — security advisory
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.
- Products
- rxvt-unicode
- Affected versions
- 9.21-1, 9.21-1build1, 9.22-11, 9.22-1build2, 9.22-3, 9.22-6build1, 9.22-6build2, 9.22-6build3, 9.26-2, 9.30-1, 9.30-2, 9.30-2build1, 9.31-1, 9.31-2, 9.31-3, 9.31-3build1, 9.31-3build2, 9.31-3build3, 9.31-3build4, 9.31-3build5
- Fixed versions
- Not specified
- CVEs
- CVE-2022-4170
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:38 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2022-4170
rxvt-unicode
Fixed versions: Not specified
rxvt-unicode
Fixed versions: Not specified
rxvt-unicode
Fixed versions: Not specified
rxvt-unicode
Fixed versions: Not specified
rxvt-unicode
Fixed versions: Not specified
rxvt-unicode
Fixed versions: Not specified
rxvt-unicode
Fixed versions: Not specified
rxvt-unicode
Fixed versions: Not specified
Complete source record
{
"id": "3df1ebf6eb70f120cc4c93242ce830d9b55739da37dfbd7bd808c7cba41f45ba",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-4170",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2022-4170",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2022-4170",
"products": [
{
"name": {
"value": "rxvt-unicode",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.21-1",
"evidence": "/affected/0/versions"
},
{
"value": "9.21-1build1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "rxvt-unicode",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.22-1build2",
"evidence": "/affected/1/versions"
},
{
"value": "9.22-3",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "rxvt-unicode",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.22-6build1",
"evidence": "/affected/2/versions"
},
{
"value": "9.22-6build2",
"evidence": "/affected/2/versions"
},
{
"value": "9.22-6build3",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "rxvt-unicode",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.22-11",
"evidence": "/affected/3/versions"
},
{
"value": "9.26-2",
"evidence": "/affected/3/versions"
},
{
"value": "9.30-1",
"evidence": "/affected/3/versions"
},
{
"value": "9.30-2",
"evidence": "/affected/3/versions"
},
{
"value": "9.30-2build1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "rxvt-unicode",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.31-1",
"evidence": "/affected/4/versions"
},
{
"value": "9.31-2",
"evidence": "/affected/4/versions"
},
{
"value": "9.31-3",
"evidence": "/affected/4/versions"
},
{
"value": "9.31-3build1",
"evidence": "/affected/4/versions"
},
{
"value": "9.31-3build2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "rxvt-unicode",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.31-3build3",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "rxvt-unicode",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.31-3build4",
"evidence": "/affected/6/versions"
},
{
"value": "9.31-3build5",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "rxvt-unicode",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.31-3build3",
"evidence": "/affected/7/versions"
},
{
"value": "9.31-3build4",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2022-4170",
"aliases": [
"UBUNTU-CVE-2022-4170"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rxvt-unicode",
"purl": "pkg:deb/ubuntu/rxvt-unicode?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"9.21-1",
"9.21-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4170.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "rxvt-unicode",
"binary_version": "9.21-1build1"
},
{
"binary_name": "rxvt-unicode-256color",
"binary_version": "9.21-1build1"
},
{
"binary_name": "rxvt-unicode-lite",
"binary_version": "9.21-1build1"
},
{
"binary_name": "rxvt-unicode-ml",
"binary_version": "9.21-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rxvt-unicode",
"purl": "pkg:deb/ubuntu/rxvt-unicode?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"9.22-1build2",
"9.22-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4170.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "aterm",
"binary_version": "9.22-3"
},
{
"binary_name": "aterm-ml",
"binary_version": "9.22-3"
},
{
"binary_name": "rxvt",
"binary_version": "1:2.7.10-7.1+urxvt9.22-3"
},
{
"binary_name": "rxvt-ml",
"binary_version": "1:2.7.10-7.1+urxvt9.22-3"
},
{
"binary_name": "rxvt-unicode",
"binary_version": "9.22-3"
},
{
"binary_name": "rxvt-unicode-256color",
"binary_version": "9.22-3"
},
{
"binary_name": "rxvt-unicode-lite",
"binary_version": "9.22-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rxvt-unicode",
"purl": "pkg:deb/ubuntu/rxvt-unicode?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"9.22-6build1",
"9.22-6build2",
"9.22-6build3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4170.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "aterm",
"binary_version": "9.22-6build3"
},
{
"binary_name": "aterm-ml",
"binary_version": "9.22-6build3"
},
{
"binary_name": "rxvt",
"binary_version": "1:2.7.10-7.1+urxvt9.22-6build3"
},
{
"binary_name": "rxvt-ml",
"binary_version": "1:2.7.10-7.1+urxvt9.22-6build3"
},
{
"binary_name": "rxvt-unicode",
"binary_version": "9.22-6build3"
},
{
"binary_name": "rxvt-unicode-256color",
"binary_version": "9.22-6build3"
},
{
"binary_name": "rxvt-unicode-lite",
"binary_version": "9.22-6build3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rxvt-unicode",
"purl": "pkg:deb/ubuntu/rxvt-unicode?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"9.22-11",
"9.26-2",
"9.30-1",
"9.30-2",
"9.30-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4170.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "rxvt-unicode",
"binary_version": "9.30-2build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rxvt-unicode",
"purl": "pkg:deb/ubuntu/rxvt-unicode?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"9.31-1",
"9.31-2",
"9.31-3",
"9.31-3build1",
"9.31-3build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4170.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "rxvt-unicode",
"binary_version": "9.31-3build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rxvt-unicode",
"purl": "pkg:deb/ubuntu/rxvt-unicode?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"9.31-3build3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4170.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "rxvt-unicode",
"binary_version": "9.31-3build3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rxvt-unicode",
"purl": "pkg:deb/ubuntu/rxvt-unicode?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"9.31-3build4",
"9.31-3build5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4170.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "rxvt-unicode",
"binary_version": "9.31-3build5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rxvt-unicode",
"purl": "pkg:deb/ubuntu/rxvt-unicode?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"9.31-3build3",
"9.31-3build4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4170.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "rxvt-unicode",
"binary_version": "9.31-3build4"
}
]
}
}
],
"modified": "2026-10-17T12:57:15.446181331Z",
"provider": "osv",
"upstream": [
"CVE-2022-4170"
],
"references": [
"https://ubuntu.com/security/CVE-2022-4170",
"https://www.openwall.com/lists/oss-security/2022/12/05/1",
"https://www.cve.org/CVERecord?id=CVE-2022-4170"
]
},
"related_cves": [
{
"value": "CVE-2022-4170",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 357039,
"published_at": "2022-12-09T18:15:00+00:00"
}