---
title: "CVE-2026-125198"
canonical_url: "https://pkgseek.com/security/CVE-2026-125198"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "unknown"
---

# CVE-2026-125198

FFmpeg through 9.0.2 contains a memory leak vulnerability in mediaformat_jni_setBuffer() in libavcodec/mediacodec_wrapper.c that never frees buffers wrapped with NewDirectByteBuffer(). Attackers can supply crafted media files with large extradata, leaking native memory on each MediaCodec decoder configuration in Android applications and causing resource exhaustion.

CVE-2026-125198 is rated UNKNOWN, with 24 indexed affected package builds across 1 distributions.

- **Severity / Score**: UNKNOWN
- **Affected builds**: 24
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | ffmpeg | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | ffmpeg-doc | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavcodec61 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavcodec-dev | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavcodec-extra | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavcodec-extra61 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavdevice61 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavdevice-dev | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavfilter10 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavfilter-dev | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavfilter-extra | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavfilter-extra10 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavformat61 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavformat-dev | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavformat-extra | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavformat-extra61 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavutil59 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavutil-dev | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libpostproc58 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libpostproc-dev | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libswresample5 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libswresample-dev | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libswscale8 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libswscale-dev | 7:7.1.5-0+deb13u1 | — |
