CVE Catalog

CVE-2026-125269

HighCVSS 7.0
Published: Translated: NVD NIST

Summary

FFmpeg through 9.0.2 contains a double free vulnerability in libavcodec/cbs_sei.c where cbs_sei_delete_message() leaves a stale extension_data reference that ff_cbs_sei_add_message() reuses. Attackers can supply a crafted H.264 stream with a display orientation SEI message followed by payload extension data, processed by h264_metadata with display_orientation=insert, to corrupt heap memory.

Risk Assessment

Processing malicious media files may lead to memory corruption, application crashes, or potential code execution in the context of the decoding process.

Recommendation

Upgrade FFmpeg to version 9.0.3 or later (or the corresponding fixed 8.x release) and avoid processing untrusted H.264 streams in vulnerable configurations.

Other vulnerabilities in FFmpeg

See all
Original NVD description (English source)

FFmpeg through 9.0.2 contains a double free vulnerability in libavcodec/cbs_sei.c where cbs_sei_delete_message() leaves a stale extension_data reference that ff_cbs_sei_add_message() reuses. Attackers can supply a crafted H.264 stream with a display orientation SEI message followed by payload extension data, processed by h264_metadata with display_orientation=insert, to corrupt heap memory.

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