Integer Overflow in OpenJPEG v2.4.0 allows remote attackers to crash the application, causing a Denial of Service (DoS). This occurs when the attacker uses the command line option "-ImgDir" on a directory that contains 1048576 files.
https://security.gentoo.org/glsa/202209-04
https://lists.debian.org/debian-lts-announce/2022/04/msg00006.html