ZeroHour

CVE-2026-38346

mass

Integer overflow in FFmpeg libswscale enables DoS via crafted video file

CVSS 3.1
7.5 high
EPSS
<1%p25
Published
()
Modified
AI analysis

CVE-2026-38346 is an integer overflow (CWE-190) in the yuv2planeX_8_c() function in libswscale/output.c of FFmpeg, identified in the git master build N-122528-gdd2976b9e1. It is triggered when FFmpeg processes a crafted video file that exercises the affected scaling/pixel-format output path, causing the arithmetic overflow. An attacker who can supply such a file to an application or service that decodes or transcodes video with the vulnerable FFmpeg code can crash the process, resulting in a denial of service; per the CVSS vector there is no confidentiality or integrity impact, only high availability impact. Any deployment that processes untrusted video with an affected FFmpeg build — including media players, transcoding pipelines, and server-side media services where no user interaction is required — is potentially affected. No public proof-of-concept, in-the-wild exploitation, or KEV listing is known, and EPSS estimates only a 0.3% probability of exploitation in the next 30 days.

What to do: Monitor FFmpeg upstream (git commits and release notes) for the patch addressing CVE-2026-38346 and rebuild or upgrade to an FFmpeg build that includes the fix once available, since no fixed version number is specified in the current data. In the meantime, reduce exposure by isolating or sandboxing automated transcoding/media-processing workers, restricting which untrusted video files reach FFmpeg-based scaling, and setting resource limits or automatic restarts so a crash cannot take down a whole service.

Affected
FFmpeg (libswscale component, libswscale/output.c)
Estimated exposure
masson the order of hundreds of millions to billions of installations embedding FFmpeg libraries (browsers, media players, streaming and transcoding infrastructure) — FFmpeg is the de facto open-source multimedia library bundled in an enormous range of downstream products and services, so the population of installs whose code could include this libswscale flaw plausibly reaches hundreds of millions of…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

An integer overflow in the yuv2planeX_8_c() function (libswscale/output.c) of FFmpeg N-122528-gdd2976b9e1 allows attackers to cause a Denial of Service (DoS) via supplying a crafted video file.

Weakness
CWE-190
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

In the news

No ingested article mentions this CVE yet.