Back
CVE-2022-1122
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.…
Medium5.5EPSS 1.1%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 1.1% · top 34% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
Affected products
openjpeg2
- affected openjpeg2 version 2.4.0 and prior
References (7)
- https://github.com/uclouvain/openjpeg/issues/1368 (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2022-9515529c96 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- [debian-lts-announce] 20220410 [SECURITY] [DLA 2975-1] openjpeg2 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- FEDORA-2022-2d112d4480 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2022-975e21444a (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- GLSA-202209-04 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- https://lists.debian.org/debian-lts-announce/2025/04/msg00002.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-1122)Record last updated .