Vulnerability in Uclouvain Openjpeg
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. 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.
Vulnerability class: Dirty Pipe (CVE-2022-0847)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.011, 66.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Uclouvain Openjpeg — versions 2.4.0
- Debian Linux — versions 9.0
- Fedoraproject Fedora — versions 34, 35, 36
- Openjpeg2 — versions openjpeg2 version 2.4.0 and prior
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (mzs555557/SosReverterbench, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/uclouvain/openjpeg/issues/1368 (Third Party Advisory)
- FEDORA-2022-9515529c96 (vendor-advisory)
- [debian-lts-announce] 20220410 [SECURITY] [DLA 2975-1] openjpeg2 security update (mailing-list, Mailing List, Third Party Advisory)
- FEDORA-2022-2d112d4480 (vendor-advisory)
- FEDORA-2022-975e21444a (vendor-advisory)
- GLSA-202209-04 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2025/04/msg00002.html