{"id":"USN-7757-1","summary":"openjpeg2 vulnerabilities","details":"It was discovered that OpenJPEG did not properly handle memory when\ndecompressing certain image files. An attacker could possibly use this\nissue to cause OpenJPEG to crash, resulting in a denial of service. This\nissue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS,\nand Ubuntu 24.04 LTS. (CVE-2025-50952)\n\nIt was discovered that OpenJPEG did not properly handle memory when parsing\nthe headers of certain image files. An attacker could use this issue to\ncause OpenJPEG to crash, resulting in a denial of service, or possibly\nexecute arbitrary code. This issue only affected Ubuntu 25.04.\n(CVE-2025-54874)","modified":"2026-04-27T18:17:19.514415Z","published":"2025-09-18T16:39:56Z","related":["UBUNTU-CVE-2025-50952","UBUNTU-CVE-2025-54874"],"upstream":["CVE-2025-50952","CVE-2025-54874","UBUNTU-CVE-2025-50952","UBUNTU-CVE-2025-54874"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7757-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-50952"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-54874"}],"affected":[{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2@2.3.0-2+deb10u2ubuntu0.1~esm5?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-2+deb10u2ubuntu0.1~esm5"}]}],"versions":["2.2.0-1","2.3.0-1","2.3.0-2build0.18.04.1","2.3.0-2ubuntu0.1~esm1","2.3.0-2+deb10u2build0.18.04.1","2.3.0-2+deb10u2ubuntu0.1~esm1","2.3.0-2+deb10u2ubuntu0.1~esm2","2.3.0-2+deb10u2ubuntu0.1~esm3","2.3.0-2+deb10u2ubuntu0.1~esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"libopenjp2-7","binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm5"},{"binary_name":"libopenjp2-tools","binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm5"},{"binary_name":"libopenjp3d-tools","binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm5"},{"binary_name":"libopenjp3d7","binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm5"},{"binary_name":"libopenjpip-dec-server","binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm5"},{"binary_name":"libopenjpip-server","binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm5"},{"binary_name":"libopenjpip-viewer","binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm5"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm5","binary_name":"libopenjpip7"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2025-50952","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:Pro:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7757-1.json"}},{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2@2.3.1-1ubuntu4.20.04.4+esm1?arch=source&distro=esm-infra/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.1-1ubuntu4.20.04.4+esm1"}]}],"versions":["2.3.0-2","2.3.0-2build1","2.3.1-1","2.3.1-1ubuntu3","2.3.1-1ubuntu4","2.3.1-1ubuntu4.20.04.1","2.3.1-1ubuntu4.20.04.2","2.3.1-1ubuntu4.20.04.3","2.3.1-1ubuntu4.20.04.4"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libopenjp2-7","binary_version":"2.3.1-1ubuntu4.20.04.4+esm1"},{"binary_name":"libopenjp2-tools","binary_version":"2.3.1-1ubuntu4.20.04.4+esm1"},{"binary_name":"libopenjp3d-tools","binary_version":"2.3.1-1ubuntu4.20.04.4+esm1"},{"binary_name":"libopenjp3d7","binary_version":"2.3.1-1ubuntu4.20.04.4+esm1"},{"binary_name":"libopenjpip-dec-server","binary_version":"2.3.1-1ubuntu4.20.04.4+esm1"},{"binary_name":"libopenjpip-server","binary_version":"2.3.1-1ubuntu4.20.04.4+esm1"},{"binary_name":"libopenjpip-viewer","binary_version":"2.3.1-1ubuntu4.20.04.4+esm1"},{"binary_name":"libopenjpip7","binary_version":"2.3.1-1ubuntu4.20.04.4+esm1"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2025-50952","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7757-1.json"}},{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2@2.4.0-6ubuntu0.4?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.0-6ubuntu0.4"}]}],"versions":["2.3.1-1ubuntu5","2.3.1-1ubuntu6","2.4.0-3","2.4.0-5","2.4.0-6","2.4.0-6ubuntu0.1","2.4.0-6ubuntu0.2","2.4.0-6ubuntu0.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libopenjp2-7","binary_version":"2.4.0-6ubuntu0.4"},{"binary_name":"libopenjp2-tools","binary_version":"2.4.0-6ubuntu0.4"},{"binary_name":"libopenjp3d-tools","binary_version":"2.4.0-6ubuntu0.4"},{"binary_name":"libopenjp3d7","binary_version":"2.4.0-6ubuntu0.4"},{"binary_name":"libopenjpip-dec-server","binary_version":"2.4.0-6ubuntu0.4"},{"binary_name":"libopenjpip-server","binary_version":"2.4.0-6ubuntu0.4"},{"binary_name":"libopenjpip-viewer","binary_version":"2.4.0-6ubuntu0.4"},{"binary_name":"libopenjpip7","binary_version":"2.4.0-6ubuntu0.4"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2025-50952","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:22.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7757-1.json"}},{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2@2.5.0-2ubuntu0.4?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0-2ubuntu0.4"}]}],"versions":["2.5.0-2","2.5.0-2build2","2.5.0-2build3","2.5.0-2ubuntu0.1","2.5.0-2ubuntu0.2","2.5.0-2ubuntu0.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libopenjp2-7","binary_version":"2.5.0-2ubuntu0.4"},{"binary_name":"libopenjp2-tools","binary_version":"2.5.0-2ubuntu0.4"},{"binary_name":"libopenjpip-dec-server","binary_version":"2.5.0-2ubuntu0.4"},{"binary_name":"libopenjpip-server","binary_version":"2.5.0-2ubuntu0.4"},{"binary_name":"libopenjpip-viewer","binary_version":"2.5.0-2ubuntu0.4"},{"binary_version":"2.5.0-2ubuntu0.4","binary_name":"libopenjpip7"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2025-50952","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:24.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7757-1.json"}}],"schema_version":"1.7.5"}