{"id":"CVE-2018-6612","aliases":["DEBIAN-CVE-2018-6612","EUVD-2018-18359","GHSA-73qf-rvc2-8ggj","MGASA-2018-0146","UBUNTU-CVE-2018-6612","USN-6113-1","openSUSE-SU-2021:0743-1","openSUSE-SU-2021:0752-1","openSUSE-SU-2024:10880-1"],"status":"published","title":"An integer underflow bug in the process_EXIF function of the exif.c file of jhead 3.00 raises a...","description":"An integer underflow bug in the process_EXIF function of the exif.c file of jhead 3.00 raises a heap-based buffer over-read when processing a malicious JPEG file, which may allow a remote attacker to cause a denial-of-service attack or unspecified other impact.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01131,"percentile":0.66646,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125","CWE-191"],"published":"2018-02-04T15:00:00Z","modified":"2026-10-23T18:03:23Z","fixes":[{"ecosystem":"Debian:12","package":"jhead","fixed_in":["1:3.00-6"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"jhead","fixed_in":["1:3.00-6"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"jhead","fixed_in":["1:3.00-6"],"sources":["osv"]},{"ecosystem":"Mageia:6","package":"jhead","fixed_in":["3.00-3.1.mga6"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"jhead","fixed_in":["1:2.97-1+deb8u2ubuntu0.1~esm4"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"jhead","fixed_in":["1:3.00-4+deb9u1ubuntu0.1~esm4"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.00-6"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.00-6"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.00-6"}]}]},{"source":"osv","ecosystem":"Mageia:6","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.00-3.1.mga6"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.97-1+deb8u2ubuntu0.1~esm4"}]}],"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","1:2.97-1+deb8u2ubuntu0.1~esm2","1:2.97-1+deb8u2ubuntu0.1~esm3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.00-4+deb9u1ubuntu0.1~esm4"}]}],"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","1:3.00-4+deb9u1ubuntu0.1~esm2","1:3.00-4+deb9u1ubuntu0.1~esm3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.97-1+deb8u2ubuntu0.1~esm4"}]}],"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","1:2.97-1+deb8u2ubuntu0.1~esm2","1:2.97-1+deb8u2ubuntu0.1~esm3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.00-4+deb9u1ubuntu0.1~esm4"}]}],"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","1:3.00-4+deb9u1ubuntu0.1~esm2","1:3.00-4+deb9u1ubuntu0.1~esm3"]},{"source":"osv","ecosystem":"openSUSE:Leap 15.2","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06.0.1-lp152.7.6.1"}]}],"bundled":9},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP2","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06.0.1-bp152.4.6.1"}]}],"bundled":9},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06.0.1-1.3"}]}],"bundled":5}],"products":[{"vendor":"jhead_project","product":"jhead"}],"references":[{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889272","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://launchpad.net/ubuntu/+source/jhead/1:3.00-6","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6612"},{"url":"https://github.com/advisories/GHSA-73qf-rvc2-8ggj"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-6612","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0146.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22565","tags":["report"]},{"url":"https://lists.opensuse.org/opensuse-updates/2018-02/msg00037.html","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2018-6612","tags":["report"]},{"url":"https://anonscm.debian.org/git/collab-maint/jhead.git/diff/debian/patches/0008-heap-buffer-overflow.patch?id=01f09ab772d0d341cdc1326490dd2aa5aa2a7784","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-6113-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-6612","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/JPTEPBJVJFSKKHSTZER2JVIMRP7MGN2C/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1144316","tags":["report"]},{"url":"https://bugzilla.suse.com/1144354","tags":["report"]},{"url":"https://bugzilla.suse.com/1160544","tags":["report"]},{"url":"https://bugzilla.suse.com/1160547","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3822","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-16554","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-17088","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6612","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1010301","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1010302","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-6624","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-6625","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-3496","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/3GBTHCPCHWJ3JG5IDEDAYSW5LVUEVXYH/","tags":["advisory"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2018-6612","description":"An integer underflow bug in the process_EXIF function of the exif.c file of jhead 3.00 raises a heap-based buffer over-read when processing a malicious JPEG file, which may allow a remote attacker to cause a denial-of-service attack or unspecified other impact.","status":"published","published":"2018-02-04T15:00:00Z","modified":"2024-09-17T03:17:57.692Z","updated_at":"2026-11-02T14:35:05.961936Z"}],"euvd":[{"id":"EUVD-2018-18359","description":"An integer underflow bug in the process_EXIF function of the exif.c file of jhead 3.00 raises a heap-based buffer over-read when processing a malicious JPEG file, which may allow a remote attacker to cause a denial-of-service attack or unspecified other impact.","status":"published","published":"2018-02-04T15:00:00Z","modified":"2024-09-17T03:17:57Z","updated_at":"2026-11-03T00:28:32.883624Z"}],"ghsa":[{"id":"GHSA-73qf-rvc2-8ggj","title":"An integer underflow bug in the process_EXIF function of the exif.c file of jhead 3.00 raises a...","description":"An integer underflow bug in the process_EXIF function of the exif.c file of jhead 3.00 raises a heap-based buffer over-read when processing a malicious JPEG file, which may allow a remote attacker to cause a denial-of-service attack or unspecified other impact.","status":"published","published":"2022-05-13T01:20:29Z","modified":"2023-02-01T05:06:02Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:50:18.532439Z"}],"nvd":[{"id":"CVE-2018-6612","description":"An integer underflow bug in the process_EXIF function of the exif.c file of jhead 3.00 raises a heap-based buffer over-read when processing a malicious JPEG file, which may allow a remote attacker to cause a denial-of-service attack or unspecified other impact.","status":"published","published":"2018-02-04T15:29:00.237Z","modified":"2026-06-17T02:02:05.867Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125","CWE-191"],"updated_at":"2026-11-02T14:04:22.897995Z"}],"osv":[{"id":"CVE-2018-6612","description":"An integer underflow bug in the process_EXIF function of the exif.c file of jhead 3.00 raises a heap-based buffer over-read when processing a malicious JPEG file, which may allow a remote attacker to cause a denial-of-service attack or unspecified other impact.","status":"published","published":"2018-02-04T15:29:00.237Z","modified":"2026-04-16T04:36:28.031157432Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:09.74357Z"},{"id":"DEBIAN-CVE-2018-6612","description":"An integer underflow bug in the process_EXIF function of the exif.c file of jhead 3.00 raises a heap-based buffer over-read when processing a malicious JPEG file, which may allow a remote attacker to cause a denial-of-service attack or unspecified other impact.","status":"published","published":"2018-02-04T15:29:00.237Z","modified":"2026-10-23T18:03:23.263434334Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"UBUNTU-CVE-2018-6612","description":"An integer underflow bug in the process_EXIF function of the exif.c file of jhead 3.00 raises a heap-based buffer over-read when processing a malicious JPEG file, which may allow a remote attacker to cause a denial-of-service attack or unspecified other impact.","status":"published","published":"2018-02-04T15:29:00Z","modified":"2026-02-04T04:39:05.625339Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:18.772093Z"},{"id":"MGASA-2018-0146","title":"Updated jhead package fixes security vulnerability","description":"Updated jhead package fixes security vulnerability:\n\nAn integer underflow bug in the process_EXIF function of the exif.c file of\njhead 3.00 raises a heap-based buffer over-read when processing a malicious JPEG\nfile, which may allow a remote attacker to cause a denial-of-service attack or\nunspecified other impact (CVE-2018-6612).\n","status":"published","published":"2018-02-26T23:40:56Z","modified":"2026-04-16T04:42:40.315079244Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"openSUSE-SU-2021:0743-1","title":"Security update for jhead","description":"This update for jhead fixes the following issues:\n\njhead was updated to 3.06.0.1\n\n* lot of fuzztest fixes\n* Apply a whole bunch of patches from Debian.\n* Spell check and fuzz test stuff from Debian, nothing useful to\n  human users.\n* Add option to set exif date from date from another file.\n* Bug fixes relating to fuzz testing.\n* Fix bug where thumbnail replacement DID NOT WORK.\n* Fix bug when no orientation tag is present\n* Fix bug of not clearing exif information when processing images\n  with an without exif data in one invocation.\n* Remove some unnecessary warnings with some types of GPS data\n* Remove multiple copies of the same type of section when deleting\n  section types\n","status":"published","published":"2021-05-16T14:04:45Z","modified":"2026-02-04T03:30:44.335378Z","updated_at":"2026-11-02T16:58:31.879684Z"},{"id":"openSUSE-SU-2021:0752-1","title":"Security update for jhead","description":"This update for jhead fixes the following issues:\n\njhead was updated to 3.06.0.1\n\n* lot of fuzztest fixes\n* Apply a whole bunch of patches from Debian.\n* Spell check and fuzz test stuff from Debian, nothing useful to\n  human users.\n* Add option to set exif date from date from another file.\n* Bug fixes relating to fuzz testing.\n* Fix bug where thumbnail replacement DID NOT WORK.\n* Fix bug when no orientation tag is present\n* Fix bug of not clearing exif information when processing images\n  with an without exif data in one invocation.\n* Remove some unnecessary warnings with some types of GPS data\n* Remove multiple copies of the same type of section when deleting\n  section types\n\nThis update was imported from the openSUSE:Leap:15.2:Update update project.","status":"published","published":"2021-05-19T16:05:20Z","modified":"2025-05-07T18:09:19.930154Z","updated_at":"2026-11-02T16:58:31.879684Z"},{"id":"openSUSE-SU-2024:10880-1","title":"jhead-3.06.0.1-1.3 on GA media","description":"These are all security issues fixed in the jhead-3.06.0.1-1.3 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:46:31.338596Z","updated_at":"2026-11-02T16:58:34.894275Z"},{"id":"USN-6113-1","title":"Jhead vulnerability","description":"It was discovered that Jhead did not properly handle certain crafted images\nwhile processing the Exif markers. An attacker could possibly use this\nissue to crash Jhead, resulting in a denial of service.\n","status":"published","published":"2023-05-30T07:32:00Z","modified":"2026-06-29T13:50:48.570641772Z","updated_at":"2026-11-02T16:58:16.738762Z"}]}}
