Description
An integer overflow in the hScale16To19_c() function (libswscale/output.c) of FFmpeg N-122528-gdd2976b9e1 allows attackers to cause a Denial of Service (DoS) via supplying a crafted image file.
Published: 2026-08-27
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

An integer overflow occurs in the hScale16To19_c() routine within FFmpeg’s libswscale component when processing image data. The overflow corrupts buffer size calculations, which can cause an application to crash immediately upon receiving a specially crafted image file. The only effect is loss of availability; there is no exposure of confidential data or privilege escalation. This weakness is identified as CWE‑190. Based on the description, the vulnerable state is triggered by an image payload, so the likely attack vector is the delivery of a malformed image to any service that forwards user‑supplied media to FFmpeg.

Affected Systems

The flaw resides in the core FFmpeg library, specifically the libswscale scaling routine. Any application or service that links against this library and processes images using the hScale16To19_c() function could be impacted. Because the vulnerability is tied to the version of FFmpeg before the commit that fixed the overflow, all releases older than that commit are potentially at risk. The vendor/product list is generic; the risk applies to any deployment of FFmpeg on Linux, Windows, macOS or embedded platforms.

Risk and Exploitability

The CVSS score of 7.5 indicates a high‑severity denial‑of‑service vulnerability. The EPSS score of less than 1 % suggests that current exploitation attempts are rare, but this does not eliminate the possibility of brute‑force or targeted attacks. The vulnerability is not listed in the CISA KEV catalog. Attackers can trigger the overflow remotely by sending a crafted image over a network protocol that the application accepts, or locally by accessing a file that is processed by the vulnerable routine. Because there is no code‑execution capability, the primary concern is service interruption, which can be catastrophic for high‑traffic image services or media gateways.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to the latest released version that incorporates the security fix for the hScale16To19_c() integer overflow.
  • If an immediate upgrade is not feasible, restrict the use of the affected scaling routine by validating image dimensions and format before invoking libswscale, or replace the scaling operation with a safer alternative if possible.
  • Run FFmpeg‑based applications inside a confined sandbox or container that limits the impact of unexpected crashes, and monitor their logs for abrupt terminations that may indicate an attempt to exploit the overflow.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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

Type Values Removed Values Added
Title Integer Overflow in FFmpeg Scaling Function Leads to Denial of Service ffmpeg: FFmpeg: Denial of Service via crafted image file due to integer overflow
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important


Fri, 28 Aug 2026 07:45:00 +0000

Type Values Removed Values Added
Title Integer Overflow in FFmpeg Scaling Function Leads to Denial of Service
Weaknesses CWE-190

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 An integer overflow in the hScale16To19_c() function (libswscale/output.c) of FFmpeg N-122528-gdd2976b9e1 allows attackers to cause a Denial of Service (DoS) via supplying a crafted image file.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-28T18:45:59.629Z

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

Link: CVE-2026-38349

cve-icon Vulnrichment

Updated: 2026-08-28T18:33:11.975Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-09-09T15:53:46.577

Link: CVE-2026-38349

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-27T00:00:00Z

Links: CVE-2026-38349 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T16:00:15Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound