cve.bz

CVE-2026-66038 ffmpeg ffmpeg: Use of Uninitialized Resource

7.1 highEPSS 0.2%Fix available

High (7.1) in ffmpeg ffmpeg. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
FFmpeg through 8.1.2, fixed in commit 8670835, contains an information disclosure vulnerability in the LCL/ZLIB video decoder that allows attackers to expose uninitialized heap memory by supplying a valid zlib stream that inflates to fewer bytes than the expected frame size. The zlib_decomp() function in lcldec.c treats short decompression as non-fatal and continues to the RGB24 conversion path, which copies a full frame's worth of rows from the allocation buffer using original frame dimensions, causing uninitialized heap contents including pointer-derived allocator bytes to be copied into the attacker-observable AVFrame output and potentially defeating ASLR in long-lived media processing services.

Severity

CVSS 4.0

7.1 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-07-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-908 Use of Uninitialized Resource
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-66038 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-66038?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-66038?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-66038 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
FFmpegthrough 8.1.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13ffmpegno fix listedDEBIAN-CVE-2026-66038
Debian14ffmpeg7:9.0.2-1DEBIAN-CVE-2026-66038
Ubuntu26.10ffmpegno fix listedUBUNTU-CVE-2026-66038
UbuntuPro:14.04:LTSlibavno fix listedUBUNTU-CVE-2026-66038
UbuntuPro:16.04:LTSffmpeg7:2.8.17-0ubuntu0.1+esm15UBUNTU-CVE-2026-66038 USN-8671-1
UbuntuPro:18.04:LTSffmpeg7:3.4.11-0ubuntu0.1+esm13UBUNTU-CVE-2026-66038 USN-8671-1
UbuntuPro:20.04:LTSffmpeg7:4.2.7-0ubuntu0.1+esm14UBUNTU-CVE-2026-66038 USN-8671-1
UbuntuPro:22.04:LTSffmpeg7:4.4.2-0ubuntu0.22.04.1+esm13UBUNTU-CVE-2026-66038 USN-8671-1
UbuntuPro:24.04:LTSffmpeg7:6.1.1-3ubuntu5+esm11UBUNTU-CVE-2026-66038 USN-8671-1
UbuntuPro:26.04:LTSffmpeg7:8.0.1-3ubuntu2+esm3UBUNTU-CVE-2026-66038 USN-8738-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 moreffmpeg-44.4.8-150400.3.72.1SUSE-SU-2026:3529-1
SUSELinux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP7ffmpeg-44.4.8-150600.13.52.1SUSE-SU-2026:3542-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0ffmpeg-77.1.4-160000.3.1SUSE-SU-2026:23222-1 SUSE-SU-2026:23232-1
openSUSELeap 16.0ffmpeg-44.4.7-bp160.3.1openSUSE-SU-2026:21522-1
openSUSELeap 16.0ffmpeg-77.1.4-160000.3.1openSUSE-SU-2026:21572-1
openSUSETumbleweedffmpeg-44.4.8-3.1openSUSE-SU-2026:11448-1
openSUSETumbleweedffmpeg-77.1.5-2.1openSUSE-SU-2026:11665-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Our assessment reflects that this flaw strictly impacts Confidentiality with zero effect on Integrity or Availability (I:N, A:N). It cannot be exploited to crash services, corrupt heap memory, or execute arbitrary code.

For an exposure to occur, an attacker must supply a truncated LCL/ZLIB video stream to a service that not only decodes the frame, but explicitly encodes and outputs or streams that rendered frame back to an attacker-observable endpoint. In practice, uninitialized heap bytes (which may include allocator pointer addresses) are copied into the output frame buffer; however, reading these bytes requires an active, two-way media channel.

Systems or pipelines that process video content headlessly or internally (such as background media indexing, thumbnail extraction without public exposure, or one-way ingest) do not expose uninitialized memory to external observers and are not at risk of information leakage from this flaw.

Red Hat's mitigation

To mitigate this issue, services utilizing FFmpeg for LCL/ZLIB video stream decoding should avoid returning raw, decoded frame data to untrusted external endpoints. Implement robust input validation for all video streams processed by such services. Additionally, consider sandboxing FFmpeg processes that handle untrusted video content to limit potential information exposure.

ProductPackageStateAdvisory
Red Hat OpenShift AI 3.3rhoai/odh-vllm-gaudi-rhel9:1789121263Fixed 2026-09-30RHSA-2026:73987
Red Hat Enterprise Linux AI (RHEL AI) 3ffmpegAffected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-aws-cuda-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-azure-cuda-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-azure-rocm-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-gcp-cuda-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-rocm-rhel9Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-66038.

References

Check your stackJSON