Heap-based Buffer Overflow Affecting openjpeg2 package, versions <2.3.1-1ubuntu5


Severity

medium

    Threat Intelligence

    EPSS
    0.24% (65th 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-UBUNTU2204-OPENJPEG2-2787488
  • published 5 Dec 2020
  • disclosed 26 Jan 2021

How to fix?

Upgrade Ubuntu:22.04 openjpeg2 to version 2.3.1-1ubuntu5 or higher.

NVD Description

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

A heap-buffer overflow was found in the way openjpeg2 handled certain PNG format files. An attacker could use this flaw to cause an application crash or in some cases execute arbitrary code with the permission of the user running such an application.

CVSS Scores

version 3.1
Expand this section

Snyk

7.8 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

7.8 high
Expand this section

Red Hat

7.8 high
Expand this section

SUSE

6.8 medium