CVE-2022-1122

MEDIUM

openjpeg2 2.4.0 - Denial of Service via Uninitialized Pointer Free

Title source: llm
STIX 2.1

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.

References (7)

Core 7
Core References
Third Party Advisory x_refsource_misc
https://github.com/uclouvain/openjpeg/issues/1368
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2022/04/msg00006.html
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/202209-04

Scores

CVSS v3 5.5
EPSS 0.0108
EPSS Percentile 60.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Details

CWE
CWE-665 CWE-824
Status published
Products (5)
debian/debian_linux 9.0
fedoraproject/fedora 34
fedoraproject/fedora 35
fedoraproject/fedora 36
uclouvain/openjpeg 2.4.0
Published Mar 29, 2022
Tracked Since Feb 18, 2026