{"id":"CVE-2021-34055","aliases":["DEBIAN-CVE-2021-34055","DLA-3219-1","DSA-5294-1","EUVD-2021-20725","GHSA-fxjw-w469-wq6w","UBUNTU-CVE-2021-34055","USN-6108-1","openSUSE-SU-2022:10202-1","openSUSE-SU-2022:10203-1","openSUSE-SU-2024:12499-1"],"status":"published","title":"jhead 3.06 is vulnerable to Buffer Overflow via exif.c in function Put16u.","description":"jhead 3.06 is vulnerable to Buffer Overflow via exif.c in function Put16u.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00457,"percentile":0.39965,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-120"],"published":"2022-11-04T00:00:00Z","modified":"2026-10-23T18:03:49Z","fixes":[{"ecosystem":"Debian:12","package":"jhead","fixed_in":["1:3.06.0.1-5"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"jhead","fixed_in":["1:3.06.0.1-5"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"jhead","fixed_in":["1:3.06.0.1-5"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"jhead","fixed_in":["1:2.97-1+deb8u2ubuntu0.1~esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"jhead","fixed_in":["1:3.00-4+deb9u1ubuntu0.1~esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"jhead","fixed_in":["1:3.00-8~ubuntu0.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"jhead","fixed_in":["1:3.04-1ubuntu0.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"jhead","fixed_in":["1:3.06.0.1-2ubuntu0.22.04.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP4","package":"jhead","fixed_in":["3.06.0.1-bp154.2.6.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.4","package":"jhead","fixed_in":["3.06.0.1-bp154.2.6.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP3","package":"jhead","fixed_in":["3.00-bp153.3.6.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.3","package":"jhead","fixed_in":["3.00-bp153.3.6.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"jhead","fixed_in":["3.06.0.1-3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.06.0.1-5"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.06.0.1-5"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.06.0.1-5"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.00-8+deb10u1"}]}],"versions":["1:3.00-8"],"bundled":2},{"source":"osv","ecosystem":"Debian:11","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.04-6+deb11u1"}]}],"versions":["1:3.04-6"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"jhead","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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"jhead","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"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"jhead","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"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"jhead","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"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"jhead","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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"jhead","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"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"jhead","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"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"jhead","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"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"jhead","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"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"jhead","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"],"bundled":2},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP4","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06.0.1-bp154.2.6.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06.0.1-bp154.2.6.1"}]}]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP3","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.00-bp153.3.6.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.00-bp153.3.6.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06.0.1-3.1"}]}]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"jhead_project","product":"jhead"}],"references":[{"url":"https://github.com/Matthias-Wandel/jhead/issues/36","tags":["x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00004.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5294","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-34055"},{"url":"https://github.com/advisories/GHSA-fxjw-w469-wq6w"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-34055","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-34055","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-6108-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-34055","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-41751","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/VFW7LPBWACIK5T4XBHVQEUEXUGR6W2Q7/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1205167","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2021-34055","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/GQXG7P6ITEZEB7XWYDWI6NI2XSYXGLMF/","tags":["advisory"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2021-34055","description":"jhead 3.06 is vulnerable to Buffer Overflow via exif.c in function Put16u.","status":"published","published":"2022-11-04T00:00:00Z","modified":"2025-05-02T19:10:12.517Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:33:11.244759Z"}],"euvd":[{"id":"EUVD-2021-20725","description":"jhead 3.06 is vulnerable to Buffer Overflow via exif.c in function Put16u.","status":"published","published":"2022-11-04T00:00:00Z","modified":"2025-05-02T19:10:12Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T20:51:55.340761Z"}],"ghsa":[{"id":"GHSA-fxjw-w469-wq6w","title":"jhead 3.06 is vulnerable to Buffer Overflow via exif.c in function Put16u.","description":"jhead 3.06 is vulnerable to Buffer Overflow via exif.c in function Put16u.","status":"published","published":"2022-11-04T19:01:09Z","modified":"2023-01-31T05:02:18Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:48:13.960905Z"}],"nvd":[{"id":"CVE-2021-34055","description":"jhead 3.06 is vulnerable to Buffer Overflow via exif.c in function Put16u.","status":"published","published":"2022-11-04T17:15:10.547Z","modified":"2026-06-17T03:55:26.53Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:07:06.906968Z"}],"osv":[{"id":"CVE-2021-34055","description":"jhead 3.06 is vulnerable to Buffer Overflow via exif.c in function Put16u.","status":"published","published":"2022-11-04T17:15:10.547Z","modified":"2026-10-20T10:54:44.952847064Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:20.13324Z"},{"id":"DEBIAN-CVE-2021-34055","description":"jhead 3.06 is vulnerable to Buffer Overflow via exif.c in function Put16u.","status":"published","published":"2022-11-04T17:15:10.547Z","modified":"2026-10-23T18:03:49.508226198Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:35.233346Z"},{"id":"UBUNTU-CVE-2021-34055","description":"jhead 3.06 is vulnerable to Buffer Overflow via exif.c in function Put16u.","status":"published","published":"2022-11-04T17:15:00Z","modified":"2026-02-04T04:31:44.122538Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:27.870979Z"},{"id":"DLA-3219-1","title":"jhead - security update","status":"published","published":"2022-12-04T00:00:00Z","modified":"2026-03-09T01:20:24.983382Z","updated_at":"2026-11-02T15:46:11.734021Z"},{"id":"DSA-5294-1","title":"jhead - security update","status":"published","published":"2022-12-04T00:00:00Z","modified":"2026-03-09T02:09:03.563668Z","updated_at":"2026-11-02T15:46:17.543497Z"},{"id":"openSUSE-SU-2022:10202-1","title":"Security update for jhead","description":"This update for jhead fixes the following issues:\n\n* CVE-2021-34055: Fix out of bounds write in ClearOrientation() due to unchecked error (boo#1205167)\n","status":"published","published":"2022-11-14T16:22:04Z","modified":"2026-02-04T03:35:56.320389Z","updated_at":"2026-11-02T16:58:32.653274Z"},{"id":"openSUSE-SU-2022:10203-1","title":"Security update for jhead","description":"This update for jhead fixes the following issues:\n\n* CVE-2021-34055: Fix out of bounds write in ClearOrientation() due to unchecked error (boo#1205167)\n","status":"published","published":"2022-11-14T16:32:43Z","modified":"2026-02-04T02:24:48.801771Z","updated_at":"2026-11-02T16:58:32.653274Z"},{"id":"openSUSE-SU-2024:12499-1","title":"jhead-3.06.0.1-3.1 on GA media","description":"These are all security issues fixed in the jhead-3.06.0.1-3.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:49:08.010468Z","updated_at":"2026-11-02T16:58:35.751245Z"},{"id":"USN-6108-1","title":"Jhead vulnerabilities","description":"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","status":"published","published":"2023-05-25T07:48:13Z","modified":"2026-06-29T13:50:52.723039004Z","updated_at":"2026-11-02T16:58:16.738762Z"}]}}
