Incorrect Calculation of Buffer Size Affecting libswscale4 package, versions <3.4.2-150200.11.79.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.13% (3rd 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 IDSNYK-SLES154-LIBSWSCALE4-19680353
  • published11 Sept 2026
  • disclosed3 Sept 2026

Introduced: 3 Sep 2026

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

How to fix?

Upgrade SLES:15.4 libswscale4 to version 3.4.2-150200.11.79.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libswscale4 package and not the libswscale4 package as distributed by SLES. See How to fix? for SLES:15.4 relevant fixed versions and status.

FFmpeg versions 3.0 through 8.1.2 contain an out-of-bounds write vulnerability in the vf_swaprect video filter that allows attackers to corrupt heap memory by supplying a crafted NV12 video frame with odd width dimensions. The filter_frame() function reuses a temporary row buffer sized for plane 0's single-byte pixel step across all planes, causing an 18-byte memcpy into a 17-byte heap allocation when processing the two-byte-per-sample interleaved chroma plane of a 17x16 NV12 frame, resulting in heap corruption and process crash with potential for code execution.

CVSS Base Scores

version 3.1