CVE-2026-66038
Security update for ffmpeg-4
Beschreibung
FFmpeg bis Version 8.1.2 enthält eine Schwachstelle für Informationsleckage im LCL/ZLIB-Videodecoder, die es Angreifern ermöglicht, uninitialisierte Heap-Speicherinhalte preiszugeben, indem sie einen gültigen zlib-Stream bereitstellen, der sich zu weniger Bytes aufbläht als die erwartete Bildgröße. Die Funktion `zlib_decomp()` in `lcldec.c` behandelt eine kurze Dekompression als nicht-fatal und setzt den Weg zur RGB24-Konvertierung fort, wobei ein vollständiges Bild an Zeilen aus dem Puffer mit den ursprünglichen Bildabmessungen kopiert wird. Dies führt dazu, dass uninitialisierte Heap-Inhalte, einschließlich bytes von zeigerbasierten Allokatoren, in die vom Angreifer beobachtbare AVFrame-Ausgabe kopiert werden und potenziell ASLR bei langfristigen Medienverarbeitungsdiensten umgeht.
Metriken
Weakness-Klassen (CWE)
CWE-908Base
Use of Uninitialized Resource
The product uses or accesses a resource that has not been initialized.
cwe.mitre.org →
Re-Analyse & Statuswechsel
Chronologie der NVD-Audit-Events für diese CVE — Reanalyses, CVSS-Updates, CPE-Diffs.
- Initial Analysis2026-08-07 00:54 UTC· nvd@nist.gov
- CVSS V3.1: AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- CPE Configuration: OR *cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* versions up to (including) 8.1.2
- Reference Type: VulnCheck: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/e7cbfd1c507b57a806a5825b87d609963e862c8c Types: Patch
- Reference Type: VulnCheck: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23626 Types: Issue Tracking, Patch
- CVE Modified2026-07-24 21:16 UTC· 134c704f-9b21-4f2e-91b3-4a467353bcc0
- SSVC: {"id":"CVE-2026-66038","role":"CISA Coordinator","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalI…
- New CVE Received2026-07-24 20:18 UTC· disclosure@vulncheck.com
- Affected: FFmpeg
- Description: 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.
- CVSS V4.0: AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVSS V3.1: AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Betroffene Betriebssysteme
linux
debian / ffmpegtrixie
linux
ubuntu / ffmpegbionic
linux
ubuntu / ffmpegfocal
linux
ubuntu / ffmpegjammy
linux
ubuntu / ffmpegnoble
linux
ubuntu / ffmpegxenial
Quellen & Referenzen
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23631issue-tracking
- https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/aafb5c655edc76a753275c383ebb139feb032718patch
- https://www.vulncheck.com/advisories/ffmpeg-mace6-audio-decoder-heap-out-of-bounds-write-via-caf-filethird-party-advisory
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23159
- https://access.redhat.com/security/cve/CVE-2026-8461vdb-entryx_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2490308issue-trackingx_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-8461.jsonx_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:43711vendor-advisoryx_refsource_REDHAT
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23657issue-tracking
- https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/dbd495f066a85ba96b17433f4306582aa37c3951patch
- https://www.vulncheck.com/advisories/ffmpeg-heap-buffer-overflow-via-vobsub-subtitle-demuxerthird-party-advisory
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23626issue-tracking
- https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/e7cbfd1c507b57a806a5825b87d609963e862c8cpatch
- https://www.vulncheck.com/advisories/ffmpeg-lcl-zlib-video-decoder-information-disclosure-via-lcldec-cthird-party-advisory
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23659issue-tracking
- https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/1836ef96846937a6cc2443698a693104f5c0b21epatch
- https://www.vulncheck.com/advisories/ffmpeg-out-of-bounds-memory-access-in-adx-audio-decoderthird-party-advisory
- https://access.redhat.com/security/cve/CVE-2026-12706vdb-entryx_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2490710issue-trackingx_refsource_REDHAT
- https://lists.ffmpeg.org/archives/list/ffmpeg-devel@ffmpeg.org/message/TTRIJZA7UL6KJTEDMMBGZPLLJERJ3EFX/
Verknüpfte CVEs
- CVE-2026-8461
Ein Schreibzugriff außerhalb des gültigen Bereichs in der MagicYUV-Decoder-Bibliothek von FFmpeg's libavcodec ermöglicht Denial-of-Servic…
highCVSSv3 8.8 - CVE-2026-66039
FFmpeg bis Version 8.1.2 enthält eine Schwachstelle durch einen Überlauf eines signierten Ganzzahls im MACE6-Audiodekodierer, die es Angr…
highCVSSv3 8.8 - CVE-2026-64835
FFmpeg-Versionen 4.4 bis 8.1.2 enthalten eine Schwachstelle für den Zugriff auf Speicher außerhalb der Grenzen im ADX-Audiodekodierer inn…
highCVSSv3 8.8 - CVE-2026-64832
FFmpeg-Versionen 4.4 bis 8.1.2 enthalten eine doppelte Freigabeschwachstelle im NVIDIA-NVDEC-Hardware-Decoder innerhalb von libavcodec/nv…
highCVSSv3 8.8 - CVE-2026-64830
FFmpeg-Versionen 2.1 bis 8.1.2 enthalten eine Heap-Buffer-Überlauf-Schwachstelle im VobSub-Untertitel-Demultiplexer, die es Angreifern er…
highCVSSv3 8.8 - CVE-2026-12706
Ein Verwendungsfehler nach Freigabe wurde in FFmpeg's RASC-Video-Decoder gefunden.
mediumCVSSv3 6.5