CVE-2026-38345

NameCVE-2026-38345
DescriptionA 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.
SourceCVE (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 PackageReleaseVersionStatus
ffmpeg (PTS)bullseye7:4.3.7-0+deb11u1fixed
bullseye (security)7:4.3.9-0+deb11u2fixed
bookworm, bookworm (security)7:5.1.9-0+deb12u1fixed
trixie (security), trixie7:7.1.5-0+deb13u1fixed
forky, sid7:8.1.2-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ffmpegsourcebullseye(not affected)
ffmpegsourcebookworm(not affected)
ffmpegsourcetrixie(not affected)
ffmpegsource(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)

Search for package or bug name: Reporting problems