CVE-2025-63757
BaseFortify
Publication date: 2025-12-18
Last updated on: 2025-12-19
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| ffmpeg | ffmpeg | 8.0.1 |
| ffmpeg | ffmpeg | 8.0 |
Helpful Resources
Exploitability
| 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 Powered Q&A
Can you explain this vulnerability to me?
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]
How can this vulnerability impact me? :
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]
What immediate steps should I take to mitigate this vulnerability?
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]