{"id":"CVE-2022-1122","published":"2022-03-29T17:25:44Z","modified":"2025-11-03T19:26:42Z","title":"A flaw was found in the opj2_decompress program in openjpeg2 2.4.0 in the way it handles an input directory with a…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01104,"percentile":0.66581,"provenance":"source"},"cwes":[{"id":"CWE-665","name":"Improper Initialization"}],"references":[{"url":"https://github.com/uclouvain/openjpeg/issues/1368","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ROSN5NRUFOH7HGLJ4ZSKPGAKLFXJALW4/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/04/msg00006.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MIWSQFQWXDU4MT3XTVAO6HC7TVL3NHS7/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMKBAMK2CAM5TMC5TODKVCE5AAPTD5YV/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://security.gentoo.org/glsa/202209-04","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00002.html","tags":[]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":13.32}]},"affectedVersions":[{"vendor":"n/a","product":"openjpeg2","versions":["openjpeg2 version 2.4.0 and prior"]}],"euvd":{"id":"EUVD-2022-24465","exploited":false,"provenance":"source"}}