{"id":"USN-7223-1","summary":"openjpeg2 vulnerabilities","details":"Frank Zeng discovered that OpenJPEG incorrectly handled memory when using\nthe decompression utility. An attacker could possibly use this issue to\ncause a denial of service or execute arbitrary code. (CVE-2024-56826,\nCVE-2024-56827)\n","modified":"2026-02-10T04:46:29Z","published":"2025-01-22T15:35:57Z","related":["UBUNTU-CVE-2024-56826","UBUNTU-CVE-2024-56827"],"upstream":["CVE-2024-56826","CVE-2024-56827","UBUNTU-CVE-2024-56826","UBUNTU-CVE-2024-56827"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7223-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-56826"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-56827"}],"affected":[{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2@2.1.2-1.1+deb9u6ubuntu0.1~esm7?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.2-1.1+deb9u6ubuntu0.1~esm7"}]}],"versions":["2.1.0-2.1","2.1.0-2.1ubuntu0.1","2.1.2-1.1+deb9u2build0.1","2.1.2-1.1+deb9u3build0.16.04.1","2.1.2-1.1+deb9u3ubuntu0.1~esm1","2.1.2-1.1+deb9u5build0.16.04.1","2.1.2-1.1+deb9u5ubuntu0.1~esm1","2.1.2-1.1+deb9u6build0.16.04.1","2.1.2-1.1+deb9u6ubuntu0.1~esm1","2.1.2-1.1+deb9u6ubuntu0.1~esm3","2.1.2-1.1+deb9u6ubuntu0.1~esm4","2.1.2-1.1+deb9u6ubuntu0.1~esm6"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm7","binary_name":"libopenjp2-7"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm7","binary_name":"libopenjp2-7-dev"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm7","binary_name":"libopenjp2-tools"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm7","binary_name":"libopenjp3d-tools"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm7","binary_name":"libopenjp3d7"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm7","binary_name":"libopenjpip-dec-server"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm7","binary_name":"libopenjpip-server"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm7","binary_name":"libopenjpip-viewer"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm7","binary_name":"libopenjpip7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7223-1.json","cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2024-56826"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2024-56827"}],"ecosystem":"Ubuntu:Pro:16.04:LTS"}}},{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2@2.3.0-2+deb10u2ubuntu0.1~esm4?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-2+deb10u2ubuntu0.1~esm4"}]}],"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"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm4","binary_name":"libopenjp2-7"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm4","binary_name":"libopenjp2-7-dev"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm4","binary_name":"libopenjp2-tools"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm4","binary_name":"libopenjp3d-tools"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm4","binary_name":"libopenjp3d7"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm4","binary_name":"libopenjpip-dec-server"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm4","binary_name":"libopenjpip-server"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm4","binary_name":"libopenjpip-viewer"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm4","binary_name":"libopenjpip7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7223-1.json","cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2024-56826"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2024-56827"}],"ecosystem":"Ubuntu:Pro:18.04:LTS"}}},{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2@2.3.1-1ubuntu4.20.04.4?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.1-1ubuntu4.20.04.4"}]}],"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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.3.1-1ubuntu4.20.04.4","binary_name":"libopenjp2-7"},{"binary_version":"2.3.1-1ubuntu4.20.04.4","binary_name":"libopenjp2-7-dev"},{"binary_version":"2.3.1-1ubuntu4.20.04.4","binary_name":"libopenjp2-tools"},{"binary_version":"2.3.1-1ubuntu4.20.04.4","binary_name":"libopenjp3d-tools"},{"binary_version":"2.3.1-1ubuntu4.20.04.4","binary_name":"libopenjp3d7"},{"binary_version":"2.3.1-1ubuntu4.20.04.4","binary_name":"libopenjpip-dec-server"},{"binary_version":"2.3.1-1ubuntu4.20.04.4","binary_name":"libopenjpip-server"},{"binary_version":"2.3.1-1ubuntu4.20.04.4","binary_name":"libopenjpip-viewer"},{"binary_version":"2.3.1-1ubuntu4.20.04.4","binary_name":"libopenjpip7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7223-1.json","cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2024-56826"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2024-56827"}],"ecosystem":"Ubuntu:20.04:LTS"}}},{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2@2.4.0-6ubuntu0.3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.0-6ubuntu0.3"}]}],"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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.4.0-6ubuntu0.3","binary_name":"libopenjp2-7"},{"binary_version":"2.4.0-6ubuntu0.3","binary_name":"libopenjp2-7-dev"},{"binary_version":"2.4.0-6ubuntu0.3","binary_name":"libopenjp2-tools"},{"binary_version":"2.4.0-6ubuntu0.3","binary_name":"libopenjp3d-tools"},{"binary_version":"2.4.0-6ubuntu0.3","binary_name":"libopenjp3d7"},{"binary_version":"2.4.0-6ubuntu0.3","binary_name":"libopenjpip-dec-server"},{"binary_version":"2.4.0-6ubuntu0.3","binary_name":"libopenjpip-server"},{"binary_version":"2.4.0-6ubuntu0.3","binary_name":"libopenjpip-viewer"},{"binary_version":"2.4.0-6ubuntu0.3","binary_name":"libopenjpip7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7223-1.json","cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2024-56826"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2024-56827"}],"ecosystem":"Ubuntu:22.04:LTS"}}},{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2@2.5.0-2ubuntu0.3?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0-2ubuntu0.3"}]}],"versions":["2.5.0-2","2.5.0-2build2","2.5.0-2build3","2.5.0-2ubuntu0.1","2.5.0-2ubuntu0.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.5.0-2ubuntu0.3","binary_name":"libopenjp2-7"},{"binary_version":"2.5.0-2ubuntu0.3","binary_name":"libopenjp2-7-dev"},{"binary_version":"2.5.0-2ubuntu0.3","binary_name":"libopenjp2-tools"},{"binary_version":"2.5.0-2ubuntu0.3","binary_name":"libopenjpip-dec-server"},{"binary_version":"2.5.0-2ubuntu0.3","binary_name":"libopenjpip-server"},{"binary_version":"2.5.0-2ubuntu0.3","binary_name":"libopenjpip-viewer"},{"binary_version":"2.5.0-2ubuntu0.3","binary_name":"libopenjpip7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7223-1.json","cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2024-56826"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2024-56827"}],"ecosystem":"Ubuntu:24.04:LTS"}}}],"schema_version":"1.7.3"}