Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-1122

published

openjpeg: segmentation fault in opj2_decompress due to uninitialized pointer

Title from Red Hat VEX

Published
29 Mar 2022, 17:25:44 UTC
Updated
03 Nov 2025, 19:26:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — openjpeg2openjpeg2 version 2.4.0 and prior Affected Not stated redhat
Amazon Linux AL2 Release evaluationALAS2-2022-1894 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-040 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 openjpeg2 Advisory build 2.4.0-5.el8 ALSA-2022:7645
Debian bullseye openjpeg2 Advisory build 2.4.0-3+deb11u1 DLA-4107-1
Oracle Linux 8 openjpeg2aarch64 Advisory build 0:2.4.0-5.el8 ELSA-2022-7645
Red Hat Enterprise Linux RHEL-8 openjpeg2aarch64 Advisory build 2.4.0-5.el8 RHSA-2022:7645
SUSE / openSUSE SLE-15 openjpeg2aarch64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
Show 95 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu bionic openjpeg2 Advisory build 2.3.0-2+deb10u2ubuntu0.1~esm3 USN-7083-1
Alpine Linux edge openjpeg Fixed 2.5.0-r0 Package fix record
AlmaLinux 9 openjpeg2 Advisory build 2.4.0-7.el9 ALSA-2022:8207
Debian stretch openjpeg2 Advisory build 2.1.2-1.1+deb9u7 DLA-2975-1
Oracle Linux 8 openjpeg2x86_64 Advisory build 0:2.4.0-5.el8 ELSA-2022-7645
Oracle Linux 9 openjpeg2aarch64 Advisory build 0:2.4.0-7.el9 ELSA-2022-8207
Oracle Linux 9 openjpeg2x86_64 Advisory build 0:2.4.0-7.el9 ELSA-2022-8207
Red Hat Enterprise Linux RHEL-8 openjpeg2i686 Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2ppc64le Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2s390x Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2src Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2x86_64 Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-9 openjpeg2aarch64 Advisory build 2.4.0-7.el9 RHSA-2022:8207
Red Hat Enterprise Linux RHEL-9 openjpeg2i686 Advisory build 2.4.0-7.el9 RHSA-2022:8207
Red Hat Enterprise Linux RHEL-9 openjpeg2ppc64le Advisory build 2.4.0-7.el9 RHSA-2022:8207
Red Hat Enterprise Linux RHEL-9 openjpeg2s390x Advisory build 2.4.0-7.el9 RHSA-2022:8207
Red Hat Enterprise Linux RHEL-9 openjpeg2src Advisory build 2.4.0-7.el9 RHSA-2022:8207
Red Hat Enterprise Linux RHEL-9 openjpeg2x86_64 Advisory build 2.4.0-7.el9 RHSA-2022:8207
SUSE / openSUSE SLE-15 openjpeg2ppc64le Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15 openjpeg2s390x Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15 openjpeg2x86_64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP1 openjpeg2aarch64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP1 openjpeg2ppc64le Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP1 openjpeg2s390x Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP1 openjpeg2x86_64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP2 openjpeg2aarch64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP2 openjpeg2ppc64le Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP2 openjpeg2s390x Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP2 openjpeg2x86_64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP3 openjpeg2aarch64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP3 openjpeg2ppc64le Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP3 openjpeg2s390x Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP3 openjpeg2x86_64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE openSUSE-Leap-15.3 openjpeg2aarch64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE openSUSE-Leap-15.3 openjpeg2ppc64le Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE openSUSE-Leap-15.3 openjpeg2s390x Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE openSUSE-Leap-15.3 openjpeg2x86_64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE openSUSE-Tumbleweed openjpeg2aarch64 Advisory build 2.5.0-4.1 OPENSUSE-SU-2024:13571-1
SUSE / openSUSE openSUSE-Tumbleweed openjpeg2ppc64le Advisory build 2.5.0-4.1 OPENSUSE-SU-2024:13571-1
SUSE / openSUSE openSUSE-Tumbleweed openjpeg2s390x Advisory build 2.5.0-4.1 OPENSUSE-SU-2024:13571-1
SUSE / openSUSE openSUSE-Tumbleweed openjpeg2x86_64 Advisory build 2.5.0-4.1 OPENSUSE-SU-2024:13571-1
Ubuntu focal openjpeg2 Advisory build 2.3.1-1ubuntu4.20.04.3 USN-7083-1
Ubuntu jammy openjpeg2 Advisory build 2.4.0-6ubuntu0.2 USN-7083-1
Ubuntu xenial openjpeg2 Advisory build 2.1.2-1.1+deb9u6ubuntu0.1~esm6 USN-7083-1
AlmaLinux 8 openjpeg2-devel Advisory build 2.4.0-5.el8 ALSA-2022:7645
AlmaLinux 8 openjpeg2-devel-docs Advisory build 2.4.0-5.el8 ALSA-2022:7645
AlmaLinux 8 openjpeg2-tools Advisory build 2.4.0-5.el8 ALSA-2022:7645
AlmaLinux 9 openjpeg2-devel Advisory build 2.4.0-7.el9 ALSA-2022:8207
AlmaLinux 9 openjpeg2-tools Advisory build 2.4.0-7.el9 ALSA-2022:8207
Alpine Linux v3.16 openjpeg Fixed 2.5.0-r0 Package fix record
Alpine Linux v3.17 openjpeg Fixed 2.5.0-r0 Package fix record
Alpine Linux v3.18 openjpeg Fixed 2.5.0-r0 Package fix record
Alpine Linux v3.19 openjpeg Fixed 2.5.0-r0 Package fix record
Alpine Linux v3.20 openjpeg Fixed 2.5.0-r0 Package fix record
Alpine Linux v3.21 openjpeg Fixed 2.5.0-r0 Package fix record
Alpine Linux v3.22 openjpeg Fixed 2.5.0-r0 Package fix record
Alpine Linux v3.23 openjpeg Fixed 2.5.0-r0 Package fix record
Alpine Linux v3.24 openjpeg Fixed 2.5.0-r0 Package fix record
Oracle Linux 8 openjpeg2-develaarch64 Advisory build 0:2.4.0-5.el8 ELSA-2022-7645
Oracle Linux 8 openjpeg2-develx86_64 Advisory build 0:2.4.0-5.el8 ELSA-2022-7645
Oracle Linux 8 openjpeg2-devel-docsaarch64 Advisory build 0:2.4.0-5.el8 ELSA-2022-7645
Oracle Linux 8 openjpeg2-devel-docsx86_64 Advisory build 0:2.4.0-5.el8 ELSA-2022-7645
Oracle Linux 8 openjpeg2-toolsaarch64 Advisory build 0:2.4.0-5.el8 ELSA-2022-7645
Oracle Linux 8 openjpeg2-toolsx86_64 Advisory build 0:2.4.0-5.el8 ELSA-2022-7645
Oracle Linux 9 openjpeg2-develaarch64 Advisory build 0:2.4.0-7.el9 ELSA-2022-8207
Oracle Linux 9 openjpeg2-develx86_64 Advisory build 0:2.4.0-7.el9 ELSA-2022-8207
Oracle Linux 9 openjpeg2-toolsaarch64 Advisory build 0:2.4.0-7.el9 ELSA-2022-8207
Oracle Linux 9 openjpeg2-toolsx86_64 Advisory build 0:2.4.0-7.el9 ELSA-2022-8207
Red Hat Enterprise Linux RHEL-8 openjpeg2-debuginfoaarch64 Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-debuginfoi686 Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-debuginfoppc64le Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-debuginfos390x Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-debuginfox86_64 Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-debugsourceaarch64 Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-debugsourcei686 Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-debugsourceppc64le Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-debugsources390x Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-debugsourcex86_64 Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-devel-docsnoarch Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-toolsaarch64 Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-toolsppc64le Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-toolss390x Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-toolsx86_64 Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-tools-debuginfoaarch64 Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-tools-debuginfoi686 Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-tools-debuginfoppc64le Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-tools-debuginfos390x Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-8 openjpeg2-tools-debuginfox86_64 Advisory build 2.4.0-5.el8 RHSA-2022:7645
Red Hat Enterprise Linux RHEL-9 openjpeg2-debuginfoaarch64 Advisory build 2.4.0-7.el9 RHSA-2022:8207
Red Hat Enterprise Linux RHEL-9 openjpeg2-debuginfoi686 Advisory build 2.4.0-7.el9 RHSA-2022:8207
Red Hat Enterprise Linux RHEL-9 openjpeg2-debuginfoppc64le Advisory build 2.4.0-7.el9 RHSA-2022:8207
Red Hat Enterprise Linux RHEL-9 openjpeg2-debuginfos390x Advisory build 2.4.0-7.el9 RHSA-2022:8207
Red Hat Enterprise Linux RHEL-9 openjpeg2-debuginfox86_64 Advisory build 2.4.0-7.el9 RHSA-2022:8207
Red Hat Enterprise Linux RHEL-9 openjpeg2-debugsourceaarch64 Advisory build 2.4.0-7.el9 RHSA-2022:8207
Red Hat Enterprise Linux RHEL-9 openjpeg2-debugsourcei686 Advisory build 2.4.0-7.el9 RHSA-2022:8207

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

36

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a openjpeg2 openjpeg2 version 2.4.0 and prior (affected) redhat · cna

Weaknesses

1
  • CWE-665 CWE-665->CWE-824 (redhat · cna)

References

7

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
6443d1868c86255c300b6f405b3c4f5a135404efa48c9ba429258db309507c35
Ingested
23 Sep 2026, 07:57:41 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected