CVE-2026-38343

ffmpeg: FFmpeg: Denial of Service via integer overflow in video scaling

Published Aug 27, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
An integer overflow in the libavfilter/vf_scale.c component of FFmpeg N-122528-gdd2976b9e1 allows attackers to cause a Denial of Service (DoS) via supplying a crafted video file.

Analysis

AI-generated

Technical impact

The vulnerability is an integer overflow (CWE‑190) in FFmpeg's libavfilter/vf_scale.c component. A crafted video frame triggers overflow during scaling calculations, leading to a crash or uncontrolled resource consumption that interrupts the service. This results in a denial of service for any application or service that uses FFmpeg to process media.

Affected Systems

All FFmpeg installations that employ the legacy libavfilter/vf_scale.c implementation are affected. No specific release series is listed in the advisory, so any FFmpeg build containing the vulnerable code before the patch is at risk. Administrators should verify whether their FFmpeg binary includes the insecure scaling filter, as version information is not provided.

Risk and Exploitability

The EPSS score of less than 1% indicates a very low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Nevertheless, the CVSS score of 6.5 reflects a moderate risk because an attacker who can supply a malicious video to the FFmpeg process can trigger a crash or excessive resource use. Based on the description, it is inferred that the attack vector is the receipt of untrusted media input to the scaling filter. Exploitation requires the attacker to control the content of a video file processed by a vulnerable FFmpeg instance, which is typical of media servers, transcoding pipelines, or any software that accepts arbitrary video from external sources.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to the latest release that contains the integer‑overflow fix.
  • Implement bounds checking on source video resolution before scaling to prevent overflow.
  • If an upgrade is not immediately possible, run FFmpeg in a restricted container with tight CPU, memory, and I/O limits and validate all incoming media files before feeding them to the scaling filter.
  • Configure logging and monitoring to detect sudden crashes or abnormal resource consumption, and set up automated restarts or fail‑over mechanisms to maintain service availability.

Generated by OpenCVE AI on August 31, 2026 at 17:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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

cvssV3_1

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

Type Values Removed Values Added
Weaknesses CWE-680
Type Values Removed Values Added
Title Integer Overflow in FFmpeg's Scale Filter Allows Denial of Service ffmpeg: FFmpeg: Denial of Service via integer overflow in video scaling
Weaknesses CWE-190
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
Type Values Removed Values Added
Title Integer Overflow in FFmpeg's Scale Filter Allows Denial of Service
Weaknesses CWE-680
Type Values Removed Values Added
Description An integer overflow in the libavfilter/vf_scale.c component of FFmpeg N-122528-gdd2976b9e1 allows attackers to cause a Denial of Service (DoS) via supplying a crafted video file.
References
Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 31, 2026, 3:18 PM
Reserved
Apr 6, 2026, 12:00 AM
Status
Awaiting Analysis
Published
Aug 28, 2026, 12:17 AM
Modified
Sep 9, 2026, 3:53 PM
Severity
Moderate
Public date
Aug 27, 2026, 12:00 AM