CVE-2022-30333
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an...
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) operation, as demonstrated by creating a ~/.ssh/authorized_keys file. NOTE: WinRAR and Android RAR are unaffected.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.5
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) operation, as demonstrated by creating a ~/.ssh/authorized_keys file. NOTE: WinRAR and Android RAR are unaffected.
- Record
CVE-2022-30333- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:N - Weakness
- CWE-22, CWE-59
- Updated
- 2026-11-02
CVE List
9.8
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) operation, as demonstrated by creating a ~/.ssh/authorized_keys file. NOTE: WinRAR and Android RAR are unaffected.
- Record
CVE-2022-30333- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-59, CWE-22
- Updated
- 2026-11-02
EUVDEUVD-2022-52276
9.8
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) operation, as demonstrated by creating a ~/.ssh/authorized_keys file. NOTE: WinRAR and Android RAR are unaffected.
- Record
EUVD-2022-52276- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-h4mr-p94x-gf79
7.5
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an...
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) operation, as demonstrated by creating a ~/.ssh/authorized_keys file. NOTE: WinRAR and Android RAR are unaffected.
- Record
GHSA-h4mr-p94x-gf79- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
CISA KEV No score
RARLAB UnRAR Directory Traversal Vulnerability
RARLAB UnRAR on Linux and UNIX contains a directory traversal vulnerability, allowing an attacker to write to files during an extract (unpack) operation.
- Record
CVE-2022-30333- Weakness
- CWE-22, CWE-59
- Updated
- 2026-11-02
OSV
7.5
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) operation, as demonstrated by creating a ~/.ssh/authorized_keys file. NOTE: WinRAR and Android RAR are unaffected.
- Record
CVE-2022-30333- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
Show 7 moreShow less
OSVUBUNTU-CVE-2022-30333
9.8
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) operation, as demonstrated by creating a ~/.ssh/authorized_keys file. NOTE: WinRAR and Android RAR are unaffected.
- Record
UBUNTU-CVE-2022-30333- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-30333 No score
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) operation, as demonstrated by creating a ~/.ssh/authorized_keys file. NOTE: WinRAR and Android RAR are unaffected.
- Record
DEBIAN-CVE-2022-30333- Updated
- 2026-11-03
OSVMGASA-2022-0206 No score
Updated unrar packages fix security vulnerability
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) operation, as demonstrated by creating a ~/.ssh/authorized_keys file. (CVE-2022-30333)
- Record
MGASA-2022-0206- Updated
- 2026-11-02
OSVSUSE-SU-2022:1760-1 No score
Security update for unrar
This update for unrar fixes the following issues:
- CVE-2022-30333: Fixed directory traversal issue that allowed writing to non-designated paths (bsc#1199349).
- Record
SUSE-SU-2022:1760-1- Updated
- 2026-11-02
OSVUSN-6569-1 No score
libclamunrar vulnerabilities
it was discovered that libclamunrar incorrectly handled directories when extracting RAR archives. A remote attacker could possibly use this issue to overwrite arbitrary files and execute arbitrary code. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 23.04. (CVE-2022-30333)
It was discovered that libclamunrar incorrectly validated certain structures when extracting RAR archives. A remote attacker could possibly use this issue to execute arbitrary code. (CVE-2023-40477)
- Record
USN-6569-1- Updated
- 2026-11-02
OSVUSN-7349-1 No score
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)
- Record
USN-7349-1- Updated
- 2026-11-02
OSVUSN-7350-1 No score
unrar-nonfree vulnerabilities
It was discovered that UnRAR 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, CVE-2022-48579)
It was discovered that UnRAR 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)
Siddharth Dushantha discovered that UnRAR incorrectly handled ANSI escape sequences when writing screen output. If a user or automated system were tricked into processing a specially crafted RAR archive, a remote attacker could possibly use this issue to spoof screen output or cause a denial of service. (CVE-2024-33899)
- Record
USN-7350-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
rarDebian:12 |
before 2:6.20~b1-0.1, plus listed versions 1:3.5.1-11:3.6.0-11:3.7.1-11:3.7.1-21:3.7b1-1 Show 27 moreShow less1:3.7b1-21:3.8.0-11:3.8.0-21:3.8b2-11:3.8b2-21:3.8b3-11:3.9.b2-11:3.9.b3-12.02-22.60-12.80-22:3.9.0-12:3.9.1-12:3.9.2-12:3.9.3-12:4.0.b2-12:4.0.b3-12:4.2.0+dfsg.1-0.12:4.2.0-12:5.2.1b2-12:5.3.b2-12:5.4.0+dfsg.1-0.12:5.4.0-12:5.5.0-12:5.5.0-1.12:6.11-0.13.30-2 |
2:6.20~b1-0.1 |
rarDebian:13 |
before 2:6.20~b1-0.1, plus listed versions 1:3.5.1-11:3.6.0-11:3.7.1-11:3.7.1-21:3.7b1-1 Show 27 moreShow less1:3.7b1-21:3.8.0-11:3.8.0-21:3.8b2-11:3.8b2-21:3.8b3-11:3.9.b2-11:3.9.b3-12.02-22.60-12.80-22:3.9.0-12:3.9.1-12:3.9.2-12:3.9.3-12:4.0.b2-12:4.0.b3-12:4.2.0+dfsg.1-0.12:4.2.0-12:5.2.1b2-12:5.3.b2-12:5.4.0+dfsg.1-0.12:5.4.0-12:5.5.0-12:5.5.0-1.12:6.11-0.13.30-2 |
2:6.20~b1-0.1 |
rarDebian:14 |
before 2:6.20~b1-0.1, plus listed versions 1:3.5.1-11:3.6.0-11:3.7.1-11:3.7.1-21:3.7b1-1 Show 27 moreShow less1:3.7b1-21:3.8.0-11:3.8.0-21:3.8b2-11:3.8b2-21:3.8b3-11:3.9.b2-11:3.9.b3-12.02-22.60-12.80-22:3.9.0-12:3.9.1-12:3.9.2-12:3.9.3-12:4.0.b2-12:4.0.b3-12:4.2.0+dfsg.1-0.12:4.2.0-12:5.2.1b2-12:5.3.b2-12:5.4.0+dfsg.1-0.12:5.4.0-12:5.5.0-12:5.5.0-1.12:6.11-0.13.30-2 |
2:6.20~b1-0.1 |
unrar-nonfreeDebian:12 |
before 1:6.1.7-1, plus listed versions 1:3.5.2-0.11:3.5.2-0.21:3.5.4-0.11:3.5.4-11:3.5.4-1.1 Show 45 moreShow less1:3.7.2-11:3.7.3-11:3.7.3-1.11:3.7.8-11:3.7.8-21:3.8.2-11:3.8.4-11:3.8.5-11:3.8.5-21:3.9.10-11:3.9.3-11:3.9.5-11:3.9.6-11:3.9.7-11:3.9.9-11:4.0.2-11:4.0.3-11:4.1.4-11:4.2.4-0.11:4.2.4-0.21:4.2.4-0.31:5.0.10-11:5.2.5-11:5.2.7-0.11:5.3.2-11:5.4.5-11:5.5.5-11:5.5.8-11:5.6.6-11:5.6.6-21:5.9.4-11:6.0.3-11:6.0.4-11:6.0.4-21:6.0.5-11:6.0.6-11:6.0.7-11:6.0.7-21:6.0.7-31:6.0.7-41:6.0.7-51:6.0.7-61:6.1.2-11:6.1.3-11:6.1.3-2 |
1:6.1.7-1 |
unrar-nonfreeDebian:13 |
before 1:6.1.7-1, plus listed versions 1:3.5.2-0.11:3.5.2-0.21:3.5.4-0.11:3.5.4-11:3.5.4-1.1 Show 45 moreShow less1:3.7.2-11:3.7.3-11:3.7.3-1.11:3.7.8-11:3.7.8-21:3.8.2-11:3.8.4-11:3.8.5-11:3.8.5-21:3.9.10-11:3.9.3-11:3.9.5-11:3.9.6-11:3.9.7-11:3.9.9-11:4.0.2-11:4.0.3-11:4.1.4-11:4.2.4-0.11:4.2.4-0.21:4.2.4-0.31:5.0.10-11:5.2.5-11:5.2.7-0.11:5.3.2-11:5.4.5-11:5.5.5-11:5.5.8-11:5.6.6-11:5.6.6-21:5.9.4-11:6.0.3-11:6.0.4-11:6.0.4-21:6.0.5-11:6.0.6-11:6.0.7-11:6.0.7-21:6.0.7-31:6.0.7-41:6.0.7-51:6.0.7-61:6.1.2-11:6.1.3-11:6.1.3-2 |
1:6.1.7-1 |
unrar-nonfreeDebian:14 |
before 1:6.1.7-1, plus listed versions 1:3.5.2-0.11:3.5.2-0.21:3.5.4-0.11:3.5.4-11:3.5.4-1.1 Show 45 moreShow less1:3.7.2-11:3.7.3-11:3.7.3-1.11:3.7.8-11:3.7.8-21:3.8.2-11:3.8.4-11:3.8.5-11:3.8.5-21:3.9.10-11:3.9.3-11:3.9.5-11:3.9.6-11:3.9.7-11:3.9.9-11:4.0.2-11:4.0.3-11:4.1.4-11:4.2.4-0.11:4.2.4-0.21:4.2.4-0.31:5.0.10-11:5.2.5-11:5.2.7-0.11:5.3.2-11:5.4.5-11:5.5.5-11:5.5.8-11:5.6.6-11:5.6.6-21:5.9.4-11:6.0.3-11:6.0.4-11:6.0.4-21:6.0.5-11:6.0.6-11:6.0.7-11:6.0.7-21:6.0.7-31:6.0.7-41:6.0.7-51:6.0.7-61:6.1.2-11:6.1.3-11:6.1.3-2 |
1:6.1.7-1 |
rarDebian:10 |
before 2:6.20-0.1~deb10u1, plus listed versions 1:3.5.1-11:3.6.0-11:3.7.1-11:3.7.1-21:3.7b1-1 Show 28 moreShow less1:3.7b1-21:3.8.0-11:3.8.0-21:3.8b2-11:3.8b2-21:3.8b3-11:3.9.b2-11:3.9.b3-12.02-22.60-12.80-22:3.9.0-12:3.9.1-12:3.9.2-12:3.9.3-12:4.0.b2-12:4.0.b3-12:4.2.0+dfsg.1-0.12:4.2.0-12:5.2.1b2-12:5.3.b2-12:5.4.0+dfsg.1-0.12:5.4.0-12:5.5.0-12:5.5.0-1.12:6.11-0.12:6.20~b1-0.13.30-2 |
2:6.20-0.1~deb10u1 |
unrarMageia:8 |
before 6.00-3.1.mga8.nonfree | 6.00-3.1.mga8.nonfree |
unrarSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 5.6.1-4.8.1 | 5.6.1-4.8.1 |
unrarSUSE:Linux Enterprise Server 12 SP5 |
before 5.6.1-4.8.1 | 5.6.1-4.8.1 |
Show 14 moreShow less
| Package | Affected | Fixed |
|---|---|---|
unrarSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 5.6.1-4.8.1 | 5.6.1-4.8.1 |
libclamunrarUbuntu:16.04:LTS |
All versions, plus listed versions 0.98.5-10.99-10.99-1ubuntu0.10.100.1-1~ubuntu0.16.04.10.101.2-1~ubuntu0.16.04.1 |
None known |
rarUbuntu:16.04:LTS |
All versions, plus listed versions 2:5.3.b2-1 |
None known |
unrar-nonfreeUbuntu:16.04:LTS |
All versions, plus listed versions 1:5.3.2-11:5.3.2-1+deb9u1build0.16.04.1 |
None known |
libclamunrarUbuntu:18.04:LTS |
All versions, plus listed versions 0.99-4ubuntu10.100.1-1~ubuntu0.18.04.10.101.2-1~ubuntu0.18.04.1 |
None known |
rarUbuntu:18.04:LTS |
All versions, plus listed versions 2:5.4.0+dfsg.1-0.12:5.5.0-1 |
None known |
unrar-nonfreeUbuntu:18.04:LTS |
All versions, plus listed versions 1:5.5.8-1 |
None known |
libclamunrarUbuntu:20.04:LTS |
before 0.103.11-0ubuntu0.20.04.1, plus listed versions 0.101.2-10.101.2-1build1 |
0.103.11-0ubuntu0.20.04.1 |
rarUbuntu:20.04:LTS |
before 2:6.23-1~20.04.1, plus listed versions 2:5.5.0-12:5.5.0-1build1 |
2:6.23-1~20.04.1 |
unrar-nonfreeUbuntu:20.04:LTS |
before 1:5.6.6-2ubuntu0.1, plus listed versions 1:5.6.6-21:5.6.6-2build1 |
1:5.6.6-2ubuntu0.1 |
libclamunrarUbuntu:22.04:LTS |
before 0.103.11-0ubuntu0.22.04.1, plus listed versions 0.102.3-3 |
0.103.11-0ubuntu0.22.04.1 |
rarUbuntu:22.04:LTS |
before 2:6.23-1~22.04.1, plus listed versions 2:5.5.0-1build12:5.5.0-1.1 |
2:6.23-1~22.04.1 |
unrar-nonfreeUbuntu:22.04:LTS |
before 1:6.1.5-1ubuntu0.1, plus listed versions 1:6.0.5-11:6.0.7-61:6.1.2-11:6.1.3-11:6.1.3-21:6.1.4-11:6.1.5-1 |
1:6.1.5-1ubuntu0.1 |
rarUbuntu:24.04:LTS |
before 2:6.23-1 | 2:6.23-1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Metasploit | UnRAR Path Traversal (CVE-2022-30333) | 2022-06-28 |
| Metasploit | UnRAR Path Traversal in Zimbra (CVE-2022-30333) | 2022-06-28 |
| PoC in GitHub | TheL1ghtVn/CVE-2022-30333-PoC | 2022-07-05 |
| PoC in GitHub | rbowes-r7/unrar-cve-2022-30333-poc | 2022-07-15 |
| PoC in GitHub | aslitsecurity/Zimbra-CVE-2022-30333 | 2022-07-26 |
| PoC in GitHub | RakhithJK/CVE-2022-30333 | 2022-08-15 |
| PoC in GitHub | paradox0909/cve-2022-30333_online_rar_extracor | 2024-06-10 |
History
| Recorded | Changed | Sources |
|---|---|---|
| exploitation | ||
| exploits | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, CISA KEV, Metasploit, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-30333 is a high vulnerability (CVSS 7.5) in Debian Linux, published May 9, 2022. CISA lists it as known to be exploited, since August 9, 2022. EUVD reports exploitation since August 9, 2022. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 99.2%, the 99th percentile. Fixed in rar 2:6.20~b1-0.1.
References
rarlab.com/rar_add.htm
rarlab.com/rar/rarlinux-x32-612.tar.gz
blog.sonarsource.com/zimbra-pre-auth-rce-via-unrar-0day
packetstormsecurity.com/files/167989/Zimbra-UnRAR-Path-Traversal.html
lists.debian.org/debian-lts-announce/2023/08/msg00022.html
security.gentoo.org/glsa/202309-04
Show 20 moreShow less
cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-30333
nvd.nist.gov/vuln/detail/CVE-2022-30333
github.com/advisories/GHSA-h4mr-p94x-gf79
security-tracker.debian.org/tracker/CVE-2022-30333
advisories.mageia.org/MGASA-2022-0206.html
bugs.mageia.org/show_bug.cgi?id=30453
suse.com/security/cve/CVE-2022-30333.html
suse.com/support/update/announcement/2022/suse-su-20221760-1
bugzilla.suse.com/1199349
suse.com/security/cve/CVE-2022-30333
ubuntu.com/security/CVE-2022-30333
github.com/debian-calibre/unrar-nonfree/compare/upstream/6.1.6...upstream/6.1.7
ubuntu.com/security/notices/USN-6569-1
cve.org/CVERecord?id=CVE-2022-30333
cisa.gov/known-exploited-vulnerabilities-catalog
ubuntu.com/security/notices/USN-7349-1
ubuntu.com/security/notices/USN-7350-1
ubuntu.com/security/CVE-2023-40477
ubuntu.com/security/CVE-2022-48579
ubuntu.com/security/CVE-2024-33899
Left out here: 24 versions. The JSON record has them.