{"id":"CVE-2022-41751","aliases":["DEBIAN-CVE-2022-41751","DLA-3219-1","DSA-5294-1","EUVD-2022-44922","GHSA-8m3f-vphm-cjhj","UBUNTU-CVE-2022-41751","USN-6108-1","openSUSE-SU-2022:10178-1","openSUSE-SU-2022:10179-1","openSUSE-SU-2023:0054-1","openSUSE-SU-2023:0371-1","openSUSE-SU-2024:12466-1"],"status":"published","title":"Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG...","description":"Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG filename and then using the regeneration -rgt50 option.","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.00481,"percentile":0.4184,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78"],"published":"2022-10-17T00:00:00Z","modified":"2026-11-03T08:04:10Z","fixes":[{"ecosystem":"Debian:12","package":"jhead","fixed_in":["1:3.06.0.1-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"jhead","fixed_in":["1:3.06.0.1-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"jhead","fixed_in":["1:3.06.0.1-3"],"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 SP3","package":"jhead","fixed_in":["3.00-bp153.3.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.3","package":"jhead","fixed_in":["3.00-bp153.3.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP4","package":"jhead","fixed_in":["3.06.0.1-bp154.2.3.1","3.06.0.1-bp154.2.9.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.4","package":"jhead","fixed_in":["3.06.0.1-bp154.2.3.1","3.06.0.1-bp154.2.9.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP5","package":"jhead","fixed_in":["3.06.0.1-bp155.5.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.5","package":"jhead","fixed_in":["3.06.0.1-bp155.5.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"jhead","fixed_in":["3.06.0.1-2.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.06.0.1-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.06.0.1-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.06.0.1-3"}]}]},{"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 SP3","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.00-bp153.3.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.00-bp153.3.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP4","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06.0.1-bp154.2.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06.0.1-bp154.2.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP4","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06.0.1-bp154.2.9.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06.0.1-bp154.2.9.1"}]}]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP5","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06.0.1-bp155.5.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06.0.1-bp155.5.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06.0.1-2.1"}]}]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"jhead_project","product":"jhead"}],"references":[{"url":"https://github.com/Matthias-Wandel/jhead","tags":["x_transferred","Product","Third Party Advisory","package"]},{"url":"https://github.com/Matthias-Wandel/jhead/blob/63ce118c6a59ea64ac357236a11a47aaf569d622/jhead.c#L788","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/Matthias-Wandel/jhead/pull/57","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","fix","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EG26AD7KJAY5B6L6OERSGL4FRXJE3GOB/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TAVB3ZX7E5ULEXESU5NXZIAHY6CVGCHB/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5NM6FET4ZNWV4EQGKZTLZFWTNVODGVOK/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00004.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article"]},{"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-2022-41751","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5NM6FET4ZNWV4EQGKZTLZFWTNVODGVOK"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EG26AD7KJAY5B6L6OERSGL4FRXJE3GOB"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TAVB3ZX7E5ULEXESU5NXZIAHY6CVGCHB"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5NM6FET4ZNWV4EQGKZTLZFWTNVODGVOK"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EG26AD7KJAY5B6L6OERSGL4FRXJE3GOB"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TAVB3ZX7E5ULEXESU5NXZIAHY6CVGCHB"},{"url":"https://github.com/advisories/GHSA-8m3f-vphm-cjhj"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41751.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-41751","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-41751","tags":["report"]},{"url":"https://github.com/Matthias-Wandel/jhead/commit/6985da52c9ad4f5f6c247269cb5508fae34a971c","tags":["report"]},{"url":"https://github.com/Matthias-Wandel/jhead/commit/3fe905cf674f8dbac8a89e58cee1b4850abf9530","tags":["report"]},{"url":"https://github.com/Matthias-Wandel/jhead/commit/ec67262b8e5a4b05d8ad6898a09f1dc3fc032062","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-6108-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-41751","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-34055","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/HFMTRO5RSDHT5PY4FQHOWNZRZQHNYXPB/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1204409","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2022-41751","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/SYRTRE3WPQSFOZ2DYZDAYDI3Q7I53AB6/","tags":["advisory"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/CYBVUZVIEIGVABNKE655UZMRZXPY7BPJ/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1207150","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/5IWSVTWO7VWRRJGJWKXBTVIMTVRSDRBK/","tags":["advisory"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-41751","description":"Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG filename and then using the regeneration -rgt50 option.","status":"published","published":"2022-10-17T00:00:00Z","modified":"2025-05-13T15:27:49.974Z","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-78"],"updated_at":"2026-11-02T14:34:28.374916Z"}],"euvd":[{"id":"EUVD-2022-44922","description":"Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG filename and then using the regeneration -rgt50 option.","status":"published","published":"2022-10-17T00:00:00Z","modified":"2025-05-13T15:27:49Z","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:32:48.910403Z"}],"ghsa":[{"id":"GHSA-8m3f-vphm-cjhj","title":"Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG...","description":"Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG filename and then using the regeneration -rgt50 option.","status":"published","published":"2022-10-17T19:00:25Z","modified":"2025-05-13T18:31:47Z","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-78"],"updated_at":"2026-11-02T15:02:16.545482Z"}],"nvd":[{"id":"CVE-2022-41751","description":"Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG filename and then using the regeneration -rgt50 option.","status":"published","published":"2022-10-17T18:15:12.79Z","modified":"2026-06-17T05:03:45.67Z","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-78"],"updated_at":"2026-11-02T14:07:30.6869Z"}],"osv":[{"id":"CVE-2022-41751","description":"Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG filename and then using the regeneration -rgt50 option.","status":"published","published":"2022-10-17T00:00:00Z","modified":"2026-10-28T02:31:06.95850592Z","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:27.186787Z"},{"id":"DEBIAN-CVE-2022-41751","description":"Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG filename and then using the regeneration -rgt50 option.","status":"published","published":"2022-10-17T18:15:12.79Z","modified":"2026-11-03T08:04:10.370594378Z","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-03T08:23:07.763774Z"},{"id":"UBUNTU-CVE-2022-41751","description":"Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG filename and then using the regeneration -rgt50 option.","status":"published","published":"2022-10-17T18:15:00Z","modified":"2026-02-04T03:48:05.342507Z","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-02T16:53:55.502114Z"},{"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:10178-1","title":"Security update for jhead","description":"This update for jhead fixes the following issues:\n\n- CVE-2022-41751: Fixed shell injection via filenames (boo#1204409)\n","status":"published","published":"2022-10-31T08:31:07Z","modified":"2026-02-04T02:51:58.141963Z","updated_at":"2026-11-02T16:58:32.653274Z"},{"id":"openSUSE-SU-2022:10179-1","title":"Security update for jhead","description":"This update for jhead fixes the following issues:\n\n- CVE-2022-41751: Fixed shell injection via filenames (boo#1204409)\n","status":"published","published":"2022-10-31T08:31:10Z","modified":"2026-02-04T04:00:23.974925Z","updated_at":"2026-11-02T16:58:32.653274Z"},{"id":"openSUSE-SU-2023:0054-1","title":"Security update for jhead","description":"This update for jhead fixes the following issues:\n\n- Fixed autorotation problem caused by CVE-2022-41751 patch. [boo#1207150]\n","status":"published","published":"2023-02-20T15:01:14Z","modified":"2026-02-04T04:09:15.217149Z","updated_at":"2026-11-02T16:58:32.653274Z"},{"id":"openSUSE-SU-2023:0371-1","title":"Security update for jhead","description":"This update for jhead fixes the following issues:\n\n- Fixed autorotation problem caused by CVE-2022-41751 patch. [boo#1207150]\n","status":"published","published":"2023-11-15T11:25:56Z","modified":"2026-02-04T02:40:27.528345Z","updated_at":"2026-11-02T16:58:32.653274Z"},{"id":"openSUSE-SU-2024:12466-1","title":"jhead-3.06.0.1-2.1 on GA media","description":"These are all security issues fixed in the jhead-3.06.0.1-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:03:59.842312Z","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"}]}}
