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

07 Nov 2023, 03:41

Type Values Removed Values Added
CWE CWE-824

Information

Published : 2022-03-29 18:15

Updated : 2024-02-28 19:09


NVD link : CVE-2022-1122

Mitre link : CVE-2022-1122

CVE.ORG link : CVE-2022-1122


JSON object : View

Products Affected

debian

  • debian_linux

uclouvain

  • openjpeg

fedoraproject

  • fedora
CWE
CWE-665

Improper Initialization

CWE-824

Access of Uninitialized Pointer