Out-of-bounds Write Affecting ffmpeg package, versions <7:4.2.4-1ubuntu0.1


Severity

Recommended
medium

Based on Ubuntu security rating

    Threat Intelligence

    EPSS
    4.98% (93rd 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 ID SNYK-UBUNTU2004-FFMPEG-584311
  • published 30 Apr 2020
  • disclosed 28 Apr 2020

How to fix?

Upgrade Ubuntu:20.04 ffmpeg to version 7:4.2.4-1ubuntu0.1 or higher.

NVD Description

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

cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MARKER_SOS handling because of a missing length check.

CVSS Scores

version 3.1
Expand this section

NVD

9.8 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High