{"id":"JLSEC-2026-547","details":"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.","modified":"2026-07-25T18:24:37.065303791Z","published":"2026-05-26T19:31:24.313Z","upstream":["CVE-2022-1122"],"database_specific":{"license":"CC-BY-4.0","sources":[{"html_url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1122","database_specific":{"status":"Modified"},"id":"CVE-2022-1122","imported":"2026-07-17T22:06:47.875Z","modified":"2026-06-17T04:21:52.250Z","published":"2022-03-29T18:15:07.977Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2022-1122"}]},"references":[{"type":"WEB","url":"https://github.com/uclouvain/openjpeg/issues/1368"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2022/04/msg00006.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00002.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MIWSQFQWXDU4MT3XTVAO6HC7TVL3NHS7/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMKBAMK2CAM5TMC5TODKVCE5AAPTD5YV/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ROSN5NRUFOH7HGLJ4ZSKPGAKLFXJALW4/"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202209-04"}],"affected":[{"package":{"name":"OpenJpeg_jll","ecosystem":"Julia","purl":"pkg:julia/OpenJpeg_jll?uuid=643b3616-a352-519d-856d-80112ee9badc"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.4.0+0"},{"fixed":"2.5.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-547.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V2","score":"AV:N/AC:M/Au:N/C:N/I:N/A:P"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}