CVE-2026-38345 Denial of service in n/a

Medium 6.5 Published Updated

Attackers can cause a denial of service in FFmpeg by providing crafted input that triggers a division-by-zero error in the scaling utility.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-38345?

CVE-2026-38345 is a medium-severity denial of service vulnerability in n/a, published on 27 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-369

Which versions are affected by CVE-2026-38345?

How do I fix CVE-2026-38345?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-38345 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-38345 exists.

Sources

Also known as DEBIAN-CVE-2026-38345, GHSA-rgh2-m3vh-23hp, UBUNTU-CVE-2026-38345.

Is CVE-2026-38345 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free