Name | CVE-2022-1122 |
Description | A flaw was found in the opj2_decompress program in openjpeg2 2.4.0 in the way it handles an input directory with a large number of files. When it fails to allocate a buffer to store the filenames of the input directory, it calls free() on an uninitialized pointer, leading to a segmentation fault and a denial of service. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2975-1, DLA-4107-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
openjpeg2 (PTS) | bullseye | 2.4.0-3 | vulnerable |
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 | stretch | 2.1.2-1.1+deb9u7 | DLA-2975-1 | ||
openjpeg2 | source | bullseye | 2.4.0-3+deb11u1 | DLA-4107-1 | ||
openjpeg2 | source | (unstable) | 2.5.0-1 |
[buster] - openjpeg2 <no-dsa> (Minor issue)
https://github.com/uclouvain/openjpeg/issues/1368
https://github.com/uclouvain/openjpeg/commit/0afbdcf3e6d0d2bd2e16a0c4d513ee3cf86e460d