ffmpeg_kit_flutter_new_min is vulnerable to Out-of-bounds Write
88
High Risk
The package bundles a precompiled FFmpeg whose MagicYUV decoder in libavcodec/magicyuv.c reads a slice_height from the bitstream that is not aligned to the chroma vertical subsampling. Because the frame allocator and the decoder compute chroma plane heights differently, decoding a crafted MagicYUV stream carried in an AVI, MKV, or MOV container writes a row of chroma data past the end of the allocated heap buffer. The resulting memory corruption can crash the process and, under favorable conditions, be escalated to remote code execution. The fix rebuilds the bundled FFmpeg on a release that rejects chroma-misaligned slice heights and adds bounds checks in the slice and median-prediction path.
You are affected if you are using a version that falls within the vulnerable range and your application decodes untrusted or externally supplied media, such as an AVI, MKV, or MOV file that can carry a crafted MagicYUV stream.
ffmpeg_kit_flutter_new_min is vulnerable to Out-of-bounds Write in versions 0.0.1 - 3.4.1.
Upgrade the ffmpeg_kit_flutter_new_min library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant