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.
Published: 2026-08-27
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a division‑by‑zero flaw in the ff_sws_init_single_context function in libswscale/utils.c of FFmpeg. When a crafted media stream causes the function to divide by zero, the process crashes, resulting in a denial of service. The flaw is a classic CWE‑369 error that can be exploited by supplying malformed input to the scaling routine.

Affected Systems

Affected product is the FFmpeg multimedia framework, specifically the libswscale scaling component. No explicit vendor or product name is provided beyond FFmpeg itself, and no version ranges are indicated, so any FFmpeg build that includes the ff_sws_init_single_context function is potentially vulnerable until the fix is applied.

Risk and Exploitability

The likely attack vector is a malicious media file that forces the scaling pipeline to divide by zero; thus, any instance of FFmpeg that processes user‑supplied content can be targeted remotely if the application is exposed over a network or accepts uploads. Because the flaw causes an immediate crash, it can be leveraged for denial of service without requiring privilege escalation. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, indicating limited published exploitation data. The CVSS score is not provided, but the impact is considered high due to the potential to take down media processing services.

Generated by OpenCVE AI on August 28, 2026 at 07:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update to the latest FFmpeg release that patches the division‑by‑zero issue in libswscale.
  • If an update cannot be applied immediately, run FFmpeg in a sandboxed or isolated environment and restrict untrusted input streams.
  • Implement input validation or sanitization to reject malformed media before it reaches the scaling functions.
  • Monitor application logs and process health to detect crashes and trigger automatic restarts or rollback mechanisms.

Generated by OpenCVE AI on August 28, 2026 at 07:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 08:15:00 +0000

Type Values Removed Values Added
Title Division‑by‑Zero in FFmpeg libswscale Causes Denial of Service
Weaknesses CWE-369

Fri, 28 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Vendors & Products Ffmpeg
Ffmpeg ffmpeg

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-27T21:34:13.906Z

Reserved: 2026-04-06T00:00:00.000Z

Link: CVE-2026-38345

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T00:17:27.197

Modified: 2026-08-28T00:17:27.197

Link: CVE-2026-38345

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T08:00:13Z

Weaknesses