Skip to main content
CVE-2026-66038VulnerabilityPublished 07/24/2026Updated 10/17/2026

Libav: FFmpeg through 8.1.2, fixed in commit 8670835, contains an information disclosure vulnerability in the LCL/ZLIB video decoder that allows attackers… (CVE-2026-66038)

Affects libavSource GCVE Database

0
CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
Exploitation

Not in CISA KEV, no exploitation reported

EPSS
0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8.1.3, 7:2.8.17-0ubuntu0.1+esm15, 7:3.4.11-0ubuntu0.1+esm13 +4
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

What to do

Affected software

ProductAffectedFixed in
GitHub Actionsffmpeg/FFmpegpkg:github/ffmpeg/FFmpegOther threatsAffected
  • <8.1.3
Fixed in
  • 8.1.3
Ubuntu:Pro:14.04:LTSlibavpkg:deb/ubuntu/libav?arch=source&distro=esm-infra-legacy/trustyOther threatsAffected
  • =6:0.8.7-1ubuntu2
  • =6:9.10-1ubuntu1
  • =6:9.10-1ubuntu2
  • =6:9.10-1ubuntu5
  • =6:9.10-1ubuntu6
  • =6:9.10-1ubuntu7
  • =6:9.11-2ubuntu1
  • =6:9.11-2ubuntu2
  • =6:9.13-0ubuntu0.14.04.1
  • =6:9.14-0ubuntu0.14.04.1
  • =6:9.16-0ubuntu0.14.04.1
  • =6:9.18-0ubuntu0.14.04.1
  • =6:9.20-0ubuntu0.14.04.1
  • =6:9.20-0ubuntu0.14.04.1+esm1
Fixed in–
Ubuntu:Pro:16.04:LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps-legacy/xenialOther threatsAffected
  • <7:2.8.17-0ubuntu0.1+esm15
  • =7:2.7.2-1build1
  • =7:2.8.1-1ubuntu1
  • =7:2.8.2-1ubuntu1
  • =7:2.8.3-1
  • =7:2.8.4-1
  • =7:2.8.4-1ubuntu1
  • =7:2.8.4-1ubuntu2
  • =7:2.8.4-1ubuntu3
  • =7:2.8.4-1ubuntu4
  • =7:2.8.6-1ubuntu1
  • =7:2.8.6-1ubuntu2
  • =7:2.8.8-0ubuntu0.16.04.1
  • =7:2.8.10-0ubuntu0.16.04.1
  • =7:2.8.11-0ubuntu0.16.04.1
  • =7:2.8.14-0ubuntu0.16.04.1
  • =7:2.8.15-0ubuntu0.16.04.1
  • =7:2.8.15-0ubuntu0.16.04.1+esm1
  • =7:2.8.17-0ubuntu0.1
  • =7:2.8.17-0ubuntu0.1+esm1
  • =7:2.8.17-0ubuntu0.1+esm2
  • =7:2.8.17-0ubuntu0.1+esm3
  • =7:2.8.17-0ubuntu0.1+esm4
  • =7:2.8.17-0ubuntu0.1+esm5
  • =7:2.8.17-0ubuntu0.1+esm6
  • =7:2.8.17-0ubuntu0.1+esm7
  • =7:2.8.17-0ubuntu0.1+esm8
  • =7:2.8.17-0ubuntu0.1+esm9
  • =7:2.8.17-0ubuntu0.1+esm10
  • =7:2.8.17-0ubuntu0.1+esm11
  • =7:2.8.17-0ubuntu0.1+esm12
  • =7:2.8.17-0ubuntu0.1+esm13
  • =7:2.8.17-0ubuntu0.1+esm14
Fixed in
  • 7:2.8.17-0ubuntu0.1+esm15
Ubuntu:Pro:18.04:LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <7:3.4.11-0ubuntu0.1+esm13
  • =7:3.3.4-2
  • =7:3.3.4-2build3
  • =7:3.4-2ubuntu2
  • =7:3.4-4
  • =7:3.4-4build1
  • =7:3.4.1-1
  • =7:3.4.1-1build1
  • =7:3.4.2-1
  • =7:3.4.2-1build1
  • =7:3.4.2-2
  • =7:3.4.4-0ubuntu0.18.04.1
  • =7:3.4.6-0ubuntu0.18.04.1
  • =7:3.4.8-0ubuntu0.2
  • =7:3.4.11-0ubuntu0.1
  • =7:3.4.11-0ubuntu0.1+esm1
  • =7:3.4.11-0ubuntu0.1+esm2
  • =7:3.4.11-0ubuntu0.1+esm3
  • =7:3.4.11-0ubuntu0.1+esm4
  • =7:3.4.11-0ubuntu0.1+esm5
  • =7:3.4.11-0ubuntu0.1+esm6
  • =7:3.4.11-0ubuntu0.1+esm7
  • =7:3.4.11-0ubuntu0.1+esm8
  • =7:3.4.11-0ubuntu0.1+esm9
  • =7:3.4.11-0ubuntu0.1+esm10
  • =7:3.4.11-0ubuntu0.1+esm11
  • =7:3.4.11-0ubuntu0.1+esm12
Fixed in
  • 7:3.4.11-0ubuntu0.1+esm13
Ubuntu:Pro:20.04:LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/focalOther threatsAffected
  • <7:4.2.7-0ubuntu0.1+esm14
  • =7:4.1.4-1build2
  • =7:4.2.1-2
  • =7:4.2.1-2ubuntu1
  • =7:4.2.2-1build1
  • =7:4.2.2-1ubuntu1
  • =7:4.2.4-1ubuntu0.1
  • =7:4.2.4-1ubuntu0.1+esm1
  • =7:4.2.7-0ubuntu0.1
  • =7:4.2.7-0ubuntu0.1+esm1
  • =7:4.2.7-0ubuntu0.1+esm2
  • =7:4.2.7-0ubuntu0.1+esm3
  • =7:4.2.7-0ubuntu0.1+esm4
  • =7:4.2.7-0ubuntu0.1+esm5
  • =7:4.2.7-0ubuntu0.1+esm6
  • =7:4.2.7-0ubuntu0.1+esm7
  • =7:4.2.7-0ubuntu0.1+esm8
  • =7:4.2.7-0ubuntu0.1+esm9
  • =7:4.2.7-0ubuntu0.1+esm10
  • =7:4.2.7-0ubuntu0.1+esm11
  • =7:4.2.7-0ubuntu0.1+esm12
  • =7:4.2.7-0ubuntu0.1+esm13
Fixed in
  • 7:4.2.7-0ubuntu0.1+esm14
Ubuntu:Pro:22.04:LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <7:4.4.2-0ubuntu0.22.04.1+esm13
  • =7:4.4-6ubuntu5
  • =7:4.4.1-2ubuntu1
  • =7:4.4.1-3ubuntu1
  • =7:4.4.1-3ubuntu2
  • =7:4.4.1-3ubuntu3
  • =7:4.4.1-3ubuntu5
  • =7:4.4.2-0ubuntu0.22.04.1
  • =7:4.4.2-0ubuntu0.22.04.1+esm1
  • =7:4.4.2-0ubuntu0.22.04.1+esm2
  • =7:4.4.2-0ubuntu0.22.04.1+esm3
  • =7:4.4.2-0ubuntu0.22.04.1+esm4
  • =7:4.4.2-0ubuntu0.22.04.1+esm5
  • =7:4.4.2-0ubuntu0.22.04.1+esm6
  • =7:4.4.2-0ubuntu0.22.04.1+esm7
  • =7:4.4.2-0ubuntu0.22.04.1+esm8
  • =7:4.4.2-0ubuntu0.22.04.1+esm9
  • =7:4.4.2-0ubuntu0.22.04.1+esm10
  • =7:4.4.2-0ubuntu0.22.04.1+esm11
  • =7:4.4.2-0ubuntu0.22.04.1+esm12
Fixed in
  • 7:4.4.2-0ubuntu0.22.04.1+esm13
Ubuntu:Pro:24.04:LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <7:6.1.1-3ubuntu5+esm11
  • =7:6.0-6ubuntu1
  • =7:6.0-9ubuntu1
  • =7:6.1-2ubuntu1
  • =7:6.1-3ubuntu1
  • =7:6.1-4ubuntu1
  • =7:6.1-5ubuntu1
  • =7:6.1.1-1ubuntu1
  • =7:6.1.1-3ubuntu1
  • =7:6.1.1-3ubuntu5
  • =7:6.1.1-3ubuntu5+esm1
  • =7:6.1.1-3ubuntu5+esm2
  • =7:6.1.1-3ubuntu5+esm3
  • =7:6.1.1-3ubuntu5+esm4
  • =7:6.1.1-3ubuntu5+esm5
  • =7:6.1.1-3ubuntu5+esm6
  • =7:6.1.1-3ubuntu5+esm7
  • =7:6.1.1-3ubuntu5+esm8
  • =7:6.1.1-3ubuntu5+esm10
Fixed in
  • 7:6.1.1-3ubuntu5+esm11
Ubuntu:26.10ffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=stonkingOther threatsAffected
  • =7:8.0.1-3ubuntu2
  • =7:8.1-3ubuntu3
  • =7:8.1.2-2ubuntu2
Fixed in–
Ubuntu:Pro:26.04:LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • <7:8.0.1-3ubuntu2+esm3
  • =7:7.1.1-1ubuntu4
  • =7:7.1.2-1ubuntu3
  • =7:7.1.2-1ubuntu4
  • =7:7.1.3-1ubuntu1
  • =7:8.0.1-2ubuntu1
  • =7:8.0.1-3ubuntu1
  • =7:8.0.1-3ubuntu2
  • =7:8.0.1-3ubuntu2+esm1
Fixed in
  • 7:8.0.1-3ubuntu2+esm3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available and should be applied to update FFmpeg (libav) to a version including commit 8670835 or later. Users should upgrade to a fixed version to remediate this vulnerability. No other specific mitigations are indicated.

Description

FFmpeg versions through 8.1.2 contain an information disclosure vulnerability in the LCL/ZLIB video decoder. This flaw allows attackers to expose uninitialized heap memory by providing a valid zlib stream that decompresses to fewer bytes than the expected frame size. The vulnerability arises because the decompression function treats short decompression as non-fatal and copies a full frame's worth of data from the allocation buffer, potentially leaking sensitive memory contents. This can aid attackers in bypassing address space layout randomization (ASLR) in long-running media processing services. A fix is available in commit 8670835.

Impact

Successful exploitation can lead to information disclosure by leaking uninitialized heap memory contents. This can help attackers bypass ASLR protections, which may facilitate further attacks. There is no indication of integrity or availability impact. No known exploits are reported in the wild.

Summary

The vulnerability in FFmpeg (libav) up to version 8.1.2 is an information disclosure issue in the LCL/ZLIB video decoder. When a zlib stream decompresses to fewer bytes than the expected frame size, the decompression function does not treat this as a fatal error and proceeds to copy the entire frame size worth of data from the allocation buffer. This behavior can leak uninitialized heap memory contents, potentially exposing sensitive data. This memory disclosure can assist attackers in bypassing ASLR protections in media processing environments. The issue is tracked as CVE-2026-66038 and has a CVSS 3.1 base score of 6.5 (medium severity). A patch fixing this vulnerability is available as of commit 8670835.

Weaknesses

References

Community reviews

Loading reviews…