Heap Buffer Overflow Vulnerability in VLC Media Player

vlc Updated 24 Mar 2026

Summary

15/01/2026
HIGH
Yes i
High
Not published

OSV-2026-57: Heap-buffer-overflow in mkv::matroska_segment_c::TrackInit. Affects vlc versions >= f8e9d090fc20452cfddb91df28bf235eb59baff1, < 643b5a278f40a899d0c981499da70a0721e1dff5. Fixed in 643b5a278f40a899d0c981499da70a0721e1dff5. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

VLC Media Player is a widely used open-source multimedia player that supports various audio and video formats. It is known for its versatility, user-friendly interface, and ability to play almost any media file without the need for additional codecs. However, like many software applications, VLC is not immune to vulnerabilities. The specific issue at hand is a heap buffer overflow that can occur during the processing of Matroska (MKV) files, potentially leading to crashes or exploitation.

Vulnerability Detail

The vulnerability identified as a heap buffer overflow occurs in the function mkv::matroska_segment_c::TrackInit within the VLC codebase. This issue was reported through OSS-Fuzz, indicating that it can lead to a crash when processing malformed MKV files. The crash state reveals that the overflow happens during the initialization of track entries, which could allow an attacker to exploit this flaw to execute arbitrary code or cause denial of service. The severity of this vulnerability is classified as HIGH, making it critical for users to address it promptly.

How To Fix

Minimum fixed version

643b5a278f40a899d0c981499da70a0721e1dff5

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can avoid opening MKV files that are from untrusted sources until the patch is applied. Additionally, users can consider using alternative media players that do not exhibit this vulnerability.

Conclusion

The heap buffer overflow vulnerability in VLC Media Player poses a significant risk to users, particularly when handling MKV files. It is crucial for users to update to the latest patched version to mitigate this risk. By following the provided steps and utilizing tools like Vulert, users can ensure their software remains secure.

See every vulnerability recorded for vlc →

Share this vulnerability

FAQ

A heap buffer overflow occurs when a program writes more data to a buffer located on the heap than it can hold, potentially leading to data corruption, crashes, or security vulnerabilities.

You can check your VLC version by opening the application and navigating to 'Help' > 'About'. If your version is between the introduced and fixed ranges, it is affected.

While the primary risk is a crash or potential code execution, there is also a risk of data loss if the application crashes while processing files.

Yes, Vulert can monitor your software for open-source vulnerabilities in real-time using just a manifest file like package-lock.json. You can check your application against known vulnerabilities without needing to install any software.

If you cannot update VLC right away, avoid opening MKV files from untrusted sources and consider using alternative media players until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for vlc.

How To Fix

Minimum fixed version

643b5a278f40a899d0c981499da70a0721e1dff5

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback