| Name | CVE-2026-38345 |
| Description | A Division-by-Zero vulnerability in the ff_sws_init_single_context function (/libswscale/utils.c) of FFmpeg N-122528-gdd2976b9e1 allows attackers to cause a Denial of Service (DoS) via a crafted input. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| ffmpeg (PTS) | bullseye | 7:4.3.7-0+deb11u1 | fixed |
| bullseye (security) | 7:4.3.9-0+deb11u2 | fixed |
| bookworm, bookworm (security) | 7:5.1.9-0+deb12u1 | fixed |
| trixie (security), trixie | 7:7.1.5-0+deb13u1 | fixed |
| forky, sid | 7:8.1.2-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| ffmpeg | source | bullseye | (not affected) | | | |
| ffmpeg | source | bookworm | (not affected) | | | |
| ffmpeg | source | trixie | (not affected) | | | |
| ffmpeg | source | (unstable) | 7:8.1-1 | | | |
Notes
[trixie] - ffmpeg <not-affected> (Vulnerable code not present)
[bookworm] - ffmpeg <not-affected> (Vulnerable code not present)
[bullseye] - ffmpeg <not-affected> (Vulnerable code not present)
https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/21585
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21768
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/04fe98482a264117fa49a166c18227f3f93f921b (n8.1)