CVE-2023-46407
Ffmpeg vulnerability analysis and mitigation

Overview

FFmpeg prior to commit bf814 was discovered to contain an out-of-bounds read vulnerability (CVE-2023-46407) in the readvlcprefix() function, specifically related to the dist->alphabet_size variable. The vulnerability was identified and reported in October 2023, affecting FFmpeg versions up to 6.1 (NVD).

Technical details

The vulnerability stems from a regression introduced in commit f7ac351, where the size of a dynamically allocated buffer was reduced but became too small for very small alphabet sizes, leading to an out-of-bounds read condition. The issue specifically affects the readvlcprefix() function in the JPEG XL parser component. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (MEDIUM) with a vector string of CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N (NVD).

Impact

The out-of-bounds read vulnerability could allow attackers to read data beyond allocated memory boundaries, potentially leading to information disclosure. The vulnerability requires user interaction to be exploited and has high confidentiality impact but no effect on integrity or availability (NVD).

Mitigation and workarounds

The vulnerability was fixed in FFmpeg commit bf814387f42e9b0dea9d75c03db4723c88e7d962, which restores the buffer size to prevent the out-of-bounds read. Users should upgrade to FFmpeg version 6.1 or later, or apply the provided patch (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-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