Heap-based Buffer Overflow Affecting openjpeg2 package, versions <0:2.4.0-4.el8


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.18% (56th 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-ALMALINUX8-OPENJPEG2-5653392
  • published28 May 2023
  • disclosed9 Nov 2021

Introduced: 9 Nov 2021

CVE-2020-27814  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 openjpeg2 to version 0:2.4.0-4.el8 or higher.
This issue was patched in ALSA-2021:4251.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openjpeg2 package and not the openjpeg2 package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 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