CVE-2025-6218

NameCVE-2025-6218
DescriptionRARLAB WinRAR Directory Traversal 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 handling of file paths within archive files. A crafted file path can cause the process to traverse to unintended directories. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-27198.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rar (PTS)bullseye/non-free2:6.23-1~deb11u1fixed
bookworm/non-free2:6.23-1~deb12u1fixed
trixie/non-free, sid/non-free2:7.11-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rarsource(unstable)(not affected)

Notes

- rar <not-affected> (Windows-specific)
https://www.zerodayinitiative.com/advisories/ZDI-25-409/
https://www.win-rar.com/singlenewsview.html?&L=0

Search for package or bug name: Reporting problems