==========================================================================
Ubuntu Security Notice USN-7037-1
September 26, 2024

openjpeg2 vulnerability
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS

Summary:

OpenJPEG could be made to crash if it opened a specially crafted file.

Software Description:
- openjpeg2: JPEG 2000 image compression/decompression library

Details:

It was discovered that OpenJPEG could enter a large loop and continuously
print warning messages when given specially crafted input. An attacker
could potentially use this issue to cause a denial of service.

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 24.04 LTS
  libopenjp2-7                    2.5.0-2ubuntu0.1
  libopenjpip7                    2.5.0-2ubuntu0.1

Ubuntu 22.04 LTS
  libopenjp2-7                    2.4.0-6ubuntu0.1
  libopenjp3d7                    2.4.0-6ubuntu0.1
  libopenjpip7                    2.4.0-6ubuntu0.1

Ubuntu 20.04 LTS
  libopenjp2-7                    2.3.1-1ubuntu4.20.04.2
  libopenjp3d7                    2.3.1-1ubuntu4.20.04.2
  libopenjpip7                    2.3.1-1ubuntu4.20.04.2

Ubuntu 18.04 LTS
  libopenjp2-7                    2.3.0-2+deb10u2ubuntu0.1~esm2
                                  Available with Ubuntu Pro
  libopenjp3d7                    2.3.0-2+deb10u2ubuntu0.1~esm2
                                  Available with Ubuntu Pro
  libopenjpip7                    2.3.0-2+deb10u2ubuntu0.1~esm2
                                  Available with Ubuntu Pro

Ubuntu 16.04 LTS
  libopenjp2-7                    2.1.2-1.1+deb9u6ubuntu0.1esm4
                                  Available with Ubuntu Pro
  libopenjp3d7                    2.1.2-1.1+deb9u6ubuntu0.1~esm4
                                  Available with Ubuntu Pro
  libopenjpip7                    2.1.2-1.1+deb9u6ubuntu0.1~esm4
                                  Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
  https://ubuntu.com/security/notices/USN-7037-1
  CVE-2023-39327

Package Information:
  https://launchpad.net/ubuntu/+source/openjpeg2/2.5.0-2ubuntu0.1
  https://launchpad.net/ubuntu/+source/openjpeg2/2.4.0-6ubuntu0.1
https://launchpad.net/ubuntu/+source/openjpeg2/2.3.1-1ubuntu4.20.04.2