CVE-2022-3965
Ffmpeg vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2022-3965) was discovered in FFmpeg's QuickTime Graphics Video Encoder, specifically affecting the smc_encode_stream function in libavcodec/smcenc.c. The vulnerability was disclosed on November 13, 2022, and affects FFmpeg versions 5.0 and later. The issue is classified as problematic with a CVSS 3.1 score of 8.1 (High) (Ubuntu CVE).

Technical details

The vulnerability involves an out-of-bounds read issue in the QuickTime encoder's smc_encode_stream function. The manipulation of the y_size argument leads to unauthorized access beyond the intended frame boundaries. The vulnerability has been assigned a CVSS score of 8.1, indicating high severity, with attack vectors being network-based, requiring low complexity and no privileges, but needing user interaction (Ubuntu CVE).

Impact

When exploited, this vulnerability could allow attackers to cause a denial of service via application crash or access sensitive information through out-of-bounds frame access. The vulnerability affects the confidentiality and availability of the system, while integrity remains uncompromised (Ubuntu Security Notice).

Mitigation and workarounds

A patch has been released to address this vulnerability, identified by commit 13c13109759090b7f7182480d075e13b36ed8edd. For Ubuntu users, the fix is available in version 7:5.1.1-1ubuntu2.1 for Ubuntu 22.10. It's important to note that versions of FFmpeg before 5.0 are not vulnerable to this issue as the Apple Graphics (SMC) Encoder functions were not available (Ubuntu CVE, FFmpeg Commit).

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-63757HIGH7.5
  • FfmpegFfmpeg
  • ffmpeg
NoYesDec 18, 2025
CVE-2025-7700MEDIUM5.3
  • FfmpegFfmpeg
  • ffmpeg-4
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