# CVE-2023-40477: RARLAB WinRAR Recovery Volume Improper Validation of Array Index Remote Code Execution Vulnerability

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-03 · Modified: 2025-11-04
- Aliases: MGASA-2023-0258, SUSE-SU-2023:4297-1, SUSE-SU-2023:4415-1, UBUNTU-CVE-2023-40477, DEBIAN-CVE-2023-40477, DLA-3542-1, DLA-3543-1, DLA-3653-1, openSUSE-SU-2024:13394-1
- Record: https://cvemate.com/vulnerability/CVE-2023-40477 · JSON: https://cvemate.com/vulnerability/CVE-2023-40477/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.0, CVE.org) CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 9.614%, percentile 95.614%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 29)

- debian libclamunrar (Debian): \< 1.0.3-1~deb12u1 \| \< 1.0.3-1 \| \< 0.103.10-0+deb10u1
- debian rar (Debian): \< 2:6.23-1~deb12u1 \| \< 2:6.23-1 \| \< 2:6.23-1~deb10u1
- debian unrar-nonfree (Debian): \< 1:6.2.6-1+deb12u1 \| \< 1:6.2.10-1 \| \< 1:5.6.6-1+deb10u4
- ubuntu libclamunrar (Ubuntu): All versions (No fix recorded) \| \< 0.103.11-0ubuntu0.20.04.1 \| \< 0.103.11-0ubuntu0.22.04.1
- ubuntu rar (Ubuntu): All versions (No fix recorded) \| \< 2:6.23-1~20.04.1 \| \< 2:6.23-1~22.04.1 \| \< 2:6.23-1
- ubuntu unrar-nonfree (Ubuntu): All versions (No fix recorded) \| \< 1:5.3.2-1+deb9u1ubuntu0.1~esm1 \| \< 1:5.5.8-1ubuntu0.1~esm1 \| \< 1:5.6.6-2ubuntu0.1 \| \< 1:6.1.5-1ubuntu0.1
- mageia unrar (Mageia): \< 6.23-1.mga8.nonfree
- mageia unrar (Mageia): \< 6.23-1.mga9.nonfree
- rarlab winrar: 6.21 \| \< 6.23
- opensuse clamav&distro=openSUSE Leap 15.4 (openSUSE): \< 0.103.11-150000.3.50.1
- opensuse clamav&distro=openSUSE Leap 15.5 (openSUSE): \< 0.103.11-150000.3.50.1
- opensuse clamav&distro=openSUSE Tumbleweed (openSUSE): \< 0.103.11-2.1
- suse clamav&distro=SUSE Enterprise Storage 7.1 (SUSE Linux Enterprise): \< 0.103.11-150000.3.50.1
- suse clamav&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS (SUSE Linux Enterprise): \< 0.103.11-150000.3.50.1
- suse clamav&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS (SUSE Linux Enterprise): \< 0.103.11-150000.3.50.1
- suse clamav&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS (SUSE Linux Enterprise): \< 0.103.11-150000.3.50.1
- suse clamav&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS (SUSE Linux Enterprise): \< 0.103.11-150000.3.50.1
- suse clamav&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4 (SUSE Linux Enterprise): \< 0.103.11-150000.3.50.1
- suse clamav&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5 (SUSE Linux Enterprise): \< 0.103.11-150000.3.50.1
- suse clamav&distro=SUSE Linux Enterprise Server 12 SP5 (SUSE Linux Enterprise): \< 0.103.11-3.30.1

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-23-1152/>
- <https://www.win-rar.com/singlenewsview.html?&L=0&tx_ttnews%5Btt_news%5D=232&cHash=c5bf79590657e32554c6683296a8e8aa>
- <https://lists.debian.org/debian-lts-announce/2023/11/msg00009.html>
- <https://advisories.mageia.org/MGASA-2023-0258.html>
- <https://bugs.mageia.org/show_bug.cgi?id=32205>
- <https://www.debian.org/lts/security/2023/dla-3535>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20234297-1/>
- <https://bugzilla.suse.com/1216625>
- <https://www.suse.com/security/cve/CVE-2023-40477>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20234415-1/>
- <https://ubuntu.com/security/CVE-2023-40477>
- <https://blog.clamav.net/2023/08/clamav-120-feature-version-and-111-102.html>
- <https://ubuntu.com/security/notices/USN-6569-1>
- <https://www.cve.org/CVERecord?id=CVE-2023-40477>
- <https://ubuntu.com/security/notices/USN-7349-1>
- <https://ubuntu.com/security/notices/USN-7350-1>
- <https://security-tracker.debian.org/tracker/CVE-2023-40477>
- <https://ubuntu.com/security/notices/USN-9442-1>

---

Data as of 2026-12-05T09:58:06.237Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
