{"id":"USN-7083-1","summary":"openjpeg2 vulnerabilities","details":"It was discovered that OpenJPEG incorrectly handled certain memory\noperations when using the command line \"-ImgDir\" in a directory with a\nlarge number of files, leading to an integer overflow vulnerability. An\nattacker could potentially use this issue to cause a denial of service.\nThis issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS,\nUbuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2021-29338)\n\nIt was discovered that OpenJPEG incorrectly handled decompressing certain\n.j2k files in sycc420_to_rgb, leading to a heap-based buffer overflow\nvulnerability. If a user or automated system were tricked into opening\na specially crafted file, an attacker could possibly use this issue to\nexecute arbitrary code. (CVE-2021-3575)\n\nIt was discovered that OpenJPEG incorrectly handled certain memory\noperations in the opj2_decompress program. An attacker could potentially\nuse this issue to cause a denial of service. This issue only affected\nUbuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS.\n(CVE-2022-1122)\n","modified":"2026-02-10T04:45:29Z","published":"2024-11-05T00:59:06Z","related":["UBUNTU-CVE-2021-29338","UBUNTU-CVE-2021-3575","UBUNTU-CVE-2022-1122"],"upstream":["CVE-2021-29338","CVE-2021-3575","CVE-2022-1122","UBUNTU-CVE-2021-29338","UBUNTU-CVE-2021-3575","UBUNTU-CVE-2022-1122"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7083-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3575"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-29338"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-1122"}],"affected":[{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2@2.1.2-1.1+deb9u6ubuntu0.1~esm6?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.2-1.1+deb9u6ubuntu0.1~esm6"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm6","binary_name":"libopenjp2-7"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm6","binary_name":"libopenjp2-7-dev"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm6","binary_name":"libopenjp2-tools"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm6","binary_name":"libopenjp3d-tools"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm6","binary_name":"libopenjp3d7"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm6","binary_name":"libopenjpip-dec-server"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm6","binary_name":"libopenjpip-server"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm6","binary_name":"libopenjpip-viewer"},{"binary_version":"2.1.2-1.1+deb9u6ubuntu0.1~esm6","binary_name":"libopenjpip7"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7083-1.json","cves_map":{"cves":[{"id":"CVE-2021-3575","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2021-29338","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2022-1122","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]}],"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~esm3?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-2+deb10u2ubuntu0.1~esm3"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm3","binary_name":"libopenjp2-7"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm3","binary_name":"libopenjp2-7-dev"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm3","binary_name":"libopenjp2-tools"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm3","binary_name":"libopenjp3d-tools"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm3","binary_name":"libopenjp3d7"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm3","binary_name":"libopenjpip-dec-server"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm3","binary_name":"libopenjpip-server"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm3","binary_name":"libopenjpip-viewer"},{"binary_version":"2.3.0-2+deb10u2ubuntu0.1~esm3","binary_name":"libopenjpip7"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7083-1.json","cves_map":{"cves":[{"id":"CVE-2021-3575","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2021-29338","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2022-1122","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]}],"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.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.1-1ubuntu4.20.04.3"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"2.3.1-1ubuntu4.20.04.3","binary_name":"libopenjp2-7"},{"binary_version":"2.3.1-1ubuntu4.20.04.3","binary_name":"libopenjp2-7-dev"},{"binary_version":"2.3.1-1ubuntu4.20.04.3","binary_name":"libopenjp2-tools"},{"binary_version":"2.3.1-1ubuntu4.20.04.3","binary_name":"libopenjp3d-tools"},{"binary_version":"2.3.1-1ubuntu4.20.04.3","binary_name":"libopenjp3d7"},{"binary_version":"2.3.1-1ubuntu4.20.04.3","binary_name":"libopenjpip-dec-server"},{"binary_version":"2.3.1-1ubuntu4.20.04.3","binary_name":"libopenjpip-server"},{"binary_version":"2.3.1-1ubuntu4.20.04.3","binary_name":"libopenjpip-viewer"},{"binary_version":"2.3.1-1ubuntu4.20.04.3","binary_name":"libopenjpip7"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7083-1.json","cves_map":{"cves":[{"id":"CVE-2021-3575","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2021-29338","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2022-1122","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:20.04:LTS"}}},{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2@2.4.0-6ubuntu0.2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.0-6ubuntu0.2"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"2.4.0-6ubuntu0.2","binary_name":"libopenjp2-7"},{"binary_version":"2.4.0-6ubuntu0.2","binary_name":"libopenjp2-7-dev"},{"binary_version":"2.4.0-6ubuntu0.2","binary_name":"libopenjp2-tools"},{"binary_version":"2.4.0-6ubuntu0.2","binary_name":"libopenjp3d-tools"},{"binary_version":"2.4.0-6ubuntu0.2","binary_name":"libopenjp3d7"},{"binary_version":"2.4.0-6ubuntu0.2","binary_name":"libopenjpip-dec-server"},{"binary_version":"2.4.0-6ubuntu0.2","binary_name":"libopenjpip-server"},{"binary_version":"2.4.0-6ubuntu0.2","binary_name":"libopenjpip-viewer"},{"binary_version":"2.4.0-6ubuntu0.2","binary_name":"libopenjpip7"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7083-1.json","cves_map":{"cves":[{"id":"CVE-2021-3575","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2021-29338","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2022-1122","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:22.04:LTS"}}},{"package":{"name":"openjpeg2","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/openjpeg2@2.5.0-2ubuntu0.2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0-2ubuntu0.2"}]}],"versions":["2.5.0-2","2.5.0-2build2","2.5.0-2build3","2.5.0-2ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5.0-2ubuntu0.2","binary_name":"libopenjp2-7"},{"binary_version":"2.5.0-2ubuntu0.2","binary_name":"libopenjp2-7-dev"},{"binary_version":"2.5.0-2ubuntu0.2","binary_name":"libopenjp2-tools"},{"binary_version":"2.5.0-2ubuntu0.2","binary_name":"libopenjpip-dec-server"},{"binary_version":"2.5.0-2ubuntu0.2","binary_name":"libopenjpip-server"},{"binary_version":"2.5.0-2ubuntu0.2","binary_name":"libopenjpip-viewer"},{"binary_version":"2.5.0-2ubuntu0.2","binary_name":"libopenjpip7"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7083-1.json","cves_map":{"cves":[{"id":"CVE-2021-3575","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:24.04:LTS"}}}],"schema_version":"1.7.3"}