CVE-2020-36138
Ffmpeg vulnerability analysis and mitigation

Overview

CVE-2020-36138 is a vulnerability discovered in FFmpeg version 4.3, specifically in the decode_frame function within libavcodec/tiff.c. The vulnerability allows remote attackers to cause a denial of service (DoS) through a NULL pointer dereference. The issue was discovered by 1vanChen of NSFOCUS Security Team and was later fixed (FFmpeg Commit).

Technical details

The vulnerability stems from an uninitialized variable in the decodeframe function when handling tiled TIFF images. When s->istiled=1, the initialization of the variable stripdata is skipped, leading to a NULL pointer dereference in the ff_tget function. The issue has a CVSS v3.1 Base Score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can be exploited to cause a denial of service condition through application crashes. When successfully exploited, it affects the availability of the system processing TIFF images through FFmpeg, particularly when handling tiled TIFF files (Rapid7).

Mitigation and workarounds

The vulnerability was fixed in commit 292e41ce650a7b5ca5de4ae87fff0d6a90d9fc97, which disallows striped and tiled TIFFs except for DNG files. The patch modifies the decode_frame function to properly handle these cases and prevent the NULL pointer dereference. Users should upgrade to a version of FFmpeg that includes this fix (FFmpeg Patch).

Additional resources


SourceThis report was generated using AI

Related Ffmpeg vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59734HIGH8.7
  • FfmpegFfmpeg
  • ffmpeg
NoYesOct 06, 2025
CVE-2025-59733HIGH8.7
  • FfmpegFfmpeg
  • ffmpeg
NoYesOct 06, 2025
CVE-2025-59732HIGH8.7
  • FfmpegFfmpeg
  • ffmpeg
NoYesOct 06, 2025
CVE-2025-7700MEDIUM5.3
  • FfmpegFfmpeg
  • libavcodec57
NoYesNov 07, 2025
CVE-2025-12343N/AN/A
  • FfmpegFfmpeg
  • ffmpeg
NoYesOct 28, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management