CVE-2017-12942

libunrar.a in UnRAR before 5.5.7 has a buffer overflow in the Unpack::LongLZ function

published August 18, 2017

CVSS
โ€”
EPSS
2%
Percentile
83.1
In the wild
Unconfirmed
What it is

โš ๏ธ A sneaky buffer overflow lurks in libunrar.a! If you're using UnRAR versions before 5.5.7, this could mean unexpected behavior when unpacking files. ๐Ÿ”“ Think of it as a crowded restaurant where the chef runs out of space in the kitchen. Instead of waiting for more room, they start piling ingredients onto the floor, leading to a messy and chaotic situation. If exploited, this buffer overflow could allow an attacker to disrupt the unpacking process, potentially leading to crashes or even executing arbitrary code! While there's no known exploitation yet, the implications could be quite damaging if someone decides to take advantage of it.

Put simply

Think of it as a crowded restaurant where the chef runs out of space in the kitchen. Instead of waiting for more room, they start piling ingredients onto the floor, leading to a messy and chaotic situation. The vulnerability resides in the Unpack::LongLZ function of libunrar.a, where insufficient bounds checking on input data can cause a buffer overflow, allowing for unpredictable behavior or code execution.

What to do

If exploited, this buffer overflow could allow an attacker to disrupt the unpacking process, potentially leading to crashes or even executing arbitrary code! While there's no known exploitation yet, the implications could be quite damaging if someone decides to take advantage of it. Upgrade your UnRAR library to version 5.5.7 or later to close this loophole. Additionally, review any usage of libunrar.a in your projects to ensure you are not running vulnerable versions. You've got this! A simple update will keep your system safe and sound. ๐Ÿ›ก๏ธ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02304 ยท 83.1th percentile
Published
2017-08-18T14:00Z
EPSS history
Timeline
  • 18 AUG 14:00Z
    libunrar.a in UnRAR before 5.5.7 has a buffer overflow in the Unpack::LongLZ function
    cvelistv5