OpenJPEG vulnerability
Published: Thu, 07 May 2026 13:59
Summary
OpenJPEG could be made to crash or run programs when encoding image files.
Details
It was discovered that OpenJPEG did not properly handle memory when encoding image files. An attacker could use this issue to cause OpenJPEG to crash, resulting in a denial of service, or possibly execute arbitrary code.
Recommended actions per Ubuntu release
StackPatch playbook auto-generated per release codename and per affected package.
Ubuntu jammy
openjpeg2→2.4.0-6ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.4.0-6ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y openjpeg2
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjp2-7→2.4.0-6ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.4.0-6ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjp2-7
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjp2-7-dev→2.4.0-6ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.4.0-6ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjp2-7-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjp2-tools→2.4.0-6ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.4.0-6ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjp2-tools
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjp3d-tools→2.4.0-6ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.4.0-6ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjp3d-tools
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjp3d7→2.4.0-6ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.4.0-6ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjp3d7
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjpip-dec-server→2.4.0-6ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.4.0-6ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjpip-dec-server
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjpip-server→2.4.0-6ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.4.0-6ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjpip-server
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjpip-viewer→2.4.0-6ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.4.0-6ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjpip-viewer
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjpip7→2.4.0-6ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.4.0-6ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjpip7
Most apt upgrades restart their service automatically. needrestart lists anything else.
openjpeg-doc→2.4.0-6ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.4.0-6ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y openjpeg-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu noble
openjpeg2→2.5.0-2ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.5.0-2ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y openjpeg2
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjp2-7→2.5.0-2ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.5.0-2ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjp2-7
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjp2-7-dev→2.5.0-2ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.5.0-2ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjp2-7-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjp2-tools→2.5.0-2ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.5.0-2ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjp2-tools
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjpip-dec-server→2.5.0-2ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.5.0-2ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjpip-dec-server
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjpip-server→2.5.0-2ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.5.0-2ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjpip-server
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjpip-viewer→2.5.0-2ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.5.0-2ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjpip-viewer
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjpip7→2.5.0-2ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.5.0-2ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjpip7
Most apt upgrades restart their service automatically. needrestart lists anything else.
openjpeg-doc→2.5.0-2ubuntu0.5apt_upgradeStandard apt upgrade. Install 2.5.0-2ubuntu0.5 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y openjpeg-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu questing
openjpeg2→2.5.3-2.1ubuntu0.1apt_upgradeStandard apt upgrade. Install 2.5.3-2.1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y openjpeg2
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjp2-7→2.5.3-2.1ubuntu0.1apt_upgradeStandard apt upgrade. Install 2.5.3-2.1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjp2-7
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjp2-7-dev→2.5.3-2.1ubuntu0.1apt_upgradeStandard apt upgrade. Install 2.5.3-2.1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjp2-7-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjp2-tools→2.5.3-2.1ubuntu0.1apt_upgradeStandard apt upgrade. Install 2.5.3-2.1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjp2-tools
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjpip-dec-server→2.5.3-2.1ubuntu0.1apt_upgradeStandard apt upgrade. Install 2.5.3-2.1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjpip-dec-server
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjpip-viewer→2.5.3-2.1ubuntu0.1apt_upgradeStandard apt upgrade. Install 2.5.3-2.1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjpip-viewer
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjpip7→2.5.3-2.1ubuntu0.1apt_upgradeStandard apt upgrade. Install 2.5.3-2.1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjpip7
Most apt upgrades restart their service automatically. needrestart lists anything else.
openjpeg-doc→2.5.3-2.1ubuntu0.1apt_upgradeStandard apt upgrade. Install 2.5.3-2.1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y openjpeg-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu resolute
openjpeg2→2.5.4-1ubuntu0.1apt_upgradeStandard apt upgrade. Install 2.5.4-1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y openjpeg2
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjp2-7→2.5.4-1ubuntu0.1apt_upgradeStandard apt upgrade. Install 2.5.4-1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjp2-7
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjp2-7-dev→2.5.4-1ubuntu0.1apt_upgradeStandard apt upgrade. Install 2.5.4-1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjp2-7-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjp2-tools→2.5.4-1ubuntu0.1apt_upgradeStandard apt upgrade. Install 2.5.4-1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjp2-tools
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjpip-dec-server→2.5.4-1ubuntu0.1apt_upgradeStandard apt upgrade. Install 2.5.4-1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjpip-dec-server
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjpip-viewer→2.5.4-1ubuntu0.1apt_upgradeStandard apt upgrade. Install 2.5.4-1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjpip-viewer
Most apt upgrades restart their service automatically. needrestart lists anything else.
libopenjpip7→2.5.4-1ubuntu0.1apt_upgradeStandard apt upgrade. Install 2.5.4-1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libopenjpip7
Most apt upgrades restart their service automatically. needrestart lists anything else.
openjpeg-doc→2.5.4-1ubuntu0.1apt_upgradeStandard apt upgrade. Install 2.5.4-1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y openjpeg-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
Are YOU affected by USN-8252-1?
5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether USN-8252-1 (and any other live CVE) applies. Anonymous, no signup.
curl https://mindsparkstack.com/scan.sh | bash
StackPatch runs this match against YOUR installed packages every hour
Free 1-server / $99 lifetime founder seat (50 only) / $19+/mo monthly. Indie pricing.