| Name | CVE-2020-15389 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-2277-1, DSA-4882-1 |
| Debian Bugs | 965220 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| openjpeg2 (PTS) | bullseye | 2.4.0-3 | fixed |
| bullseye (security) | 2.4.0-3+deb11u2 | fixed | |
| bookworm | 2.5.0-2+deb12u2 | fixed | |
| bookworm (security) | 2.5.0-2+deb12u3 | fixed | |
| trixie | 2.5.3-2.1~deb13u1 | fixed | |
| trixie (security) | 2.5.3-2.1~deb13u2 | fixed | |
| sid, forky | 2.5.4-1.1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| openjpeg2 | source | stretch | 2.1.2-1.1+deb9u5 | DLA-2277-1 | ||
| openjpeg2 | source | buster | 2.3.0-2+deb10u2 | DSA-4882-1 | ||
| openjpeg2 | source | (unstable) | 2.4.0-1 | 965220 |
https://github.com/uclouvain/openjpeg/issues/1261
https://github.com/uclouvain/openjpeg/commit/e8e258ab049240c2dd1f1051b4e773b21e2d3dc0 (v2.4.0)