CVE-2022-1122

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductUclouvain Openjpeg
PublishedMar 29, 2022
First seenMar 29, 2022
Weakness typeCWE-665CWE-665

How to fix

Affected products

ProductAffected versionsFixed in
uclouvain openjpeg2.4.0—
fedoraproject fedora34, 35, 36—
debian debian_linux9.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.