CVE-2026-125240
Received Received - Intake

Memory Leak in FFmpeg via JPEG XS Decoder

Vulnerability report for CVE-2026-125240, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-09

Last updated on: 2026-11-09

Assigner: VulnCheck

Description

FFmpeg through 9.0.2 contains a resource leak vulnerability in svt_jpegxs_dec_decode() in libsvtjpegxsdec.c that leaks decoder instances when ff_set_dimensions() rejects frame dimensions. Attackers can supply a crafted JPEG XS stream, for example in MPEG-TS, with oversized headers to repeatedly leak decoder threads and buffers, exhausting memory.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-09
Last Modified
2026-11-09
Generated
2026-11-09
AI Q&A
2026-11-09
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
FFmpeg FFmpeg From 8.1 (inc) to 9.0.2 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a resource leak in FFmpeg version 9.0.2. It occurs in the svt_jpegxs_dec_decode() function in libsvtjpegxsdec.c. When ff_set_dimensions() rejects invalid frame dimensions, decoder instances are not properly released, causing memory leaks. Attackers can exploit this by sending a crafted JPEG XS stream with oversized headers, leading to repeated leaks of decoder threads and buffers, eventually exhausting system memory.

Detection Guidance

To detect this vulnerability, monitor for excessive memory usage or decoder thread leaks when processing JPEG XS streams. Check FFmpeg logs for dimension setting failures or decoder initialization errors. Use system monitoring tools like top, htop, or ps to observe unusual memory consumption by FFmpeg processes.

Impact Analysis

This vulnerability can cause denial-of-service conditions by exhausting system memory. If exploited, it may lead to crashes, slowdowns, or unresponsiveness of applications using FFmpeg. Users processing media files, especially JPEG XS streams, could experience degraded performance or system instability.

Mitigation Strategies

Update FFmpeg to the latest patched version, specifically n9.0.2 or later, which includes fixes for the resource leak in libsvtjpegxsdec.c. If updating is not immediately possible, restrict processing of JPEG XS streams from untrusted sources or disable the JPEG XS decoder module in FFmpeg.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-125240. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...