---
id: "CVE-2026-125173"
page: "https://infrastack.ai/live/CVE-2026-125173"
kind: "vulnerability"
aliases: ["CVE-2026-125173"]
title: "FFmpeg: crafted EVC stream leaks memory in libxevd decoder"
severity: "medium"
cvss: 6.8
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["ffmpeg", "runtime", "self-hosted", "video-processing"]
not_affected_if: ["no-evc-decoding", "untrusted-input-absent"]
published_at: "2026-11-09T19:16:52+00:00"
first_seen_at: "2026-11-09T19:28:16+00:00"
updated_at: "2026-11-09T19:31:38+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125173", "first_seen_at": "2026-11-09T19:28:16+00:00"}]
exploit_sources: []
---

# FFmpeg: crafted EVC stream leaks memory in libxevd decoder

Link for people: https://infrastack.ai/live/CVE-2026-125173 (this .md is for agents)

FFmpeg's libxevd decoder fails to free a packet buffer when an access unit contains no picture. A crafted EVC stream with many such access units exhausts memory in the application that decodes it.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed FFmpeg version with `ffmpeg -version` and compare it with the fixed release listed in the sources.
- Check whether the build includes the libxevd EVC decoder (`ffmpeg -decoders | grep -i xevd`).

## Fix

- Fixed version: unknown, the sources do not name it.
- Patch referenced in sources: github.com (link only, content not read).

## Timeline

- 2026-11-09T19:28:16+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-125173

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-memory-leak-in-libxevd-evc-decoder-wrapper
- [fix] Patch: github.com https://github.com/FFmpeg/FFmpeg/commit/250303c2a59a71bfc544a6b583bc17b6cf0ca903

## From the sources

FFmpeg through 9.0.2 contains a memory leak vulnerability in libxevd_receive_frame() in libavcodec/libxevd.c that fails to free pkt_au when an access unit produces no picture. Attackers can supply a crafted EVC stream with many access units containing only parameter sets or non-frame NAL units to exhaust memory in the decoding application.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
