| Name | CVE-2020-6851 | 
| Description | 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. | 
| 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-2081-1, DLA-2277-1, DSA-4882-1 | 
| Debian Bugs | 950000 | 
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+deb11u1 | fixed | |
| bookworm | 2.5.0-2+deb12u2 | fixed | |
| bookworm (security) | 2.5.0-2+deb12u1 | fixed | |
| trixie | 2.5.3-2.1~deb13u1 | fixed | |
| forky, sid | 2.5.3-2.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 | jessie | 2.1.0-2+deb8u9 | DLA-2081-1 | ||
| 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 | 950000 | 
https://github.com/uclouvain/openjpeg/issues/1228
https://github.com/uclouvain/openjpeg/commit/024b8407392cb0b82b04b58ed256094ed5799e04 (v2.4.0)