{"api_version":"1","generated_at":"2026-04-23T02:18:56+00:00","cve":"CVE-2022-1122","urls":{"html":"https://cve.report/CVE-2022-1122","api":"https://cve.report/api/cve/CVE-2022-1122.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-1122","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-1122"},"summary":{"title":"CVE-2022-1122","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-03-29 18:15:00","updated_at":"2023-11-07 03:41:00"},"problem_types":["CWE-665"],"metrics":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2067052","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2067052","refsource":"MISC","tags":[],"title":"2067052 – (CVE-2022-1122) CVE-2022-1122 openjpeg: segmentation fault in opj2_decompress due to uninitialized pointer","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MIWSQFQWXDU4MT3XTVAO6HC7TVL3NHS7/","name":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MIWSQFQWXDU4MT3XTVAO6HC7TVL3NHS7/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 34 Update: openjpeg2-2.4.0-4.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ROSN5NRUFOH7HGLJ4ZSKPGAKLFXJALW4/","name":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ROSN5NRUFOH7HGLJ4ZSKPGAKLFXJALW4/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 35 Update: mingw-openjpeg2-2.4.0-5.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2022:7645","name":"https://access.redhat.com/errata/RHSA-2022:7645","refsource":"MISC","tags":[],"title":"Red Hat Customer Portal - Access to 24x7 support and knowledge","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/uclouvain/openjpeg/issues/1368","name":"https://github.com/uclouvain/openjpeg/issues/1368","refsource":"MISC","tags":[],"title":"Exist a issues of freeing uninitialized pointer in src/bin/jp2/opj_decompress.c，that will cause a segfault · Issue #1368 · uclouvain/openjpeg · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMKBAMK2CAM5TMC5TODKVCE5AAPTD5YV/","name":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMKBAMK2CAM5TMC5TODKVCE5AAPTD5YV/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 36 Update: openjpeg2-2.4.0-10.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ROSN5NRUFOH7HGLJ4ZSKPGAKLFXJALW4/","name":"FEDORA-2022-9515529c96","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: mingw-openjpeg2-2.4.0-5.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202209-04","name":"GLSA-202209-04","refsource":"GENTOO","tags":[],"title":"OpenJPEG: Multiple Vulnerabilities (GLSA 202209-04) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MIWSQFQWXDU4MT3XTVAO6HC7TVL3NHS7/","name":"FEDORA-2022-2d112d4480","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: openjpeg2-2.4.0-4.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2022/04/msg00006.html","name":"[debian-lts-announce] 20220410 [SECURITY] [DLA 2975-1] openjpeg2 security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2975-1] openjpeg2 security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RMKBAMK2CAM5TMC5TODKVCE5AAPTD5YV/","name":"FEDORA-2022-975e21444a","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 36 Update: openjpeg2-2.4.0-10.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://access.redhat.com/errata/RHSA-2022:8207","name":"https://access.redhat.com/errata/RHSA-2022:8207","refsource":"MISC","tags":[],"title":"Red Hat Customer Portal - Access to 24x7 support and knowledge","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/security/cve/CVE-2022-1122","name":"https://access.redhat.com/security/cve/CVE-2022-1122","refsource":"MISC","tags":[],"title":"Red Hat Customer Portal - Access to 24x7 support and knowledge","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-1122","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1122","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"1122","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"1122","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"1122","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"1122","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"36","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"1122","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"uclouvain","cpe5":"openjpeg","cpe6":"2.4.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-1122","qid":"160253","title":"Oracle Enterprise Linux Security Update for openjpeg2 (ELSA-2022-7645)"},{"cve":"CVE-2022-1122","qid":"160292","title":"Oracle Enterprise Linux Security Update for openjpeg2 (ELSA-2022-8207)"},{"cve":"CVE-2022-1122","qid":"179181","title":"Debian Security Update for openjpeg2 (DLA 2975-1)"},{"cve":"CVE-2022-1122","qid":"184393","title":"Debian Security Update for openjpeg2 (CVE-2022-1122)"},{"cve":"CVE-2022-1122","qid":"20317","title":"Oracle Database 21c Critical Patch Update - January 2023"},{"cve":"CVE-2022-1122","qid":"20318","title":"Oracle Database 19c Critical Patch Update - January 2023"},{"cve":"CVE-2022-1122","qid":"20319","title":"Oracle Database 19c Critical OJVM Patch Update - January 2023"},{"cve":"CVE-2022-1122","qid":"240849","title":"Red Hat Update for openjpeg2 (RHSA-2022:7645)"},{"cve":"CVE-2022-1122","qid":"240863","title":"Red Hat Update for openjpeg2 (RHSA-2022:8207)"},{"cve":"CVE-2022-1122","qid":"282541","title":"Fedora Security Update for mingw (FEDORA-2022-9515529c96)"},{"cve":"CVE-2022-1122","qid":"282583","title":"Fedora Security Update for mingw (FEDORA-2022-2d112d4480)"},{"cve":"CVE-2022-1122","qid":"354122","title":"Amazon Linux Security Advisory for openjpeg2 : ALAS2-2022-1894"},{"cve":"CVE-2022-1122","qid":"354320","title":"Amazon Linux Security Advisory for openjpeg2 : ALAS2022-2022-184"},{"cve":"CVE-2022-1122","qid":"354458","title":"Amazon Linux Security Advisory for openjpeg2 : ALAS2022-2022-122"},{"cve":"CVE-2022-1122","qid":"355194","title":"Amazon Linux Security Advisory for openjpeg2 : ALAS2023-2023-040"},{"cve":"CVE-2022-1122","qid":"502228","title":"Alpine Linux Security Update for openjpeg"},{"cve":"CVE-2022-1122","qid":"504233","title":"Alpine Linux Security Update for openjpeg"},{"cve":"CVE-2022-1122","qid":"671901","title":"EulerOS Security Update for openjpeg2 (EulerOS-SA-2022-1941)"},{"cve":"CVE-2022-1122","qid":"671923","title":"EulerOS Security Update for openjpeg2 (EulerOS-SA-2022-2004)"},{"cve":"CVE-2022-1122","qid":"671932","title":"EulerOS Security Update for openjpeg2 (EulerOS-SA-2022-1974)"},{"cve":"CVE-2022-1122","qid":"671993","title":"EulerOS Security Update for openjpeg2 (EulerOS-SA-2022-2140)"},{"cve":"CVE-2022-1122","qid":"672008","title":"EulerOS Security Update for openjpeg2 (EulerOS-SA-2022-2165)"},{"cve":"CVE-2022-1122","qid":"710617","title":"Gentoo Linux OpenJPEG Multiple Vulnerabilities (GLSA 202209-04)"},{"cve":"CVE-2022-1122","qid":"751971","title":"SUSE Enterprise Linux Security Update for openjpeg2 (SUSE-SU-2022:1129-1)"},{"cve":"CVE-2022-1122","qid":"752044","title":"SUSE Enterprise Linux Security Update for openjpeg2 (SUSE-SU-2022:1252-1)"},{"cve":"CVE-2022-1122","qid":"940739","title":"AlmaLinux Security Update for openjpeg2 (ALSA-2022:7645)"},{"cve":"CVE-2022-1122","qid":"940800","title":"AlmaLinux Security Update for openjpeg2 (ALSA-2022:8207)"},{"cve":"CVE-2022-1122","qid":"960458","title":"Rocky Linux Security Update for openjpeg2 (RLSA-2022:7645)"},{"cve":"CVE-2022-1122","qid":"960624","title":"Rocky Linux Security Update for openjpeg2 (RLSA-2022:8207)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2022-1122","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-665->CWE-824","cweId":"CWE-665"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"openjpeg2","version":{"version_data":[{"version_affected":"=","version_value":"openjpeg2 version 2.4.0 and prior"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/uclouvain/openjpeg/issues/1368","refsource":"MISC","name":"https://github.com/uclouvain/openjpeg/issues/1368"},{"url":"https://lists.debian.org/debian-lts-announce/2022/04/msg00006.html","refsource":"MISC","name":"https://lists.debian.org/debian-lts-announce/2022/04/msg00006.html"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MIWSQFQWXDU4MT3XTVAO6HC7TVL3NHS7/","refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MIWSQFQWXDU4MT3XTVAO6HC7TVL3NHS7/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMKBAMK2CAM5TMC5TODKVCE5AAPTD5YV/","refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMKBAMK2CAM5TMC5TODKVCE5AAPTD5YV/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ROSN5NRUFOH7HGLJ4ZSKPGAKLFXJALW4/","refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ROSN5NRUFOH7HGLJ4ZSKPGAKLFXJALW4/"},{"url":"https://security.gentoo.org/glsa/202209-04","refsource":"MISC","name":"https://security.gentoo.org/glsa/202209-04"}]}},"nvd":{"publishedDate":"2022-03-29 18:15:00","lastModifiedDate":"2023-11-07 03:41:00","problem_types":["CWE-665"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:uclouvain:openjpeg:2.4.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}