Vulnerability · Published Mar 29, 2022 · Assigned by redhat
CVE-2022-1122
Medium 5.5
In plain English
A medium-severity security flaw in openjpeg2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)1.1%top 34.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | openjpeg2 | 2.4.0-5.el8 | ALSA-2022:7645 |
| AlmaLinux:9 | openjpeg2 | 2.4.0-7.el9 | ALSA-2022:8207 |
| AlmaLinux:8 | openjpeg2-devel | 2.4.0-5.el8 | ALSA-2022:7645 |
| AlmaLinux:9 | openjpeg2-devel | 2.4.0-7.el9 | ALSA-2022:8207 |
| AlmaLinux:8 | openjpeg2-devel-docs | 2.4.0-5.el8 | ALSA-2022:7645 |
| AlmaLinux:8 | openjpeg2-tools | 2.4.0-5.el8 | ALSA-2022:7645 |
| AlmaLinux:9 | openjpeg2-tools | 2.4.0-7.el9 | ALSA-2022:8207 |
| Alpine:v3.20 | openjpeg | 2.5.0-r0 | ALPINE-CVE-2022-1122 |
| Alpine:v3.21 | openjpeg | 2.5.0-r0 | ALPINE-CVE-2022-1122 |
| Alpine:v3.22 | openjpeg | 2.5.0-r0 | ALPINE-CVE-2022-1122 |
| Alpine:v3.23 | openjpeg | 2.5.0-r0 | ALPINE-CVE-2022-1122 |
| Alpine:v3.24 | openjpeg | 2.5.0-r0 | ALPINE-CVE-2022-1122 |
| Debian:12 | openjpeg2 | 2.5.0-1 | DEBIAN-CVE-2022-1122 |
| Debian:13 | openjpeg2 | 2.5.0-1 | DEBIAN-CVE-2022-1122 |
| Debian:14 | openjpeg2 | 2.5.0-1 | DEBIAN-CVE-2022-1122 |
| Rocky Linux:8 | openjpeg2 | 0:2.4.0-5.el8 | RLSA-2022:7645 |
| Rocky Linux:9 | openjpeg2 | 0:2.4.0-7.el9 | RLSA-2022:8207 |
| Ubuntu:22.04:LTS | blender | no fix listed | UBUNTU-CVE-2022-1122 |
| Ubuntu:24.04:LTS | blender | no fix listed | UBUNTU-CVE-2022-1122 |
| Ubuntu:25.10 | blender | no fix listed | UBUNTU-CVE-2022-1122 |
| Ubuntu:26.04:LTS | blender | no fix listed | UBUNTU-CVE-2022-1122 |
| Ubuntu:26.10 | blender | no fix listed | UBUNTU-CVE-2022-1122 |
| Ubuntu:22.04:LTS | insighttoolkit4 | no fix listed | UBUNTU-CVE-2022-1122 |
| Ubuntu:22.04:LTS | openjpeg2 | 2.4.0-6ubuntu0.2 | UBUNTU-CVE-2022-1122 |
| Ubuntu:22.04:LTS | openjpeg2 | 2.4.0-6ubuntu0.2 | USN-7083-1 |
| Ubuntu:24.04:LTS | openjpeg2 | 2.5.0-2ubuntu0.2 | USN-7083-1 |
| Ubuntu:25.10 | qtwebengine-opensource-src | no fix listed | UBUNTU-CVE-2022-1122 |
| Ubuntu:26.10 | qtwebengine-opensource-src | no fix listed | UBUNTU-CVE-2022-1122 |
| Ubuntu:25.10 | texmaker | no fix listed | UBUNTU-CVE-2022-1122 |
| Ubuntu:26.04:LTS | texmaker | no fix listed | UBUNTU-CVE-2022-1122 |
| Ubuntu:26.10 | texmaker | no fix listed | UBUNTU-CVE-2022-1122 |
Affected products (as reported)
Weakness: CWE-665
References
- https://github.com/uclouvain/openjpeg/issues/1368 x_refsource_MISC
- FEDORA-2022-9515529c96 vendor-advisory, x_refsource_FEDORA
- [debian-lts-announce] 20220410 [SECURITY] [DLA 2975-1] openjpeg2 security update mailing-list, x_refsource_MLIST
- FEDORA-2022-2d112d4480 vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-975e21444a vendor-advisory, x_refsource_FEDORA
- GLSA-202209-04 vendor-advisory, x_refsource_GENTOO
- https://lists.debian.org/debian-lts-announce/2025/04/msg00002.html