Description
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.
Published: 2026-11-09
Score: 7.3 High
EPSS: n/a
KEV: No
Impact: Arbitrary code execution via heap corruption
Action: Apply patch
AI Analysis

Impact

The vulnerability is a double free in FFmpeg's libavcodec/cbs_sei.c, where a stale extension_data pointer is freed twice. This leads to heap memory corruption that can be triggered by a crafted H.264 stream containing a display orientation SEI message followed by payload extension data. An attacker who successfully exploits the double free could potentially execute arbitrary code or crash the application, classified as CWE‑415.

Affected Systems

Affected are all FFmpeg releases up to and including version 9.0.2. Systems that embed FFmpeg 9.0.2 or earlier for media decoding or transcoding are at risk. No specific patches are listed in the input, but the upstream project has fixed the issue in later releases.

Risk and Exploitability

With a CVSS score of 7.3 the vulnerability carries a high severity rating, yet EPSS data is unavailable and the flaw is not listed in CISA KEV at this time. Exploitation would require an attacker to provide a malicious H.264 payload to a vulnerable instance, making it a remote or local surface depending on how the software is used. The risk remains significant for any service parsing untrusted media.

Generated by OpenCVE AI on November 9, 2026 at 21:18 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to a version that removes the double free (e.g., 9.0.3 or later).
  • If upgrading is not immediately possible, implement input validation or refuse unsupported SEI messages in your media pipeline.
  • Monitor the application for abnormal crashes or memory corruption and isolate the process upon detection.

Generated by OpenCVE AI on November 9, 2026 at 21:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 19:30:00 +0000

Type Values Removed Values Added
Description 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.
Title FFmpeg through 9.0.2 Double Free via cbs_sei_delete_message in cbs_sei.c
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-415
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.3, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-09T19:12:09.590Z

Reserved: 2026-11-09T18:15:36.455Z

Link: CVE-2026-125269

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-09T20:18:13.690

Modified: 2026-11-09T20:18:13.690

Link: CVE-2026-125269

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T21:30:11Z

Weaknesses