Learn about CVE-2018-1000877, a Double Free vulnerability in the RAR decoder module of libarchive v3.1.0 onwards, potentially leading to a Crash or DoS scenario. Find mitigation steps and prevention measures here.
A Double Free vulnerability in the RAR decoder module of libarchive version v3.1.0 onwards can lead to a Crash or Denial-of-Service (DoS) situation when a specially crafted RAR archive is opened.
Understanding CVE-2018-1000877
This CVE involves a vulnerability in the RAR decoder module of libarchive version v3.1.0 onwards.
What is CVE-2018-1000877?
Starting from commit 416694915449219d505531b1096384f3237dd6cc of libarchive version v3.1.0 onwards, a Double Free vulnerability exists in the RAR decoder module, leading to a potential Crash or DoS situation.
The Impact of CVE-2018-1000877
The vulnerability can be exploited by opening a specifically crafted RAR archive, potentially resulting in a Crash or Denial-of-Service (DoS) scenario.
Technical Details of CVE-2018-1000877
This section provides detailed technical information about the CVE.
Vulnerability Description
The vulnerability is observed in the parse_codes() function of the RAR decoder module in libarchive, where the realloc() function reallocates rar->lzss.window with new_size = 0, leading to the Double Free vulnerability.
Affected Systems and Versions
Exploitation Mechanism
Mitigation and Prevention
Protecting systems from CVE-2018-1000877 involves immediate steps and long-term security practices.
Immediate Steps to Take
Long-Term Security Practices
Patching and Updates