Heap-based Buffer Overflow Affecting openjpeg2 package, versions <2.1.2-1.1+deb9u6


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Availability High

    Threat Intelligence

    EPSS 0.16% (52nd percentile)
Expand this section
NVD
5.5 medium
Expand this section
Red Hat
5.5 medium
Expand this section
SUSE
4.8 medium

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-DEBIAN9-OPENJPEG2-1051987
  • published 16 Dec 2020
  • disclosed 5 Jan 2021

How to fix?

Upgrade Debian:9 openjpeg2 to version 2.1.2-1.1+deb9u6 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 Debian. See How to fix? for Debian:9 relevant fixed versions and status.

There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from this flaw is to application availability.