Home / mailingsPDF  

[USN-7757-1] OpenJPEG vulnerabilities

Posted on 19 September 2025
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-7757-1
September 18, 2025

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

- Ubuntu 25.04
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS

Summary:

Several security issues were fixed in OpenJPEG.

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

Details:

It was discovered that OpenJPEG did not properly handle memory when
decompressing certain image files. An attacker could possibly use this
issue to cause OpenJPEG to crash, resulting in a denial of service. This
issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS,
and Ubuntu 24.04 LTS. (CVE-2025-50952)

It was discovered that OpenJPEG did not properly handle memory when parsing
the headers of certain image files. An attacker could use this issue to
cause OpenJPEG to crash, resulting in a denial of service, or possibly
execute arbitrary code. This issue only affected Ubuntu 25.04.
(CVE-2025-54874)

Update instructions:

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

Ubuntu 25.04
libopenjp2-7 2.5.3-2ubuntu0.1

Ubuntu 24.04 LTS
libopenjp2-7 2.5.0-2ubuntu0.4

Ubuntu 22.04 LTS
libopenjp2-7 2.4.0-6ubuntu0.4
libopenjp3d7 2.4.0-6ubuntu0.4

Ubuntu 20.04 LTS
libopenjp2-7 2.3.1-1ubuntu4.20.04.4+esm1
Available with Ubuntu Pro
libopenjp3d7 2.3.1-1ubuntu4.20.04.4+esm1
Available with Ubuntu Pro

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

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

References:
https://ubuntu.com/security/notices/USN-7757-1
CVE-2025-50952, CVE-2025-54874

Package Information:
https://launchpad.net/ubuntu/+source/openjpeg2/2.5.3-2ubuntu0.1
https://launchpad.net/ubuntu/+source/openjpeg2/2.5.0-2ubuntu0.4
https://launchpad.net/ubuntu/+source/openjpeg2/2.4.0-6ubuntu0.4

--===============4807514280914829614==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature

 

TOP