CVE-2022-1122
MEDIUM5.5EPSS 0.05%Published: 3/29/2022Modified: 4/28/2026
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 (2)
- Alpine/openjpegfrom 0, < 2.5.0-r0
- Debian/openjpeg2from 0, < 2.4.0-3+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |