CVE-2022-1122

5.5 MEDIUM
Published: March 29, 2022 Modified: November 03, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/uclouvain/openjpeg/issues/1368
Source: secalert@redhat.com
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/04/msg00006.html
Source: secalert@redhat.com
Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202209-04
Source: secalert@redhat.com
Third Party Advisory
https://github.com/uclouvain/openjpeg/issues/1368
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/04/msg00006.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202209-04
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

13 reference(s) from NVD

Quick Stats

CVSS v3 Score
5.5 / 10.0
EPSS (Exploit Probability)
0.1%
17th percentile
Exploitation Status
Not in CISA KEV

Affected Vendors

debian uclouvain fedoraproject