{"id":"CVE-2018-5772","aliases":["EUVD-2018-0070","GHSA-5fh8-wc7h-jjmx","PYSEC-2018-145","SUSE-SU-2022:3598-1"],"status":"published","title":"In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image...","description":"In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image::printIFDStructure function in the image.cpp file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file.","severity":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/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-08","score":0.01865,"percentile":0.79432,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-674"],"published":"2018-01-18T07:00:00Z","modified":"2026-10-20T10:49:55Z","affected":[{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP3","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP4","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 15 SP2-BCL","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Manager Proxy 4.1","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Manager Retail Branch Server 4.1","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Manager Server 4.1","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Enterprise Storage 6","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Enterprise Storage 7","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.16.1"}]}],"bundled":15}],"products":[{"vendor":"exiv2","product":"exiv2"}],"references":[{"url":"http://www.securityfocus.com/bid/102789","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://security.gentoo.org/glsa/201811-14","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/Exiv2/exiv2/issues/216","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-5772"},{"url":"https://github.com/advisories/GHSA-5fh8-wc7h-jjmx"},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20223598-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1076579","tags":["report"]},{"url":"https://bugzilla.suse.com/1086798","tags":["report"]},{"url":"https://bugzilla.suse.com/1086810","tags":["report"]},{"url":"https://bugzilla.suse.com/1092096","tags":["report"]},{"url":"https://bugzilla.suse.com/1114690","tags":["report"]},{"url":"https://bugzilla.suse.com/1185447","tags":["report"]},{"url":"https://bugzilla.suse.com/1186192","tags":["report"]},{"url":"https://bugzilla.suse.com/1188733","tags":["report"]},{"url":"https://bugzilla.suse.com/1188756","tags":["report"]},{"url":"https://bugzilla.suse.com/1189330","tags":["report"]},{"url":"https://bugzilla.suse.com/1189331","tags":["report"]},{"url":"https://bugzilla.suse.com/1189332","tags":["report"]},{"url":"https://bugzilla.suse.com/1189333","tags":["report"]},{"url":"https://bugzilla.suse.com/1189636","tags":["report"]},{"url":"https://bugzilla.suse.com/1189780","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-10772","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-18915","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5772","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-8976","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-8977","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-18898","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-18899","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-29470","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-31291","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-31292","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-32617","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-37618","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-37619","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-37620","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-37621","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-5772","description":"In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image::printIFDStructure function in the image.cpp file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file.","status":"published","published":"2018-01-18T07:00:00Z","modified":"2024-08-05T05:40:51.407Z","updated_at":"2026-11-02T14:35:01.28843Z"}],"euvd":[{"id":"EUVD-2018-0070","description":"In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image::printIFDStructure function in the image.cpp file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file.","status":"published","published":"2018-01-18T07:00:00Z","modified":"2024-08-05T05:40:51Z","updated_at":"2026-11-03T02:40:10.651692Z"}],"ghsa":[{"id":"GHSA-5fh8-wc7h-jjmx","title":"In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image...","description":"In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image::printIFDStructure function in the image.cpp file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file.","status":"published","published":"2022-05-13T01:52:55Z","modified":"2023-02-02T05:02:07Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-674"],"updated_at":"2026-11-02T14:51:21.790702Z"}],"nvd":[{"id":"CVE-2018-5772","description":"In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image::printIFDStructure function in the image.cpp file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file.","status":"published","published":"2018-01-18T07:29:00.28Z","modified":"2026-06-17T02:00:45.333Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/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-674"],"updated_at":"2026-11-02T14:04:22.309028Z"}],"osv":[{"id":"CVE-2018-5772","description":"In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image::printIFDStructure function in the image.cpp file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file.","status":"published","published":"2018-01-18T07:29:00.28Z","modified":"2026-10-20T10:49:55.253142414Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/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.442568Z"},{"id":"PYSEC-2018-145","description":"In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image::printIFDStructure function in the image.cpp file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file.","status":"withdrawn","published":"2018-01-18T07:29:00Z","modified":"2025-10-09T05:32:06.028804Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:52:51.645172Z"},{"id":"SUSE-SU-2022:3598-1","title":"Security update for exiv2","description":"This update for exiv2 fixes the following issues:\n\n- CVE-2021-37621: Fixed denial of service due to infinite loop in Image:printIFDStructure (bsc#1189333).\n- CVE-2021-37620: Fixed out-of-bounds read in XmpTextValue:read() (bsc#1189332).\n- CVE-2021-37619: Fixed out-of-bounds read in Exiv2:Jp2Image:encodeJp2Header (bsc#1189331).\n- CVE-2021-37618: Fixed out-of-bounds read in Exiv2:Jp2Image:printStructure (bsc#1189330).\n- CVE-2021-32617: Fixed denial of service inside inefficient algorithm (quadratic complexity) (bsc#1186192).\n- CVE-2021-31292: Fixed integer overflow in CrwMap:encode0x1810 (bsc#1188756).\n- CVE-2021-31291: Fixed heap-based buffer overflow vulnerability in jp2image.cpp may lead to a denial of service (bsc#1188733).\n- CVE-2021-29470: Fixed out-of-bounds read in Exiv2:Jp2Image:encodeJp2Header (bsc#1185447).\n- CVE-2020-18899: Fixed uncontrolled memory allocation (bsc#1189636).\n- CVE-2020-18898: Fixed remote denial of service in printIFDStructure function (bsc#1189780).\n- CVE-2018-8977: Fixed remote denial of service in Exiv2::Internal::printCsLensFFFF function in canonmn_int.cpp (bsc#1086798).\n- CVE-2018-8976: Fixed remote denial of service in image.cpp Exiv2::Internal::stringFormat via out-of-bounds read (bsc#1086810).\n- CVE-2018-5772: Fixed segmentation fault caused by uncontrolled recursion inthe Exiv2::Image::printIFDStructure (bsc#1076579).\n- CVE-2018-18915: Fixed an infinite loop in the Exiv2:Image:printIFDStructure function (bsc#1114690).\n- CVE-2018-10772: Fixed segmentation fault when the function Exiv2::tEXtToDataBuf() is finished (bsc#1092096).\n","status":"published","published":"2022-10-17T11:19:23Z","modified":"2026-02-04T02:17:37.373078Z","updated_at":"2026-11-02T15:53:51.440565Z"}]}}
