A flaw was found in the opj2_decompress program in openjpeg2 2.4.0 in the way it handles…
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 4 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-824 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | openjpeg2 | openjpeg2 version 2.4.0 and prior | — | No fix listed | CNA |
- openjpeg2 Vendor— Affected openjpeg2 version 2.4.0 and prior Fixed in — No fix listed CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:uclouvain:openjpeg:2.4.0:*:*:*:*:*:*:* | 2.4.0 | Vulnerable | The OpenJPEG Project |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 35 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* | 36 | Vulnerable | Fedoraproject |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
- cpe:2.3:a:uclouvain:openjpeg:2.4.0:*:*:*:*:*:*:* Versions 2.4.0 Vulnerable ·The OpenJPEG Project
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
Remediation
Red Hat 2 advisories
- RHSA-2022:8207 Released 2022-11-15 · Red Hat rating Lowopenjpeg2 security update
- Red Hat CodeReady Linux Builder (v. 9) openjpeg2-devel-2.4.0-7.el9, openjpeg2-tools-2.4.0-7.el9
- Red Hat Enterprise Linux AppStream (v. 9) openjpeg2-2.4.0-7.el9
- RHSA-2022:7645 Released 2022-11-08 · Red Hat rating Lowopenjpeg2 security update
- Red Hat CodeReady Linux Builder (v. 8) openjpeg2-devel-2.4.0-5.el8, openjpeg2-tools-2.4.0-5.el8
- Red Hat Enterprise Linux AppStream (v. 8) openjpeg2-2.4.0-5.el8, openjpeg2-devel-docs-2.4.0-5.el8, openjpeg2-tools-2.4.0-5.el8
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2022:7645 |
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2022:8207 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2022:7645 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2022:8207 |
Not affected: 2 products
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2022-1122
- 2026-10-03 Alias added: GHSA-4x8v-rchj-qvpf
References
Sources
- CVE-2022-1122 · CVE Program
- CVE-2022-1122 · NVD
- FIRST EPSS
- GHSA-4x8v-rchj-qvpf · GitHub Advisory Database · CC BY 4.0
- CVE-2022-1122 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences