CVE-2022-1122

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:uclouvain:openjpeg:2.4.0:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*

Configuration 3 (hide)

cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

History

21 Nov 2024, 06:40

Type Values Removed Values Added
References () https://github.com/uclouvain/openjpeg/issues/1368 - Third Party Advisory () https://github.com/uclouvain/openjpeg/issues/1368 - Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2022/04/msg00006.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2022/04/msg00006.html - Mailing List, Third Party Advisory
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MIWSQFQWXDU4MT3XTVAO6HC7TVL3NHS7/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MIWSQFQWXDU4MT3XTVAO6HC7TVL3NHS7/ -
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMKBAMK2CAM5TMC5TODKVCE5AAPTD5YV/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMKBAMK2CAM5TMC5TODKVCE5AAPTD5YV/ -
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ROSN5NRUFOH7HGLJ4ZSKPGAKLFXJALW4/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ROSN5NRUFOH7HGLJ4ZSKPGAKLFXJALW4/ -
References () https://security.gentoo.org/glsa/202209-04 - Third Party Advisory () https://security.gentoo.org/glsa/202209-04 - Third Party Advisory

07 Nov 2023, 03:41

Type Values Removed Values Added
CWE CWE-824

Information

Published : 2022-03-29 18:15

Updated : 2024-11-21 06:40


NVD link : CVE-2022-1122

Mitre link : CVE-2022-1122

CVE.ORG link : CVE-2022-1122


JSON object : View

Products Affected

debian

  • debian_linux

fedoraproject

  • fedora

uclouvain

  • openjpeg
CWE
CWE-665

Improper Initialization

CWE-824

Access of Uninitialized Pointer