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

# CVE-2026-135712

FFmpeg before 9.1 contains an integer overflow vulnerability in the split_planes size check of write_packet() in libavformat/img2enc.c that allows out-of-bounds heap reads. Attackers can supply a crafted input whose rawvideo stream declares very large width and height, remuxed into .y image files, to leak heap memory into output files or crash the application.

CVE-2026-135712 is rated MEDIUM (6.1), with 24 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (6.1)
- **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 | — |
