Heap-based Buffer Overflow Affecting openjpeg2-devel package, versions <0:2.3.1-2.el7_7


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.59% (79th 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-RHEL7-OPENJPEG2DEVEL-4932472
  • published26 Jul 2021
  • disclosed13 Jan 2020

Introduced: 13 Jan 2020

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

How to fix?

Upgrade RHEL:7 openjpeg2-devel to version 0:2.3.1-2.el7_7 or higher.
This issue was patched in RHSA-2020:0262.

NVD Description

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

OpenJPEG through 2.3.1 has a heap-based buffer overflow in opj_t1_clbl_decode_processor in openjp2/t1.c because of lack of opj_j2k_update_image_dimensions validation.

CVSS Scores

version 3.1