Every CVE Search/ Get API key

CVE-2017-20006

UnRAR 5.6.1.2 and 5.6.1.3 has a heap-based buffer overflow in Unpack::CopyString (called from...

7.8 HighFix available

UnRAR 5.6.1.2 and 5.6.1.3 has a heap-based buffer overflow in Unpack::CopyString (called from Unpack::Unpack5 and CmdExtract::ExtractCurrentFile).

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.22%Up 0.4 points since Jul 1, 2021
90%50%10%1%

What each source reports

NVD Score used 7.8

UnRAR 5.6.1.2 and 5.6.1.3 has a heap-based buffer overflow in Unpack::CopyString (called from Unpack::Unpack5 and CmdExtract::ExtractCurrentFile).

Record
CVE-2017-20006
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

UnRAR 5.6.1.2 and 5.6.1.3 has a heap-based buffer overflow in Unpack::CopyString (called from Unpack::Unpack5 and CmdExtract::ExtractCurrentFile).

Record
CVE-2017-20006
Updated
2026-11-02
EUVDEUVD-2017-11021 No score

UnRAR 5.6.1.2 and 5.6.1.3 has a heap-based buffer overflow in Unpack::CopyString (called from Unpack::Unpack5 and CmdExtract::ExtractCurrentFile).

Record
EUVD-2017-11021
Updated
2026-11-03
GitHub AdvisoriesGHSA-pwpf-mf84-2wmh No score

UnRAR 5.6.1.2 and 5.6.1.3 has a heap-based buffer overflow in Unpack::CopyString (called from...

UnRAR 5.6.1.2 and 5.6.1.3 has a heap-based buffer overflow in Unpack::CopyString (called from Unpack::Unpack5 and CmdExtract::ExtractCurrentFile).

Record
GHSA-pwpf-mf84-2wmh
Weakness
CWE-787
Updated
2026-11-02
OSV 7.8

UnRAR 5.6.1.2 and 5.6.1.3 has a heap-based buffer overflow in Unpack::CopyString (called from Unpack::Unpack5 and CmdExtract::ExtractCurrentFile).

Record
CVE-2017-20006
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-20006 7.8

UnRAR 5.6.1.2 and 5.6.1.3 has a heap-based buffer overflow in Unpack::CopyString (called from Unpack::Unpack5 and CmdExtract::ExtractCurrentFile).

Record
DEBIAN-CVE-2017-20006
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2017-20006 7.8

UnRAR 5.6.1.2 and 5.6.1.3 has a heap-based buffer overflow in Unpack::CopyString (called from Unpack::Unpack5 and CmdExtract::ExtractCurrentFile).

Record
UBUNTU-CVE-2017-20006
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVSUSE-SU-2021:2834-1 No score

Security update for unrar

This update for unrar to version 5.6.1 fixes several issues.

These security issues were fixed:

  • CVE-2017-12938: Prevent remote attackers to bypass a directory-traversal protection mechanism via vectors involving a symlink to the . directory, a symlink to the .. directory, and a regular file (bsc#1054038).
  • CVE-2017-12940: Prevent out-of-bounds read in the EncodeFileName::Decode call within the Archive::ReadHeader15 function (bsc#1054038).
  • CVE-2017-12941: Prevent an out-of-bounds read in the Unpack::Unpack20 function (bsc#1054038).
  • CVE-2017-12942: Prevent a buffer overflow in the Unpack::LongLZ function (bsc#1054038).
  • CVE-2017-20006: Fixed heap-based buffer overflow in Unpack:CopyString (bsc#1187974).

These non-security issues were fixed:

  • Added extraction support for .LZ archives created by Lzip compressor
  • Enable unpacking of files in ZIP archives compressed with XZ algorithm and encrypted with AES
  • Added support for PAX extended headers inside of TAR archive
  • If RAR recovery volumes (.rev files) are present in the same folder as usual RAR volumes, archive test command verifies .rev contents after completing testing .rar files
  • By default unrar skips symbolic links with absolute paths in link target when extracting unless -ola command line switch is specified
  • Added support for AES-NI CPU instructions
  • Support for a new RAR 5.0 archiving format
  • Wildcard exclusion mask for folders
  • Prevent conditional jumps depending on uninitialised values (bsc#1046882)
Record
SUSE-SU-2021:2834-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
unrar-nonfree
Debian:12
before 1:5.6.6-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 31 moreShow less
1: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-13.3.6-23.3.6-2.0.13.4.3-1
1:5.6.6-1
unrar-nonfree
Debian:13
before 1:5.6.6-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 31 moreShow less
1: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-13.3.6-23.3.6-2.0.13.4.3-1
1:5.6.6-1
unrar-nonfree
Debian:14
before 1:5.6.6-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 31 moreShow less
1: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-13.3.6-23.3.6-2.0.13.4.3-1
1:5.6.6-1
unrar
SUSE:OpenStack Cloud 8
From an advisory covering 6 CVEs
before 5.6.1-4.5.1
5.6.1-4.5.1
unrar
SUSE:OpenStack Cloud 9
From an advisory covering 6 CVEs
before 5.6.1-4.5.1
5.6.1-4.5.1
unrar
SUSE:OpenStack Cloud Crowbar 9
From an advisory covering 6 CVEs
before 5.6.1-4.5.1
5.6.1-4.5.1
unrar
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
From an advisory covering 6 CVEs
before 5.6.1-4.5.1
5.6.1-4.5.1
unrar
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
From an advisory covering 6 CVEs
before 5.6.1-4.5.1
5.6.1-4.5.1
unrar
SUSE:Linux Enterprise Software Development Kit 12 SP5
From an advisory covering 6 CVEs
before 5.6.1-4.5.1
5.6.1-4.5.1
unrar
SUSE:Linux Enterprise Server 12 SP2-BCL
From an advisory covering 6 CVEs
before 5.6.1-4.5.1
5.6.1-4.5.1
Show 7 moreShow less
Affected packages
PackageAffectedFixed
unrar
SUSE:Linux Enterprise Server 12 SP3-LTSS
From an advisory covering 6 CVEs
before 5.6.1-4.5.1
5.6.1-4.5.1
unrar
SUSE:Linux Enterprise Server 12 SP3-BCL
From an advisory covering 6 CVEs
before 5.6.1-4.5.1
5.6.1-4.5.1
unrar
SUSE:Linux Enterprise Server 12 SP4-LTSS
From an advisory covering 6 CVEs
before 5.6.1-4.5.1
5.6.1-4.5.1
unrar
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 6 CVEs
before 5.6.1-4.5.1
5.6.1-4.5.1
unrar
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 6 CVEs
before 5.6.1-4.5.1
5.6.1-4.5.1
unrar-nonfree
Ubuntu:16.04:LTS
All versions, plus listed versions
1:5.3.2-11:5.3.2-1+deb9u1build0.16.04.1
None known
unrar-nonfree
Ubuntu:18.04:LTS
All versions, plus listed versions
1:5.5.8-1
None known

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-20006 is a high vulnerability (CVSS 7.8) in Rarlab Unrar, published July 1, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.22%, the 68th percentile. Fixed in unrar-nonfree 1:5.6.6-1.

References

Show 12 moreShow less
MoveEnter Open