CVE-2022-1122
Advisory lineage Upstream: 0 Downstream: 11
Modified
Published: 29 Mar 2022, 17:25
Last modified:03 Nov 2025, 19:26
Vulnerability Summary
Overall Risk (default)
low
22/100 CVSS Score
5.5 MEDIUM
v3.1 (nvd)
EPSS Score
0.05% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
29 Mar 2022, 17:25
Published
Vulnerability first disclosed
03 Nov 2025, 19:26
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- v2.0•MEDIUM•Score: 4.3AV:N/AC:M/Au:N/C:N/I:N/A:P
EPSS Trends
Current EPSS score: 0.05%• Percentile: 17%
Techniques & Countermeasures
- CWE-665•Improper Initialization
The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used.
- CWE-824•Access of Uninitialized Pointer
The product accesses or uses a pointer that has not been initialized.
Affected Systems
- debian•debian_linux
9.0
- fedoraproject•fedora
34 | 35 | 36
- uclouvain•openjpeg
2.4.0
References (7)
- https://github.com/uclouvain/openjpeg/issues/1368
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ROSN5NRUFOH7HGLJ4ZSKPGAKLFXJALW4/
- https://lists.debian.org/debian-lts-announce/2022/04/msg00006.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MIWSQFQWXDU4MT3XTVAO6HC7TVL3NHS7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMKBAMK2CAM5TMC5TODKVCE5AAPTD5YV/
- https://security.gentoo.org/glsa/202209-04
- https://lists.debian.org/debian-lts-announce/2025/04/msg00002.html