{"id":"USN-6108-1","summary":"Jhead vulnerabilities","details":"It was discovered that Jhead did not properly handle certain crafted images\nwhile rotating them. An attacker could possibly use this issue to crash Jhead,\nresulting in a denial of service. (CVE-2021-34055)\n\nKyle Brown discovered that Jhead did not properly handle certain crafted\nimages while regenerating the Exif thumbnail. An attacker could possibly use\nthis issue to execute arbitrary commands. (CVE-2022-41751)\n","modified":"2026-05-20T16:06:08.488735256Z","published":"2023-05-25T07:48:13Z","related":["UBUNTU-CVE-2021-34055","UBUNTU-CVE-2022-41751"],"upstream":["CVE-2021-34055","CVE-2022-41751","UBUNTU-CVE-2021-34055","UBUNTU-CVE-2022-41751"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6108-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-34055"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-41751"}],"affected":[{"package":{"name":"jhead","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/jhead?arch=source&distro=trusty%2Fesm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.97-1+deb8u2ubuntu0.1~esm2"}]}],"versions":["1:2.97-1","1:2.97-1+deb8u1build0.14.04.1","1:2.97-1+deb8u2build0.14.04.1~esm1","1:2.97-1+deb8u2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"jhead","binary_version":"1:2.97-1+deb8u2ubuntu0.1~esm2"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6108-1.json","cves_map":{"cves":[{"id":"CVE-2021-34055","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":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-41751","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":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:14.04:LTS"}}},{"package":{"name":"jhead","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/jhead?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.00-4+deb9u1ubuntu0.1~esm2"}]}],"versions":["1:3.00-1","1:3.00-2","1:3.00-3","1:3.00-4+deb9u1build0.16.04.1","1:3.00-4+deb9u1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"jhead","binary_version":"1:3.00-4+deb9u1ubuntu0.1~esm2"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6108-1.json","cves_map":{"cves":[],"ecosystem":"Ubuntu:Pro:16.04:LTS"}}},{"package":{"name":"jhead","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/jhead?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.00-8~ubuntu0.2"}]}],"versions":["1:3.00-4","1:3.00-5","1:3.00-6","1:3.00-8~build0.18.04.1","1:3.00-8~ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"jhead","binary_version":"1:3.00-8~ubuntu0.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6108-1.json","cves_map":{"cves":[{"id":"CVE-2021-34055","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":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-41751","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:18.04:LTS"}}},{"package":{"name":"jhead","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/jhead?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.04-1ubuntu0.2"}]}],"versions":["1:3.03-3","1:3.04-1","1:3.04-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"jhead","binary_version":"1:3.04-1ubuntu0.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6108-1.json","cves_map":{"cves":[{"id":"CVE-2021-34055","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-41751","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":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:20.04:LTS"}}},{"package":{"name":"jhead","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/jhead?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.06.0.1-2ubuntu0.22.04.1"}]}],"versions":["1:3.04-6","1:3.06.0.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"jhead","binary_version":"1:3.06.0.1-2ubuntu0.22.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6108-1.json","cves_map":{"cves":[{"id":"CVE-2021-34055","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":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-41751","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":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:22.04:LTS"}}}],"schema_version":"1.7.5"}