CVE-2022-1122

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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/uclouvain/openjpeg/issues/1368
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ROSN5NRUFOH7HGLJ4ZSKPGAKLFXJALW4/
MLIST https://lists.debian.org/debian-lts-announce/2022/04/msg00006.html
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MIWSQFQWXDU4MT3XTVAO6HC7TVL3NHS7/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RMKBAMK2CAM5TMC5TODKVCE5AAPTD5YV/
Third Party Advisory https://security.gentoo.org/glsa/202209-04

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:uclouvain:openjpeg:2.4.0:*:*:*:*:*:*:* openjpeg == None == 2.4.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
openjpeg 3.15-main 2.4.0-r2 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
openjpeg 3.14-main 2.4.0-r1 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
openjpeg 3.13-main 2.4.0-r1 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
openjpeg 3.12-main 2.4.0-r1 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
openjpeg 3.16-main 2.5.0-r0 Francesco Colista <fcolista@alpinelinux.org> fixed
openjpeg 3.17-main 2.5.0-r0 Francesco Colista <fcolista@alpinelinux.org> fixed