CVE-2017-8311 Memory corruption in VLC

High 7.8 Published Updated

Attackers can execute arbitrary code by tricking users into opening a crafted subtitles file in VLC media player.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-8311?

CVE-2017-8311 is a high-severity memory corruption vulnerability in Videolan Vlc Media Player, published on 23 May 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Potential heap based buffer overflow in ParseJSS in VideoLAN VLC before 2.2.5 due to skipping NULL terminator in an input string allows attackers to execute arbitrary code via a crafted subtitles file.

Weakness: CWE-119

Which versions are affected by CVE-2017-8311?

It affects 1 product.

Products include Videolan Vlc Media Player.

How do I fix CVE-2017-8311?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-8311 being exploited?

There is no known exploitation of CVE-2017-8311 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry.

All Videolan Vlc Media Player vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-8311, GHSA-h3gx-7f25-5jxg, UBUNTU-CVE-2017-8311.

Is CVE-2017-8311 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free