Use After Free Affecting openjpeg package, versions <2.3.0-r6


0.0
medium

Snyk CVSS

    Attack Complexity High
    Availability High

    Threat Intelligence

    EPSS 1.29% (86th percentile)
Expand this section
NVD
6.5 medium
Expand this section
SUSE
5.3 medium
Expand this section
Red Hat
6.5 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-ALPINE39-OPENJPEG-1009498
  • published 18 Sep 2020
  • disclosed 29 Jun 2020

How to fix?

Upgrade Alpine:3.9 openjpeg to version 2.3.0-r6 or higher.

NVD Description

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

jp2/opj_decompress.c in OpenJPEG through 2.3.1 has a use-after-free that can be triggered if there is a mix of valid and invalid files in a directory operated on by the decompressor. Triggering a double-free may also be possible. This is related to calling opj_image_destroy twice.