CVE-2026-125172

FFmpeg through 9.0.2 Out-of-Bounds Read via libxevd EVC NAL Length

Published Nov 9, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
FFmpeg through 9.0.2 contains an out-of-bounds read vulnerability in libxevd_receive_frame() in libavcodec/libxevd.c that fails to validate NAL unit length prefixes against remaining packet data. Attackers can supply crafted EVC media with oversized 4-byte NAL length prefixes, causing libxevd to read past the packet buffer, crashing the application or exposing adjacent heap memory.

Analysis

AI-generated

Technical impact

FFmpeg libraries up to version 9.0.2 are vulnerable to an out-of-bounds read when processing EVC media. The bug lies in the libxevd_receive_frame function, which does not validate the NAL unit length prefix against the remaining packet data. A malicious payload can cause the decoder to read past the end of the buffer, leading to a crash or leakage of adjacent heap memory. Depending on system configuration, this may result in a denial‑of‑service or the disclosure of sensitive in‑memory data. The impact is limited to the decoder process and does not allow arbitrary code execution.

Affected Systems

FFmpeg's FFmpeg product, versions up to and including 9.0.2. The vulnerability is present in all builds that ship the libxevd module as distributed with the 9.0.2 release. Any system that decodes EVC streams using this library is potentially affected.

Risk and Exploitability

The CVSS score of 6.9 categorizes the attack as medium severity. The exploit probability is currently unspecified, as the EPSS score is not available. The vulnerability is not listed in CISA's KEV catalog, indicating no confirmed widespread exploitation to date. Attackers can trigger the flaw by supplying crafted EVC media; the likely attack vector is any component that processes untrusted media content, which can include remote media servers, video chat applications, or content ingestion pipelines. The conditions for exploitation are minimal – only a malformed EVC stream – making the threat practical for adversaries capable of influencing the input stream.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to a version 9.0.3 release or later that contains the patch for the out‑of‑bounds read.
  • If an immediate upgrade is not possible, apply the security fix manually by pulling the commit corresponding to e06b3953d4253f8b56271628ba4083fde96aeadb and rebuilding the library.
  • Until the issue is resolved, avoid handling untrusted EVC streams or add input validation to reject NAL length prefixes that exceed the remaining packet size.

Generated by OpenCVE AI on November 9, 2026 at 22:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description FFmpeg through 9.0.2 contains an out-of-bounds read vulnerability in libxevd_receive_frame() in libavcodec/libxevd.c that fails to validate NAL unit length prefixes against remaining packet data. Attackers can supply crafted EVC media with oversized 4-byte NAL length prefixes, causing libxevd to read past the packet buffer, crashing the application or exposing adjacent heap memory.
Title FFmpeg through 9.0.2 Out-of-Bounds Read via libxevd EVC NAL Length
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-125
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 10, 2026, 3:54 PM
Reserved
Nov 9, 2026, 6:15 PM
Status
Analyzed
Published
Nov 9, 2026, 7:16 PM
Modified
Nov 23, 2026, 3:48 PM