# CVE-2022-30333: libclamunrar9: RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack...

CVE-2022-30333 is fixed in 7 products on 1 platform, first by DEBIAN-CVE-2022-30333, released May 9, 2022. It is being exploited: CISA added it to the Known Exploited Vulnerabilities catalog on August 9, 2022, with known ransomware use. Patch Radar priority: Patch now.

- Web page: https://patchblox.com/security/cve/CVE-2022-30333
- Priority: Patch now
- CVSS: 7.5 (High)
- EPSS: 0.9923
- CISA KEV: listed Aug 9, 2022, federal due date Aug 30, 2022, known ransomware use
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 9, 2022

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libclamunrar Ubuntu 22.04.1 LTS (jammy) | 0.103.11-0ubuntu0.22.04.1 | [libclamunrar 0.103.11-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libclamunrar-0.103.11-0ubuntu0.22.04.1.md) | Aug 24, 2023 |
| Linux | libclamunrar9 Ubuntu 20.04 LTS (focal) | 0.103.11-0ubuntu0.20.04.1 | [libclamunrar9 0.103.11-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libclamunrar9-0.103.11-0ubuntu0.20.04.1.md) | Aug 24, 2023 |
| Linux | libclamunrar9 Ubuntu 22.04.1 LTS (jammy) | 0.103.11-0ubuntu0.22.04.1 | [libclamunrar9 0.103.11-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libclamunrar9-0.103.11-0ubuntu0.22.04.1.md) | Aug 24, 2023 |
| Linux | libunrar-headers Ubuntu 22.04.1 LTS (jammy) | 1:6.1.5-1ubuntu0.1 | [libunrar-headers 1:6.1.5-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libunrar-headers-1-6.1.5-1ubuntu0.1.md) | Apr 28, 2024 |
| Linux | libunrar5 Ubuntu 20.04 LTS (focal) | 1:5.6.6-2ubuntu0.1 | [libunrar5 1:5.6.6-2ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libunrar5-1-5.6.6-2ubuntu0.1.md) | Apr 28, 2024 |
| Linux | libunrar5 Ubuntu 22.04.1 LTS (jammy) | 1:6.1.5-1ubuntu0.1 | [libunrar5 1:6.1.5-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libunrar5-1-6.1.5-1ubuntu0.1.md) | Apr 28, 2024 |
| Linux | rar Debian 12.15 (bookworm) | 2:6.20~b1-0.1 | [DEBIAN-CVE-2022-30333](https://patchblox.com/security/data/fix/linux/debian-cve-2022-30333.md) | May 9, 2022 |
| Linux | rar Debian 13.5 (trixie) | 2:6.20~b1-0.1 | [DEBIAN-CVE-2022-30333](https://patchblox.com/security/data/fix/linux/debian-cve-2022-30333.md) | May 9, 2022 |
| Linux | rar Debian 14 | 2:6.20~b1-0.1 | [DEBIAN-CVE-2022-30333](https://patchblox.com/security/data/fix/linux/debian-cve-2022-30333.md) | May 9, 2022 |
| Linux | rar Ubuntu 20.04 LTS (focal) | 2:6.23-1~20.04.1 | [rar 2:6.23-1~20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-rar-2-6.23-1-20.04.1.md) | Aug 24, 2023 |
| Linux | rar Ubuntu 22.04.1 LTS (jammy) | 2:6.23-1~22.04.1 | [rar 2:6.23-1~22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-rar-2-6.23-1-22.04.1.md) | Aug 24, 2023 |
| Linux | rar Ubuntu 24.04.5 LTS (noble) | 2:6.23-1 | [rar 2:6.23-1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-rar-2-6.23-1.md) | Aug 24, 2023 |
| Linux | rar Ubuntu 24.10 (oracular) | 2:6.23-1 | [rar 2:6.23-1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-rar-2-6.23-1.md) | Aug 25, 2023 |
| Linux | rar Ubuntu 25.04 (plucky) | 2:6.23-1 | [rar 2:6.23-1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-rar-2-6.23-1.md) | Aug 25, 2023 |
| Linux | unrar Ubuntu 20.04 LTS (focal) | 1:5.6.6-2ubuntu0.1 | [unrar 1:5.6.6-2ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-unrar-1-5.6.6-2ubuntu0.1.md) | Apr 28, 2024 |
| Linux | unrar Ubuntu 22.04.1 LTS (jammy) | 1:6.1.5-1ubuntu0.1 | [unrar 1:6.1.5-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-unrar-1-6.1.5-1ubuntu0.1.md) | Apr 28, 2024 |
| Linux | unrar-nonfree Debian 12.15 (bookworm) | 1:6.1.7-1 | [DEBIAN-CVE-2022-30333](https://patchblox.com/security/data/fix/linux/debian-cve-2022-30333.md) | May 9, 2022 |
| Linux | unrar-nonfree Debian 13.5 (trixie) | 1:6.1.7-1 | [DEBIAN-CVE-2022-30333](https://patchblox.com/security/data/fix/linux/debian-cve-2022-30333.md) | May 9, 2022 |
| Linux | unrar-nonfree Debian 14 | 1:6.1.7-1 | [DEBIAN-CVE-2022-30333](https://patchblox.com/security/data/fix/linux/debian-cve-2022-30333.md) | May 9, 2022 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
