Skip to main content

FFmpeg CVE-2026-38349

| EUVDEUVD-2026-67321 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-08-27 mitre GHSA-4f39-h9cc-q7g2
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply crafted image file to FFmpeg-based service
  2. Delivery
    FFmpeg queues file for processing
  3. Exploit
    libswscale invokes hScale16To19_c()
  4. Execution
    Integer overflow corrupts internal scaling state
  5. Persist
    FFmpeg process crashes
  6. Impact
    Denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target application or service must process a crafted image file using FFmpeg's libswscale library, specifically triggering the hScale16To19_c() horizontal scaling function path. The CVSS vector PR:N confirms no authentication is required, and UI:N applies to automated media processing services that ingest user-supplied files without operator intervention - such as transcoding APIs, media upload handlers, or CI pipelines that process image assets. For interactive desktop or CLI usage, a user must explicitly invoke FFmpeg on the malicious file, which would realistically warrant UI:R and meaningfully limits exploitation. No non-default configuration flag or special feature enablement is described as required - any FFmpeg deployment that performs 16-bit horizontal scaling operations on externally supplied image data falls within scope.

Impact

The CVSS 3.1 score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects a plausible worst-case: an unauthenticated remote attacker supplying a file to a network-facing FFmpeg-based service with no required interaction. However, real-world priority is substantially reduced by the EPSS score of 0.15% (4th percentile), which places this well below the exploitation probability of most actively targeted vulnerabilities, and by the absence of a CISA KEV listing or confirmed public proof-of-concept. The impact is strictly limited to availability - no confidentiality or integrity compromise is possible from this flaw alone. The highest-risk deployment scenario is an automated transcoding API or upload processor that ingests user-supplied media without pre-validation; interactive or CLI-driven usage requires an operator to explicitly invoke FFmpeg on a malicious file, meaningfully raising the exploitation barrier in those contexts. Overall, this is a real but currently low-probability risk warranting patching on a normal patch cycle rather than emergency response.

Exploit ScenarioDerived

An attacker submits a crafted image file with specific dimension or scaling parameters to a web service or API that uses FFmpeg for automated media conversion. When FFmpeg invokes hScale16To19_c() during the scaling pipeline, the integer overflow corrupts internal state and crashes the FFmpeg worker process, denying service to legitimate users for the duration of the outage. No confirmed proof-of-concept exploit code has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 28, 2026

Integer overflow in FFmpeg's libswscale library allows any application or service processing attacker-controlled image files to be crashed via a specially crafted input, causing a Denial of Service. The vulnerable function hScale16To19_c() in output.c is affected in build N-122528-gdd2976b9e1; the CVSS vector (AV:N/AC:L/PR:N/UI:N) reflects worst-case exposure in automated media-processing services. Despite the high CVSS score of 7.5, the EPSS probability is just 0.15% at the 4th percentile and no active exploitation has been confirmed, indicating limited real-world exploitation activity at time of analysis.

RemediationAI

No vendor-released patched version has been independently confirmed at time of analysis; the primary reference points to an open issue report at https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/21592 rather than a patch release. Organizations should monitor that issue tracker thread and the NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-38349 for confirmation of a fix and the corresponding stable release version. As a compensating control until a patch is available, services that process user-supplied image or video files should validate and reject inputs with extreme or unexpected dimensions and pixel formats before passing data to FFmpeg, reducing the probability of triggering the overflow path. Enforcing per-process resource limits (e.g., ulimit, container memory and CPU caps) bounds the blast radius of any crash to a single worker process rather than the entire service. Restricting accepted input formats at the API or ingestion layer to a well-known safe subset also reduces attack surface without impacting legitimate use.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw resides in hScale16To19_c(), a C function within FFmpeg's libswscale component responsible for horizontal scaling of 16-bit pixel data to 19-bit intermediate precision during image and video format conversion. CWE-190 (Integer Overflow or Wraparound) indicates that an arithmetic operation on attacker-influenced image parameters - likely image width, stride, or filter coefficient count - exceeds the bounds of its integer type, producing a corrupted intermediate value that leads to a crash or memory corruption sufficient to terminate the process. libswscale is a foundational FFmpeg subsystem invoked on nearly every transcode or image-processing operation involving pixel scaling. The CPE field provided (cpe:2.3:a:n/a:n/a:*) is entirely non-informative; the affected version is traceable only to the git snapshot identifier N-122528-gdd2976b9e1 cited in the issue report.

Know when N A gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Network-accessible automated media processors require no authentication or user interaction; impact is availability-only with no scope change or confidentiality/integrity effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Red Hat 7.5 HIGH

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
Aug 28, 2026 - 20:22 NVD
7.5 (HIGH)
CVE Published
Aug 27, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 27, 2026 - 00:00 cve.org
HIGH 7.5

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

FFmpeg's libswscale library contains an integer overflow vulnerability (CVSS 7.5) enabling unauthenticated denial-of-service attacks against any service processing untrusted image files. Organizations operating media transcoding, cloud storage, or content platforms face service disruption risk if attackers craft malicious image inputs targeting the affected hScale16To19_c() function. Current exploitation probability remains low (0.15% EPSS), but the lack of available patches requires immediate inventory and mitigation planning.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict image processing to known-safe sources and enforce strict file-type allowlists before libswscale; (2) Implement image header validation and reject suspicious file structures; (3) Deploy media-processing functions in containers with automatic crash recovery and restart limits to prevent sustained DoS; (4) Rate-limit and throttle image upload endpoints; (5) Isolate media-processing infrastructure from critical systems using network segmentation; (6) Establish monitoring of FFmpeg project advisories at https://ffmpeg.org/security.html for patch availability.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
High
widely deployed media processing library across streaming, transcoding, and desktop apps
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy