CVE Catalog

CVE-2026-125204

HighCVSS 7.0
Published: Translated: NVD NIST

Summary

FFmpeg through 9.0.2 contains a heap buffer overflow in ff_libwebp_get_frame() in libwebpenc_common.c that lets attackers corrupt memory when cr_threshold is set. Attackers can supply crafted media that increases resolution mid-stream, causing memcpy() to write pixel data past the stale reference frame and crash applications.

Risk Assessment

Heap memory corruption can lead to application crashes or potential code execution when processing untrusted media. Organizations encoding video to WebP are exposed to attacks via supplied files.

Recommendation

Update FFmpeg to a version containing the fix (later than 9.0.2) and avoid encoding untrusted media with cr_threshold set. Consider validating resolution changes within the stream.

Other vulnerabilities in FFmpeg

See all
Original NVD description (English source)

FFmpeg through 9.0.2 contains a heap buffer overflow in ff_libwebp_get_frame() in libwebpenc_common.c that lets attackers corrupt memory when cr_threshold is set. Attackers can supply crafted media that increases resolution mid-stream, causing memcpy() to write pixel data past the stale reference frame and crash applications.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS