FFmpeg 9.1 Patch Addresses VPK Demuxer Memory Disclosure Flaw

FFmpeg versions prior to 9.1 contain a low-severity vulnerability (CVE-2026-135730) in the VPK demuxer that allows attackers to disclose uninitialized heap memory by supplying crafted files with large channel counts. The flaw, which requires local access and user interaction, has been patched in version 9.1.
Key points
- The vulnerability resides in the vpk_read_header() function within libavformat/vpk.c.
- Attackers can exploit the flaw by creating a VPK file with a large channel count, causing the last audio packet to expose leftover heap memory.
- The issue is classified as low severity with a CVSS 3.1 score of 3.3 and a CVSS 4.0 score of 4.8.
- Exploitation requires local access and user interaction, as the victim must open the malicious file.
- The vulnerability only impacts confidentiality, with no effect on integrity or availability.
- The fix is available in FFmpeg version 9.1, with a patch commit referenced in the project's GitHub repository.
Background
This vulnerability is part of a series of memory disclosure flaws addressed in the FFmpeg 9.1 release. Earlier patches in the same version fixed similar issues in the MXG, Sierra VMD, DXA, and NIST SPHERE demuxers, all involving uninitialized memory leaks that could expose sensitive data. These vulnerabilities share similar characteristics, including local attack vectors and user interaction requirements.
Why it matters
Uninitialized memory vulnerabilities can expose sensitive data, such as passwords or encryption keys, if the memory contains such information. While this specific flaw is low severity, it highlights the importance of keeping software up to date to mitigate potential security risks. The patch in FFmpeg 9.1 addresses this issue, reducing the risk of data exposure for users who update their software.
What to watch
Users of FFmpeg versions prior to 9.1 should update to the latest version to mitigate this vulnerability. Security teams should monitor for any signs of exploitation, although the local attack vector and user interaction requirement limit the risk. The FFmpeg project is expected to continue addressing similar issues in future releases.
Want the full story? Read the original reporting
Read on CVEs | Zero Wire | Cloudflare Radar