Buffer Allocation Flaw in OpenJPEG2 Affects Large Input Directories
CVE-2022-1122
5.5MEDIUM
What is CVE-2022-1122?
A flaw exists in the opj2_decompress function within OpenJPEG2 version 2.4.0, where handling directories containing a large number of files leads to failure in allocating necessary buffers. This mismanagement causes an attempted free operation on an uninitialized pointer, triggering a segmentation fault. Consequently, this results in a denial of service, interrupting the normal functioning of the application when processing large input directories.
Affected Version(s)
openjpeg2 openjpeg2 version 2.4.0 and prior
