<Vulnerability name="CVE-2026-38348">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Moderate</ThreatSeverity>
    <PublicDate>2026-08-27T00:00:00</PublicDate>
    <Bugzilla id="2525315" url="https://bugzilla.redhat.com/show_bug.cgi?id=2525315" xml:lang="en:us">
ffmpeg: FFmpeg: Denial of Service via crafted image file due to integer overflow
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>5.5</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-190</CWE>
    <Details xml:lang="en:us" source="Mitre">
An integer overflow in the libswscale/utils.c component of FFmpeg N-122528-gdd2976b9e1 allows attackers to cause a Denial of Service (DoS) via supplying a crafted image file.
    </Details>
    <Details xml:lang="en:us" source="Red Hat">
A flaw was found in FFmpeg, specifically within the libswscale/utils.c component. An integer overflow vulnerability allows a remote attacker to cause a Denial of Service (DoS) by supplying a specially crafted image file. This could lead to the application becoming unresponsive or crashing.
    </Details>
    <Statement xml:lang="en:us">
The ffmpeg package is not shipped in base Red Hat Enterprise Linux. It is available through EPEL, Red Hat Enterprise Linux AI, and as a bundled dependency in Red Hat OpenShift AI container images. The vulnerable code resides in libswscale, which is compiled and shipped in all FFmpeg builds across these products.
    </Statement>
    <Acknowledgement xml:lang="en:us">
Upstream acknowledges ff0x7c00 as the original reporter.
    </Acknowledgement>
    <Mitigation xml:lang="en:us">
No mitigation is currently available for this flaw.
    </Mitigation>
    <PackageState cpe="cpe:/a:redhat:enterprise_linux_ai:3">
        <ProductName>Red Hat Enterprise Linux AI (RHEL AI) 3</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>ffmpeg</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:openshift_ai">
        <ProductName>Red Hat OpenShift AI (RHOAI)</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>rhoai/odh-vllm-gaudi-rhel9</PackageName>
    </PackageState>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-38348
https://nvd.nist.gov/vuln/detail/CVE-2026-38348
https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/21588
    </References>
</Vulnerability>