First published: Tue Mar 29 2022(Updated: )
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.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Uclouvain Openjpeg | =2.4.0 | |
Fedoraproject Fedora | =34 | |
Fedoraproject Fedora | =35 | |
Fedoraproject Fedora | =36 | |
Debian Debian Linux | =9.0 | |
debian/openjpeg2 | <=2.4.0-3 | 2.5.0-2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-1122 is a vulnerability found in the opj2_decompress program in openjpeg2 2.4.0, which can lead to a segmentation fault.
The severity of CVE-2022-1122 is medium with a severity value of 5.5.
CVE-2022-1122 affects Uclouvain Openjpeg version 2.4.0.
To fix CVE-2022-1122 in Uclouvain Openjpeg, update to a version that is not affected.
More information about CVE-2022-1122 can be found at the following references: - [GitHub](https://github.com/uclouvain/openjpeg/issues/1368) - [Debian LTS Announce](https://lists.debian.org/debian-lts-announce/2022/04/msg00006.html) - [Fedora Project](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MIWSQFQWXDU4MT3XTVAO6HC7TVL3NHS7/)