CVE-2025-63757
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-12-18

Last updated on: 2025-12-19

Assigner: MITRE

Description
Integer overflow vulnerability in the yuv2ya16_X_c_template function in libswscale/output.c in FFmpeg 8.0.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-18
Last Modified
2025-12-19
Generated
2026-06-16
AI Q&A
2025-12-18
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
ffmpeg ffmpeg 8.0.1
ffmpeg ffmpeg 8.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2025-63757 is an integer overflow vulnerability in FFmpeg 8.0, specifically in the libswscale library's function yuv2ya16_X_c_template() in output.c. The issue occurs during color space conversion from YUV to YA16 formats, where multiplication of source pixel values by filter coefficients is done using signed integers. This can cause an overflow in the accumulation of filtered pixel values, leading to undefined behavior. The vulnerability was fixed by changing the multiplication to use unsigned integers to prevent overflow. [1]

Impact Analysis

This vulnerability can lead to undefined behavior during multimedia processing in FFmpeg, potentially causing crashes, incorrect image processing results, or exploitable conditions that might be leveraged by attackers to compromise systems using vulnerable FFmpeg versions. [1, 2]

Mitigation Strategies

To mitigate CVE-2025-63757, you should update FFmpeg to a version that includes the fix, such as version 8.0.1 or later, or apply the patch identified by commit hashes 0c6b7f9483a38657c9be824572b4c0c45d4d9fef and 716cf25eb8616e8e068a7c2a5d23ae107bd117b4. This fix changes the arithmetic in the yuv2ya16_X_c_template function to prevent integer overflow by casting filter coefficients to unsigned integers before multiplication. [1, 2]

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-63757. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart