
CVE catalog
CVE-2023-40477
rar: CVE-2023-40477
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 11.38% · Oct 25, 2026
RARLAB WinRAR Recovery Volume Improper Validation of Array Index Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of RARLAB WinRAR. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the processing of recovery volumes. The issue results from the lack of proper validation of user-supplied data, which can result in a memory access past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-21233.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rar | sid | 2:7.23-1 | fixed |
| Debian | rar | forky | 2:7.23-1 | fixed |
| Debian | rar | trixie | 2:7.11-1 | fixed |
| Debian | rar | bookworm | 2:7.01-1~deb12u1 | fixed |
| Debian | libclamunrar | sid | 1.4.4-1 | fixed |
| Debian | libclamunrar | forky | 1.4.4-1 | fixed |
| Debian | libclamunrar | trixie | 1.3.1-1 | fixed |
| Debian | libclamunrar | bookworm | 1.3.1-1~deb12u1 | fixed |
| Debian | unrar-nonfree | sid | 1:7.3.1-1 | fixed |
| Debian | unrar-nonfree | forky | 1:7.3.1-1 | fixed |
| Debian | unrar-nonfree | trixie | 1:7.1.8-1 | fixed |
| Debian | unrar-nonfree | bookworm | 1:6.2.6-1+deb12u1 | fixed |
| Ubuntu | libclamunrar | 16.04 | 0.98.5-1 | vulnerable |
| Ubuntu | libclamunrar | 16.04 | 0.99-1 | vulnerable |
| Ubuntu | libclamunrar | 16.04 | 0.99-1ubuntu0.1 | vulnerable |
| Ubuntu | libclamunrar | 16.04 | 0.100.1-1~ubuntu0.16.04.1 | vulnerable |
| Ubuntu | libclamunrar | 16.04 | 0.101.2-1~ubuntu0.16.04.1 | vulnerable |
| Ubuntu | rar | 16.04 | 2:5.3.b2-1 | vulnerable |
| Ubuntu | unrar-nonfree | 16.04 | 1:5.3.2-1 | vulnerable |
| Ubuntu | unrar-nonfree | 16.04 | 1:5.3.2-1+deb9u1build0.16.04.1 | vulnerable |
| Ubuntu | libclamunrar | 18.04 | 0.99-4ubuntu1 | vulnerable |
| Ubuntu | libclamunrar | 18.04 | 0.100.1-1~ubuntu0.18.04.1 | vulnerable |
| Ubuntu | libclamunrar | 18.04 | 0.101.2-1~ubuntu0.18.04.1 | vulnerable |
| Ubuntu | rar | 18.04 | 2:5.4.0+dfsg.1-0.1 | vulnerable |
| Ubuntu | rar | 18.04 | 2:5.5.0-1 | vulnerable |
| Ubuntu | unrar-nonfree | 18.04 | 1:5.5.8-1 | vulnerable |
| Ubuntu | libclamunrar | 20.04 | 0.101.2-1 | vulnerable |
| Ubuntu | libclamunrar | 20.04 | 0.101.2-1build1 | vulnerable |
| Ubuntu | libclamunrar | 20.04 | 0.103.11-0ubuntu0.20.04.1 | fixed |
| Ubuntu | rar | 20.04 | 2:5.5.0-1 | vulnerable |
| Ubuntu | rar | 20.04 | 2:5.5.0-1build1 | vulnerable |
| Ubuntu | rar | 20.04 | 2:6.23-1~20.04.1 | fixed |
| Ubuntu | unrar-nonfree | 20.04 | 1:5.6.6-2 | vulnerable |
| Ubuntu | unrar-nonfree | 20.04 | 1:5.6.6-2build1 | vulnerable |
| Ubuntu | unrar-nonfree | 20.04 | 1:5.6.6-2ubuntu0.1 | fixed |
| Ubuntu | libclamunrar | 22.04 | 0.102.3-3 | vulnerable |
| Ubuntu | libclamunrar | 22.04 | 0.103.11-0ubuntu0.22.04.1 | fixed |
| Ubuntu | rar | 22.04 | 2:5.5.0-1build1 | vulnerable |
| Ubuntu | rar | 22.04 | 2:5.5.0-1.1 | vulnerable |
| Ubuntu | rar | 22.04 | 2:6.23-1~22.04.1 | fixed |
| Ubuntu | unrar-nonfree | 22.04 | 1:6.0.5-1 | vulnerable |
| Ubuntu | unrar-nonfree | 22.04 | 1:6.0.7-6 | vulnerable |
| Ubuntu | unrar-nonfree | 22.04 | 1:6.1.2-1 | vulnerable |
| Ubuntu | unrar-nonfree | 22.04 | 1:6.1.3-1 | vulnerable |
| Ubuntu | unrar-nonfree | 22.04 | 1:6.1.3-2 | vulnerable |
| Ubuntu | unrar-nonfree | 22.04 | 1:6.1.4-1 | vulnerable |
| Ubuntu | unrar-nonfree | 22.04 | 1:6.1.5-1 | vulnerable |
| Ubuntu | unrar-nonfree | 22.04 | 1:6.1.5-1ubuntu0.1 | fixed |
| Ubuntu | rar | 24.04 | 2:6.23-1 | fixed |
| Suse | clamav | linux enterprise server 12 sp5 | 0.103.11-3.30.1 | fixed |
| Suse | clamav | linux enterprise server for sap applications 12 sp5 | 0.103.11-3.30.1 | fixed |
| Suse | clamav | linux enterprise module for basesystem 15 sp4 | 0.103.11-150000.3.50.1 | fixed |
| Suse | clamav | linux enterprise module for basesystem 15 sp5 | 0.103.11-150000.3.50.1 | fixed |
| Suse | clamav | linux enterprise high performance computing 15 sp1-ltss | 0.103.11-150000.3.50.1 | fixed |
| Suse | clamav | linux enterprise high performance computing 15 sp2-ltss | 0.103.11-150000.3.50.1 | fixed |
| Suse | clamav | linux enterprise high performance computing 15 sp3-espos | 0.103.11-150000.3.50.1 | fixed |
| Suse | clamav | linux enterprise high performance computing 15 sp3-ltss | 0.103.11-150000.3.50.1 | fixed |
| Suse | clamav | linux enterprise server 15 sp1-ltss | 0.103.11-150000.3.50.1 | fixed |
| Suse | clamav | linux enterprise server 15 sp2-ltss | 0.103.11-150000.3.50.1 | fixed |
| Suse | clamav | linux enterprise server 15 sp3-ltss | 0.103.11-150000.3.50.1 | fixed |
| Suse | clamav | linux enterprise server for sap applications 15 sp1 | 0.103.11-150000.3.50.1 | fixed |
| Suse | clamav | linux enterprise server for sap applications 15 sp2 | 0.103.11-150000.3.50.1 | fixed |
| Suse | clamav | linux enterprise server for sap applications 15 sp3 | 0.103.11-150000.3.50.1 | fixed |
| Suse | clamav | manager proxy 4.2 | 0.103.11-150000.3.50.1 | fixed |
| Suse | clamav | manager server 4.2 | 0.103.11-150000.3.50.1 | fixed |
| Suse | clamav | enterprise storage 7.1 | 0.103.11-150000.3.50.1 | fixed |
| Opensuse | clamav | leap 15.4 | 0.103.11-150000.3.50.1 | fixed |
| Opensuse | clamav | leap 15.5 | 0.103.11-150000.3.50.1 | fixed |
| Opensuse | clamav | tumbleweed | 0.103.11-2.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rar | source | sid | 2:6.23-1 | not yet assigned | Not reported | Not reported |
| Debian | rar | source | forky | 2:6.23-1 | not yet assigned | Not reported | Not reported |
| Debian | rar | source | trixie | 2:6.23-1 | not yet assigned | Not reported | Not reported |
| Debian | rar | source | bookworm | 2:6.23-1~deb12u1 | not yet assigned | Not reported | Not reported |
| Debian | libclamunrar | source | sid | 1.0.3-1 | not yet assigned | Not reported | Not reported |
| Debian | libclamunrar | source | forky | 1.0.3-1 | not yet assigned | Not reported | Not reported |
| Debian | libclamunrar | source | trixie | 1.0.3-1 | not yet assigned | Not reported | Not reported |
| Debian | libclamunrar | source | bookworm | 1.0.3-1~deb12u1 | not yet assigned | Not reported | Not reported |
| Debian | unrar-nonfree | source | sid | 1:6.2.10-1 | not yet assigned | Not reported | Not reported |
| Debian | unrar-nonfree | source | forky | 1:6.2.10-1 | not yet assigned | Not reported | Not reported |
| Debian | unrar-nonfree | source | trixie | 1:6.2.10-1 | not yet assigned | Not reported | Not reported |
| Debian | unrar-nonfree | source | bookworm | 1:6.2.6-1+deb12u1 | not yet assigned | Not reported | Not reported |
| Ubuntu | libclamunrar | deb | 20.04 | 0.103.11-0ubuntu0.20.04.1 | Not reported | UBUNTU-CVE-2023-40477 | Not reported |
| Ubuntu | rar | deb | 20.04 | 2:6.23-1~20.04.1 | Not reported | UBUNTU-CVE-2023-40477 | Not reported |
| Ubuntu | unrar-nonfree | deb | 20.04 | 1:5.6.6-2ubuntu0.1 | Not reported | UBUNTU-CVE-2023-40477 | Not reported |
| Ubuntu | libclamunrar | deb | 22.04 | 0.103.11-0ubuntu0.22.04.1 | Not reported | UBUNTU-CVE-2023-40477 | Not reported |
| Ubuntu | rar | deb | 22.04 | 2:6.23-1~22.04.1 | Not reported | UBUNTU-CVE-2023-40477 | Not reported |
| Ubuntu | unrar-nonfree | deb | 22.04 | 1:6.1.5-1ubuntu0.1 | Not reported | UBUNTU-CVE-2023-40477 | Not reported |
| Ubuntu | rar | deb | 24.04 | 2:6.23-1 | Not reported | UBUNTU-CVE-2023-40477 | Not reported |
| Suse | clamav | rpm | linux enterprise server 12 sp5 | 0.103.11-3.30.1 | Not reported | SUSE-SU-2023:4297-1 | Not reported |
| Suse | clamav | rpm | linux enterprise server for sap applications 12 sp5 | 0.103.11-3.30.1 | Not reported | SUSE-SU-2023:4297-1 | Not reported |
| Suse | clamav | rpm | linux enterprise module for basesystem 15 sp4 | 0.103.11-150000.3.50.1 | Not reported | SUSE-SU-2023:4415-1 | Not reported |
| Suse | clamav | rpm | linux enterprise module for basesystem 15 sp5 | 0.103.11-150000.3.50.1 | Not reported | SUSE-SU-2023:4415-1 | Not reported |
| Suse | clamav | rpm | linux enterprise high performance computing 15 sp1-ltss | 0.103.11-150000.3.50.1 | Not reported | SUSE-SU-2023:4415-1 | Not reported |
| Suse | clamav | rpm | linux enterprise high performance computing 15 sp2-ltss | 0.103.11-150000.3.50.1 | Not reported | SUSE-SU-2023:4415-1 | Not reported |
| Suse | clamav | rpm | linux enterprise high performance computing 15 sp3-espos | 0.103.11-150000.3.50.1 | Not reported | SUSE-SU-2023:4415-1 | Not reported |
| Suse | clamav | rpm | linux enterprise high performance computing 15 sp3-ltss | 0.103.11-150000.3.50.1 | Not reported | SUSE-SU-2023:4415-1 | Not reported |
| Suse | clamav | rpm | linux enterprise server 15 sp1-ltss | 0.103.11-150000.3.50.1 | Not reported | SUSE-SU-2023:4415-1 | Not reported |
| Suse | clamav | rpm | linux enterprise server 15 sp2-ltss | 0.103.11-150000.3.50.1 | Not reported | SUSE-SU-2023:4415-1 | Not reported |
| Suse | clamav | rpm | linux enterprise server 15 sp3-ltss | 0.103.11-150000.3.50.1 | Not reported | SUSE-SU-2023:4415-1 | Not reported |
| Suse | clamav | rpm | linux enterprise server for sap applications 15 sp1 | 0.103.11-150000.3.50.1 | Not reported | SUSE-SU-2023:4415-1 | Not reported |
| Suse | clamav | rpm | linux enterprise server for sap applications 15 sp2 | 0.103.11-150000.3.50.1 | Not reported | SUSE-SU-2023:4415-1 | Not reported |
| Suse | clamav | rpm | linux enterprise server for sap applications 15 sp3 | 0.103.11-150000.3.50.1 | Not reported | SUSE-SU-2023:4415-1 | Not reported |
| Suse | clamav | rpm | manager proxy 4.2 | 0.103.11-150000.3.50.1 | Not reported | SUSE-SU-2023:4415-1 | Not reported |
| Suse | clamav | rpm | manager server 4.2 | 0.103.11-150000.3.50.1 | Not reported | SUSE-SU-2023:4415-1 | Not reported |
| Suse | clamav | rpm | enterprise storage 7.1 | 0.103.11-150000.3.50.1 | Not reported | SUSE-SU-2023:4415-1 | Not reported |
| Opensuse | clamav | rpm | leap 15.4 | 0.103.11-150000.3.50.1 | Not reported | SUSE-SU-2023:4415-1 | Not reported |
| Opensuse | clamav | rpm | leap 15.5 | 0.103.11-150000.3.50.1 | Not reported | SUSE-SU-2023:4415-1 | Not reported |
| Opensuse | clamav | rpm | tumbleweed | 0.103.11-2.1 | Not reported | OPENSUSE-SU-2024:13394-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2023_4297-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-40477]
- [https://osv.dev/vulnerability/DLA-3542-1]
- [https://osv.dev/vulnerability/DLA-3543-1]
- [https://osv.dev/vulnerability/DLA-3653-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4297-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4415-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-40477]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:13394-1]
- [https://security-tracker.debian.org/tracker/CVE-2023-40477]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2917.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]