rar vulnerabilities
It was discovered that RAR incorrectly handled certain paths. If a user or automated system were tricked into extracting a specially crafted RAR archive, a remote attacker could possibly use this issue to write arbitrary files outside of the targeted directory. (CVE-2022-30333) It was discovered that RAR incorrectly handled certain recovery volumes. If a user or automated system were tricked into extracting a specially crafted RAR archive, a remote attacker could possibly use this issue to execute arbitrary code. (CVE-2023-40477)
- Products
- rar
- Affected versions
- 2:5.5.0-1, 2:5.5.0-1.1, 2:5.5.0-1build1
- Fixed versions
- 2:6.23-1~20.04.1, 2:6.23-1~22.04.1
- CVEs
- CVE-2022-30333, CVE-2023-40477
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:14 UTC · Revision 1
Source evidence
It was discovered that RAR incorrectly handled certain paths. If a user or automated system were tricked into extracting a specially crafted RAR archive, a remote attacker could possibly use this issue to write arbitrary files outside of the targeted directory. (CVE-2022-30333) It was discovered that RAR incorrectly handled certain recovery volumes. If a user or automated system were tricked into extracting a specially crafted RAR archive, a remote attacker could possibly use this issue to execute arbitrary code. (CVE-2023-40477)
osv:USN-7349-1
rar
Fixed versions: 2:6.23-1~20.04.1
rar
Fixed versions: 2:6.23-1~22.04.1
Complete source record
{
"id": "6cffc135c9f637d2624f8e47880fbbb99c6faf102bb213dce93ede773806dfdf",
"url": "https://osv.dev/vulnerability/USN-7349-1",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "rar vulnerabilities",
"summary": "It was discovered that RAR incorrectly handled certain paths. If a user or automated system were tricked into extracting a specially crafted RAR archive, a remote attacker could possibly use this issue to write arbitrary files outside of the targeted directory. (CVE-2022-30333) It was discovered that RAR incorrectly handled certain recovery volumes. If a user or automated system were tricked into extracting a specially crafted RAR archive, a remote attacker could possibly use this issue to execute arbitrary code. (CVE-2023-40477)",
"evidence": "osv:USN-7349-1",
"products": [
{
"name": {
"value": "rar",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:6.23-1~20.04.1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "2:5.5.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "2:5.5.0-1build1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "rar",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:6.23-1~22.04.1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "2:5.5.0-1build1",
"evidence": "/affected/1/versions"
},
{
"value": "2:5.5.0-1.1",
"evidence": "/affected/1/versions"
}
]
}
],
"severity": "unknown",
"structured": {
"id": "USN-7349-1",
"aliases": [
"USN-7349-1"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:6.23-1~20.04.1"
}
]
}
],
"package": {
"name": "rar",
"purl": "pkg:deb/ubuntu/rar?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"2:5.5.0-1",
"2:5.5.0-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7349-1.json",
"cves_map": {
"cves": [
{
"id": "CVE-2022-30333",
"severity": [
{
"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:N/I:H/A:N"
},
{
"type": "Ubuntu",
"score": "high"
}
]
},
{
"id": "CVE-2023-40477",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
],
"ecosystem": "Ubuntu:20.04:LTS"
}
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "rar",
"binary_version": "2:6.23-1~20.04.1"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:6.23-1~22.04.1"
}
]
}
],
"package": {
"name": "rar",
"purl": "pkg:deb/ubuntu/rar?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"2:5.5.0-1build1",
"2:5.5.0-1.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7349-1.json",
"cves_map": {
"cves": [
{
"id": "CVE-2022-30333",
"severity": [
{
"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:N/I:H/A:N"
},
{
"type": "Ubuntu",
"score": "high"
}
]
},
{
"id": "CVE-2023-40477",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
],
"ecosystem": "Ubuntu:22.04:LTS"
}
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "rar",
"binary_version": "2:6.23-1~22.04.1"
}
],
"availability": "No subscription required"
}
}
],
"modified": "2026-10-27T04:15:47.132136662Z",
"provider": "osv",
"upstream": [
"CVE-2022-30333",
"CVE-2023-40477",
"UBUNTU-CVE-2022-30333",
"UBUNTU-CVE-2023-40477"
],
"references": [
"https://ubuntu.com/security/notices/USN-7349-1",
"https://ubuntu.com/security/CVE-2022-30333",
"https://ubuntu.com/security/CVE-2023-40477"
]
},
"related_cves": [
{
"value": "CVE-2022-30333",
"evidence": "/upstream"
},
{
"value": "CVE-2023-40477",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 460178,
"published_at": "2025-03-12T16:11:59+00:00"
}