{"id":"AZL-45240","summary":"CVE-2022-1122 affecting package openjpeg2 2.3.1-12","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-04-01T05:15:46.950103Z","published":"2022-03-29T18:15:07Z","upstream":["CVE-2022-1122"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1122"}],"affected":[{"package":{"name":"openjpeg2","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/openjpeg2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.3.1-12"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-45240.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}