Advisory

USN-7757-1

Also known as: CVE-2025-50952, CVE-2025-54874

Summary

openjpeg2 vulnerabilities

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)

Severity

Not rated by the source.

Dates

Published
2025-09-18 16:39 UTC
Modified
2026-04-27 18:17 UTC

Affected packages and fixes

openjpeg2

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.4.0-6ubuntu0.4 (ecosystem)

Fixed versions

2.4.0-6ubuntu0.4

Fix

  • Fixed version 2.4.0-6ubuntu0.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

openjpeg2

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.5.0-2ubuntu0.4 (ecosystem)

Fixed versions

2.5.0-2ubuntu0.4

Fix

  • Fixed version 2.5.0-2ubuntu0.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences