CVE-2022-1122

Summary

CVECVE-2022-1122
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-03-29 18:15:00 UTC
Updated2023-11-07 03:41:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-665

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 9.0 All All All
Operating System Fedoraproject Fedora 34 All All All
Operating System Fedoraproject Fedora 35 All All All
Operating System Fedoraproject Fedora 36 All All All
Application Uclouvain Openjpeg 2.4.0 All All All

References

ReferenceSourceLinkTags
2067052 – (CVE-2022-1122) CVE-2022-1122 openjpeg: segmentation fault in opj2_decompress due to uninitialized pointer MISC bugzilla.redhat.com
[SECURITY] Fedora 34 Update: openjpeg2-2.4.0-4.fc34 - package-announce - Fedora Mailing-Lists MISC lists.fedoraproject.org
[SECURITY] Fedora 35 Update: mingw-openjpeg2-2.4.0-5.fc35 - package-announce - Fedora Mailing-Lists MISC lists.fedoraproject.org
Red Hat Customer Portal - Access to 24x7 support and knowledge MISC access.redhat.com
Exist a issues of freeing uninitialized pointer in src/bin/jp2/opj_decompress.c,that will cause a segfault · Issue #1368 · uclouvain/openjpeg · GitHub MISC github.com
[SECURITY] Fedora 36 Update: openjpeg2-2.4.0-10.fc36 - package-announce - Fedora Mailing-Lists MISC lists.fedoraproject.org
[SECURITY] Fedora 35 Update: mingw-openjpeg2-2.4.0-5.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
OpenJPEG: Multiple Vulnerabilities (GLSA 202209-04) — Gentoo security GENTOO security.gentoo.org
[SECURITY] Fedora 34 Update: openjpeg2-2.4.0-4.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] [DLA 2975-1] openjpeg2 security update MLIST lists.debian.org
[SECURITY] Fedora 36 Update: openjpeg2-2.4.0-10.fc36 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
Red Hat Customer Portal - Access to 24x7 support and knowledge MISC access.redhat.com
Red Hat Customer Portal - Access to 24x7 support and knowledge MISC access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 160253 Oracle Enterprise Linux Security Update for openjpeg2 (ELSA-2022-7645)
  • 160292 Oracle Enterprise Linux Security Update for openjpeg2 (ELSA-2022-8207)
  • 179181 Debian Security Update for openjpeg2 (DLA 2975-1)
  • 184393 Debian Security Update for openjpeg2 (CVE-2022-1122)
  • 20317 Oracle Database 21c Critical Patch Update - January 2023
  • 20318 Oracle Database 19c Critical Patch Update - January 2023
  • 20319 Oracle Database 19c Critical OJVM Patch Update - January 2023
  • 240849 Red Hat Update for openjpeg2 (RHSA-2022:7645)
  • 240863 Red Hat Update for openjpeg2 (RHSA-2022:8207)
  • 282541 Fedora Security Update for mingw (FEDORA-2022-9515529c96)
  • 282583 Fedora Security Update for mingw (FEDORA-2022-2d112d4480)
  • 354122 Amazon Linux Security Advisory for openjpeg2 : ALAS2-2022-1894
  • 354320 Amazon Linux Security Advisory for openjpeg2 : ALAS2022-2022-184
  • 354458 Amazon Linux Security Advisory for openjpeg2 : ALAS2022-2022-122
  • 355194 Amazon Linux Security Advisory for openjpeg2 : ALAS2023-2023-040
  • 502228 Alpine Linux Security Update for openjpeg
  • 504233 Alpine Linux Security Update for openjpeg
  • 671901 EulerOS Security Update for openjpeg2 (EulerOS-SA-2022-1941)
  • 671923 EulerOS Security Update for openjpeg2 (EulerOS-SA-2022-2004)
  • 671932 EulerOS Security Update for openjpeg2 (EulerOS-SA-2022-1974)
  • 671993 EulerOS Security Update for openjpeg2 (EulerOS-SA-2022-2140)
  • 672008 EulerOS Security Update for openjpeg2 (EulerOS-SA-2022-2165)
  • 710617 Gentoo Linux OpenJPEG Multiple Vulnerabilities (GLSA 202209-04)
  • 751971 SUSE Enterprise Linux Security Update for openjpeg2 (SUSE-SU-2022:1129-1)
  • 752044 SUSE Enterprise Linux Security Update for openjpeg2 (SUSE-SU-2022:1252-1)
  • 940739 AlmaLinux Security Update for openjpeg2 (ALSA-2022:7645)
  • 940800 AlmaLinux Security Update for openjpeg2 (ALSA-2022:8207)
  • 960458 Rocky Linux Security Update for openjpeg2 (RLSA-2022:7645)
  • 960624 Rocky Linux Security Update for openjpeg2 (RLSA-2022:8207)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report