Out-of-bounds Write Affecting ffmpeg package, versions [7.0.1,8.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-FFMPEG-23746567
  • published4 Dec 2026
  • disclosed4 Dec 2026
  • creditUnknown

Introduced: 4 Dec 2026

NewCVE-2026-144455  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade ffmpeg to version 8.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write in the yuv420_rgb24_lasx and yuv420_rgba32_lasx functions when converting YUV420P video to packed RGB on LoongArch CPUs with LASX, due to rounding the output width up to a multiple of 8 pixels and writing whole 8- and 16-pixel blocks. An attacker can corrupt heap memory and crash the application by supplying a specially crafted video with a width not divisible by 8, leading to writes past the end of the destination buffer. This is only exploitable if the application processes attacker-controlled YUV420P video using libswscale on a LoongArch CPU with LASX and tightly packed destination buffers.

CVSS Base Scores

version 4.0
version 3.1