{"id":"CVE-2021-34334","aliases":["ALPINE-CVE-2021-34334","AZL-7215","DEBIAN-CVE-2021-34334","DLA-3265-1","EUVD-2021-20995","GHSA-hqjh-hpv8-8r9p","JLSEC-2026-1304","MGASA-2021-0415","OESA-2021-1451","OESA-2022-1955","OESA-2022-2044","SUSE-SU-2022:3889-1","SUSE-SU-2022:3892-1","SUSE-SU-2022:4252-1","SUSE-SU-2026:2584-1","UBUNTU-CVE-2021-34334","USN-5043-1","openSUSE-SU-2024:12405-1"],"status":"published","title":"Denial of service due to integer overflow in loop counter","description":"Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.5.","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":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.01113,"percentile":0.66465,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-835"],"published":"2021-08-09T00:00:00Z","modified":"2026-11-03T06:32:47Z","fixes":[{"ecosystem":"Alpine:v3.14","package":"exiv2","fixed_in":["0.27.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"exiv2","fixed_in":["0.27.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"exiv2","fixed_in":["0.27.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"exiv2","fixed_in":["0.27.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"exiv2","fixed_in":["0.27.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"exiv2","fixed_in":["0.27.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"exiv2","fixed_in":["0.27.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"exiv2","fixed_in":["0.27.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"exiv2","fixed_in":["0.27.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"exiv2","fixed_in":["0.27.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"exiv2","fixed_in":["0.27.5-r0"],"sources":["osv"]},{"ecosystem":"Azure Linux:2","package":"exiv2","fixed_in":["0.27.5-1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"exiv2","fixed_in":["0.27.5-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"exiv2","fixed_in":["0.27.5-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"exiv2","fixed_in":["0.27.5-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"exiv2","fixed_in":["0.25-2.1ubuntu16.04.7+esm4"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"exiv2","fixed_in":["0.25-3.1ubuntu0.18.04.11"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"exiv2","fixed_in":["0.27.2-8ubuntu2.6"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"exiv2","fixed_in":["0.27.3-3ubuntu4"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.14","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-r0"}]}]},{"source":"osv","ecosystem":"Azure Linux:2","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25-4+deb10u4"}]}],"versions":["0.25-4","0.25-4+deb10u1","0.25-4+deb10u2","0.25-4+deb10u3"],"bundled":26},{"source":"osv","ecosystem":"Julia","package":"Exiv2_jll","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Mageia:8","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.3-1.3.mga8"}]}],"bundled":11},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-1.oe1"}]}],"bundled":14},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP2","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-1.oe1"}]}],"bundled":14},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP3","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-1.oe1"}]}],"bundled":13},{"source":"osv","ecosystem":"openEuler:22.03-LTS","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-2.oe2203"}]}],"bundled":14},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP4","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-150400.15.4.1"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP4","package":"exiv2-0_26","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150400.9.16.1"}]}],"bundled":15},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-150400.15.4.1"}]}],"bundled":15},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"exiv2-0_26","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150400.9.16.1"}]}],"bundled":15},{"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.21.1"}]}],"bundled":3},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26-150000.6.21.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:OpenStack Cloud 9","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23-12.18.1"}]}],"bundled":8},{"source":"osv","ecosystem":"SUSE:OpenStack Cloud Crowbar 9","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23-12.18.1"}]}],"bundled":8},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23-12.18.1"}]}],"bundled":8},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23-12.18.1"}]}],"bundled":8},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23-12.18.1"}]}],"bundled":8},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3-BCL","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23-12.18.1"}]}],"bundled":8},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23-12.18.1"}]}],"bundled":8},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP5","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23-12.18.1"}]}],"bundled":8},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23-12.18.1"}]}],"bundled":8},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP7","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-150400.15.7.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25-2.1ubuntu16.04.7+esm4"}]}],"versions":["0.25-1ubuntu1","0.25-2.1","0.25-2.1ubuntu16.04.1","0.25-2.1ubuntu16.04.2","0.25-2.1ubuntu16.04.3","0.25-2.1ubuntu16.04.4","0.25-2.1ubuntu16.04.5","0.25-2.1ubuntu16.04.6","0.25-2.1ubuntu16.04.7+esm1","0.25-2.1ubuntu16.04.7+esm2","0.25-2.1ubuntu16.04.7+esm3"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25-3.1ubuntu0.18.04.11"}]}],"versions":["0.25-3.1","0.25-3.1ubuntu0.18.04.1","0.25-3.1ubuntu0.18.04.2","0.25-3.1ubuntu0.18.04.3","0.25-3.1ubuntu0.18.04.4","0.25-3.1ubuntu0.18.04.5","0.25-3.1ubuntu0.18.04.7","0.25-3.1ubuntu0.18.04.9","0.25-3.1ubuntu0.18.04.10"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.2-8ubuntu2.6"}]}],"versions":["0.25-4ubuntu2","0.25-4ubuntu3","0.27.2-8ubuntu2","0.27.2-8ubuntu2.2","0.27.2-8ubuntu2.4","0.27.2-8ubuntu2.5"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.3-3ubuntu4"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25-2.1ubuntu16.04.7+esm4"}]}],"versions":["0.25-1ubuntu1","0.25-2.1","0.25-2.1ubuntu16.04.1","0.25-2.1ubuntu16.04.2","0.25-2.1ubuntu16.04.3","0.25-2.1ubuntu16.04.4","0.25-2.1ubuntu16.04.5","0.25-2.1ubuntu16.04.6","0.25-2.1ubuntu16.04.7+esm1","0.25-2.1ubuntu16.04.7+esm2","0.25-2.1ubuntu16.04.7+esm3"],"bundled":11},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25-3.1ubuntu0.18.04.11"}]}],"versions":["0.25-3.1","0.25-3.1ubuntu0.18.04.1","0.25-3.1ubuntu0.18.04.2","0.25-3.1ubuntu0.18.04.3","0.25-3.1ubuntu0.18.04.4","0.25-3.1ubuntu0.18.04.5","0.25-3.1ubuntu0.18.04.7","0.25-3.1ubuntu0.18.04.9","0.25-3.1ubuntu0.18.04.10"],"bundled":11},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.2-8ubuntu2.6"}]}],"versions":["0.25-4ubuntu2","0.25-4ubuntu3","0.27.2-8ubuntu2","0.27.2-8ubuntu2.2","0.27.2-8ubuntu2.4","0.27.2-8ubuntu2.5"],"bundled":11},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"exiv2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.5-5.1"}]}],"bundled":3}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"exiv2","product":"exiv2"},{"vendor":"fedoraproject","product":"fedora"}],"references":[{"url":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-hqjh-hpv8-8r9p","tags":["x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://github.com/Exiv2/exiv2/pull/1766","tags":["x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FMDT4PJB7P43WSOM3TRQIY3J33BAFVVE/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UYGDELIFFJWKUU7SO3QATCIXCZJERGAC/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00004.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://security.gentoo.org/glsa/202312-06","tags":["vendor-advisory","x_transferred","advisory","web"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-34334","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-34334","tags":["web","advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-34334","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0415.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29371","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5043-1","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/FMDT4PJB7P43WSOM3TRQIY3J33BAFVVE/","tags":["web"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1451","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-13108","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-13504","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37616","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37615","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32815","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37623","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37622","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37620","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37621","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-34335","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37618","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31292","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37619","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1955","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2044","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20223889-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1068871","tags":["report"]},{"url":"https://bugzilla.suse.com/1142675","tags":["report"]},{"url":"https://bugzilla.suse.com/1142679","tags":["report"]},{"url":"https://bugzilla.suse.com/1185002","tags":["report"]},{"url":"https://bugzilla.suse.com/1185218","tags":["report"]},{"url":"https://bugzilla.suse.com/1185447","tags":["report"]},{"url":"https://bugzilla.suse.com/1185913","tags":["report"]},{"url":"https://bugzilla.suse.com/1186053","tags":["report"]},{"url":"https://bugzilla.suse.com/1186192","tags":["report"]},{"url":"https://bugzilla.suse.com/1188645","tags":["report"]},{"url":"https://bugzilla.suse.com/1188733","tags":["report"]},{"url":"https://bugzilla.suse.com/1189332","tags":["report"]},{"url":"https://bugzilla.suse.com/1189333","tags":["report"]},{"url":"https://bugzilla.suse.com/1189334","tags":["report"]},{"url":"https://bugzilla.suse.com/1189335","tags":["report"]},{"url":"https://bugzilla.suse.com/1189338","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-1000128","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-13108","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-13111","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-19716","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-29457","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-29463","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-29470","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-29623","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-31291","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-32617","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-34334","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"]},{"url":"https://www.suse.com/security/cve/CVE-2021-37622","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-37623","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20223892-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20224252-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1119562","tags":["report"]},{"url":"https://bugzilla.suse.com/1142681","tags":["report"]},{"url":"https://bugzilla.suse.com/1186231","tags":["report"]},{"url":"https://bugzilla.suse.com/1189337","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-20097","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-13112","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-29473","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-32815","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-20262584-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1259083","tags":["report"]},{"url":"https://bugzilla.suse.com/1259084","tags":["report"]},{"url":"https://bugzilla.suse.com/1259085","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2026-25884","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-27596","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-27631","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2021-34334","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-34334","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-32815","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-34335","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-37615","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-37616","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-37618","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-37619","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-37620","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-37621","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-37622","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-37623","tags":["report"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2021-34334","title":"Denial of service due to integer overflow in loop counter","description":"Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.5.","status":"published","published":"2021-08-09T00:00:00Z","modified":"2024-08-04T00:05:52.788Z","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":"cna"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:33:11.244759Z"}],"euvd":[{"id":"EUVD-2021-20995","description":"Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.5.","status":"published","published":"2021-08-09T00:00:00Z","modified":"2024-08-04T00:05:52Z","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-03T03:24:32.880562Z"}],"nvd":[{"id":"CVE-2021-34334","description":"Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.5.","status":"published","published":"2021-08-09T18:15:07.513Z","modified":"2026-06-17T03:55:40.62Z","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":"secondary"},{"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-835"],"updated_at":"2026-11-02T14:06:56.562207Z"}],"osv":[{"id":"ALPINE-CVE-2021-34334","description":"Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.5.","status":"published","published":"2021-08-09T18:15:07.513Z","modified":"2026-11-03T06:32:47.575281645Z","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-03T07:16:46.202932Z"},{"id":"AZL-7215","title":"CVE-2021-34334 affecting package exiv2 for versions less than 0.27.5-1","description":"Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.5.","status":"published","published":"2021-08-09T18:15:07Z","modified":"2026-04-21T04:36:41.861354Z","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:28:09.201912Z"},{"id":"CVE-2021-34334","description":"Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.5.","status":"published","published":"2021-08-09T18:15:07.513Z","modified":"2026-10-20T10:53:48.541460927Z","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:20.13324Z"},{"id":"DEBIAN-CVE-2021-34334","description":"Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.5.","status":"published","published":"2021-08-09T18:15:07.513Z","modified":"2026-10-23T18:04:50.696314411Z","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:35.233346Z"},{"id":"JLSEC-2026-1304","description":"Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.5.","status":"published","published":"2026-08-13T15:55:58.236Z","modified":"2026-08-13T16:00:04.288024589Z","cvss":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium"},{"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:47:18.159338Z"},{"id":"OESA-2021-1451","title":"exiv2 security update","description":"Exiv2 is a Cross-platform C++ library and a command line utility to manage image metadata. It provides fast and easy read and write access to the Exif, IPTC and XMP metadata and the ICC Profile embedded within digital images in various formats.\r\n\r\nSecurity Fix(es):\r\n\r\nAn integer overflow in Exiv2 through 0.27.1 allows an attacker to cause a denial of service (SIGSEGV) via a crafted PNG image file, because PngImage::readMetadata mishandles a zero value for iccOffset.(CVE-2019-13108)\r\n\r\nThere is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp in Exiv2 through 0.27.2.(CVE-2019-13504)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A null pointer dereference was found in Exiv2 versions v0.27.4 and earlier. The null pointer dereference is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the interpreted (translated) data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p t` or `-P t`). The bug is fixed in version v0.27.5.(CVE-2021-37616)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A null pointer dereference was found in Exiv2 versions v0.27.4 and earlier. The null pointer dereference is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the interpreted (translated) data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p t` or `-P t`). The bug is fixed in version v0.27.5.(CVE-2021-37615)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. The assertion failure is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when modifying the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as `fi`. ### Patches The bug is fixed in version v0.27.5. ### References Regression test and bug fix: #1739 ### For more information Please see our [security policy](https://github.com/Exiv2/exiv2/security/policy) for information about Exiv2 security.(CVE-2021-32815)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when deleting the IPTC data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-d I rm`). The bug is fixed in version v0.27.5.(CVE-2021-37623)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when deleting the IPTC data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-d I rm`). The bug is fixed in version v0.27.5.(CVE-2021-37622)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.5.(CVE-2021-34334)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.5.(CVE-2021-37620)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the image ICC profile, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p C`). The bug is fixed in version v0.27.5.(CVE-2021-37621)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A floating point exception (FPE) due to an integer divide by zero was found in Exiv2 versions v0.27.4 and earlier. The FPE is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the interpreted (translated) data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p t` or `-P t`). The bug is fixed in version v0.27.5.(CVE-2021-34335)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the image ICC profile, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p C`). The bug is fixed in version v0.27.5.(CVE-2021-37618)\r\n\r\nA flaw was found in exiv2. A integer wraparound in the CrwMap:encode0x1810 function leads to memcpy call with a very large size allowing an attacker, who can provide a malicious image, to crash an application which uses the exiv2 library. The highest threat from this vulnerability is to service availability.(CVE-2021-31292)\n\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as insert. The bug is fixed in version v0.27.5.(CVE-2021-37619)","status":"published","published":"2021-12-07T11:04:43Z","modified":"2026-08-18T01:16:11.357818361Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:38.987987Z"},{"id":"OESA-2022-1955","title":"exiv2 security update","description":"Exiv2 is a Cross-platform C++ library and a command line utility to manage image metadata. It provides fast and easy read and write access to the Exif, IPTC and XMP metadata and the ICC Profile embedded within digital images in various formats.\r\n\r\nSecurity Fix(es):\r\n\r\nAn integer overflow in Exiv2 through 0.27.1 allows an attacker to cause a denial of service (SIGSEGV) via a crafted PNG image file, because PngImage::readMetadata mishandles a zero value for iccOffset.(CVE-2019-13108)\r\n\r\nThere is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp in Exiv2 through 0.27.2.(CVE-2019-13504)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A null pointer dereference was found in Exiv2 versions v0.27.4 and earlier. The null pointer dereference is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the interpreted (translated) data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p t` or `-P t`). The bug is fixed in version v0.27.5.(CVE-2021-37616)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A null pointer dereference was found in Exiv2 versions v0.27.4 and earlier. The null pointer dereference is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the interpreted (translated) data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p t` or `-P t`). The bug is fixed in version v0.27.5.(CVE-2021-37615)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. The assertion failure is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when modifying the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as `fi`. ### Patches The bug is fixed in version v0.27.5. ### References Regression test and bug fix: #1739 ### For more information Please see our [security policy](https://github.com/Exiv2/exiv2/security/policy) for information about Exiv2 security.(CVE-2021-32815)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when deleting the IPTC data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-d I rm`). The bug is fixed in version v0.27.5.(CVE-2021-37623)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when deleting the IPTC data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-d I rm`). The bug is fixed in version v0.27.5.(CVE-2021-37622)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.5.(CVE-2021-34334)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.5.(CVE-2021-37620)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the image ICC profile, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p C`). The bug is fixed in version v0.27.5.(CVE-2021-37621)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A floating point exception (FPE) due to an integer divide by zero was found in Exiv2 versions v0.27.4 and earlier. The FPE is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the interpreted (translated) data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p t` or `-P t`). The bug is fixed in version v0.27.5.(CVE-2021-34335)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the image ICC profile, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p C`). The bug is fixed in version v0.27.5.(CVE-2021-37618)\r\n\r\nA flaw was found in exiv2. A integer wraparound in the CrwMap:encode0x1810 function leads to memcpy call with a very large size allowing an attacker, who can provide a malicious image, to crash an application which uses the exiv2 library. The highest threat from this vulnerability is to service availability.(CVE-2021-31292)","status":"published","published":"2022-09-23T11:05:16Z","modified":"2026-08-18T01:17:18.625160012Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:39.528805Z"},{"id":"OESA-2022-2044","title":"exiv2 security update","description":"Exiv2 is a Cross-platform C++ library and a command line utility to manage image metadata. It provides fast and easy read and write access to the Exif, IPTC and XMP metadata and the ICC Profile embedded within digital images in various formats.\r\n\r\nSecurity Fix(es):\r\n\r\nAn integer overflow in Exiv2 through 0.27.1 allows an attacker to cause a denial of service (SIGSEGV) via a crafted PNG image file, because PngImage::readMetadata mishandles a zero value for iccOffset.(CVE-2019-13108)\r\n\r\nThere is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp in Exiv2 through 0.27.2.(CVE-2019-13504)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A null pointer dereference was found in Exiv2 versions v0.27.4 and earlier. The null pointer dereference is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the interpreted (translated) data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p t` or `-P t`). The bug is fixed in version v0.27.5.(CVE-2021-37616)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A null pointer dereference was found in Exiv2 versions v0.27.4 and earlier. The null pointer dereference is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the interpreted (translated) data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p t` or `-P t`). The bug is fixed in version v0.27.5.(CVE-2021-37615)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. The assertion failure is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when modifying the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as `fi`. ### Patches The bug is fixed in version v0.27.5. ### References Regression test and bug fix: #1739 ### For more information Please see our [security policy](https://github.com/Exiv2/exiv2/security/policy) for information about Exiv2 security.(CVE-2021-32815)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when deleting the IPTC data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-d I rm`). The bug is fixed in version v0.27.5.(CVE-2021-37623)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when deleting the IPTC data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-d I rm`). The bug is fixed in version v0.27.5.(CVE-2021-37622)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.5.(CVE-2021-34334)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.5.(CVE-2021-37620)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the image ICC profile, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p C`). The bug is fixed in version v0.27.5.(CVE-2021-37621)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A floating point exception (FPE) due to an integer divide by zero was found in Exiv2 versions v0.27.4 and earlier. The FPE is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the interpreted (translated) data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p t` or `-P t`). The bug is fixed in version v0.27.5.(CVE-2021-34335)\r\n\r\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the image ICC profile, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p C`). The bug is fixed in version v0.27.5.(CVE-2021-37618)\r\n\r\nA flaw was found in exiv2. A integer wraparound in the CrwMap:encode0x1810 function leads to memcpy call with a very large size allowing an attacker, who can provide a malicious image, to crash an application which uses the exiv2 library. The highest threat from this vulnerability is to service availability.(CVE-2021-31292)\n\nExiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as insert. The bug is fixed in version v0.27.5.(CVE-2021-37619)","status":"published","published":"2022-11-04T11:05:21Z","modified":"2026-08-18T01:17:21.360223541Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:39.934788Z"},{"id":"UBUNTU-CVE-2021-34334","description":"Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.5.","status":"published","published":"2021-08-09T18:15:00Z","modified":"2026-04-22T12:55:28.189766Z","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"},{"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:27.870979Z"},{"id":"DLA-3265-1","title":"exiv2 - security update","status":"published","published":"2023-01-10T00:00:00Z","modified":"2026-03-09T01:18:16.024502Z","updated_at":"2026-11-02T15:46:11.734021Z"},{"id":"MGASA-2021-0415","title":"Updated exiv2 packages fix security vulnerabilities","description":"The updated exiv2 packages fix security vulnerabilities:\n\nAn assertion failure is triggered when Exiv2 is used to modify the metadata\nof a crafted image file. An attacker could potentially exploit the\nvulnerability to cause a denial of service, if they can trick the victim\ninto running Exiv2 on a crafted image file (CVE-2021-32815).\n\nAn infinite loop is triggered when Exiv2 is used to read the metadata of a\ncrafted image file. An attacker could potentially exploit the vulnerability\nto cause a denial of service, if they can trick the victim into running\nExiv2 on a crafted image file (CVE-2021-34334).\n\nA floating point exception (FPE) due to an integer divide by zero was found\nin Exiv2 versions v0.27.4 and earlier. The FPE is triggered when Exiv2 is\nused to print the metadata of a crafted image file. An attacker could\npotentially exploit the vulnerability to cause a denial of service, if they\ncan trick the victim into running Exiv2 on a crafted image file\n(CVE-2021-34335).\n\nA null pointer dereference was found in Exiv2 versions v0.27.4 and earlier.\nThe null pointer dereference is triggered when Exiv2 is used to print the\nmetadata of a crafted image file. An attacker could potentially exploit the\nvulnerability to cause a denial of service, if they can trick the victim\ninto running Exiv2 on a crafted image file (CVE-2021-37615, CVE-2021-37616).\n\nAn out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The\nout-of-bounds read is triggered when Exiv2 is used to print the metadata\nof a crafted image file. An attacker could potentially exploit\nthevulnerability to cause a denial of service, if they can trick the victim\ninto running Exiv2 on a crafted image file (CVE-2021-37618, CVE-2021-37619,\nCVE-2021-37620).\n\nAn infinite loop was found in Exiv2 versions v0.27.4 and earlier. The\ninfinite loop is triggered when Exiv2 is used to print the metadata of a\ncrafted image file. An attacker could potentially exploit the vulnerability\nto cause a denial of service, if they can trick the victim into running Exiv2\non a crafted image file (CVE-2021-37621, CVE-2021-37622, CVE-2021-37623).\n","status":"published","published":"2021-09-04T17:01:38Z","modified":"2026-04-16T04:43:41.94833961Z","updated_at":"2026-11-02T15:49:41.849028Z"},{"id":"openSUSE-SU-2024:12405-1","title":"exiv2-0.27.5-5.1 on GA media","description":"These are all security issues fixed in the exiv2-0.27.5-5.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2025-05-07T18:12:56.296903Z","updated_at":"2026-11-02T16:58:35.751245Z"},{"id":"SUSE-SU-2022:3889-1","title":"Security update for exiv2","description":"This update for exiv2 fixes the following issues:\n\nUpdated to version 0.27.5 (jsc#PED-1393):\n\n- CVE-2017-1000128: Fixed stack out of bounds read in JPEG2000 parser (bsc#1068871).\n- CVE-2019-13108: Fixed integer overflow PngImage:readMetadata (bsc#1142675).\n- CVE-2020-19716: Fixed buffer overflow vulnerability in the Databuf function in types.cpp (bsc#1188645).\n- CVE-2021-29457: Fixed heap buffer overflow when write metadata into a crafted image file (bsc#1185002).\n- CVE-2021-29470: Fixed out-of-bounds read in Exiv2:Jp2Image:encodeJp2Header (bsc#1185447).\n- CVE-2021-29623: Fixed read of uninitialized memory (bsc#1186053).\n- CVE-2021-31291: Fixed heap-based buffer overflow in jp2image.cpp (bsc#1188733).\n- CVE-2021-32617: Fixed denial of service due to inefficient algorithm (bsc#1186192).\n- CVE-2021-37620: Fixed out-of-bounds read in XmpTextValue:read() (bsc#1189332).\n- CVE-2021-37621: Fixed DoS due to infinite loop in Image:printIFDStructure (bsc#1189333).\n- CVE-2021-37622: Fixed DoS due to infinite loop in JpegBase:printStructure (bsc#1189334)\n- CVE-2021-34334: Fixed DoS due to integer overflow in loop counter(bsc#1189338)\n- CVE-2021-37623: Fixed DoS due to infinite loop in JpegBase:printStructure (bsc#1189335)\n- CVE-2021-29463: Fixed out-of-bounds read in webpimage.cpp (bsc#1185913).\n- CVE-2021-34334: Fixed DoS due to integer overflow in loop counter (bsc#1189338)\n- CVE-2019-13111: Fixed integer overflow in WebPImage:decodeChunks that lead to denial of service (bsc#1142679)\n- CVE-2021-29463: Fixed an out-of-bounds read was found in webpimage.cpp (bsc#1185913)\n\nBugfixes:\n\n- Fixed build using GCC 11 (bsc#1185218).\n\nA new libexiv2-2_27 shared library is shipped, the libexiv2-2_26 is provided only for compatibility now.\n\nPlease recompile your applications using the exiv2 library.\n\n","status":"published","published":"2022-11-07T14:26:03Z","modified":"2025-05-02T04:29:43.038707Z","updated_at":"2026-11-02T15:53:51.440565Z"},{"id":"SUSE-SU-2022:3892-1","title":"Security update for exiv2","description":"This update for exiv2 fixes the following issues:\n\n  - CVE-2019-13111: Fixed nteger overflow in WebPImage:decodeChunks (bsc#1142679).\n  - CVE-2021-29463: Fixed out-of-bounds read (bsc#1185913).\n  - CVE-2021-34334: Fixed a DoS due to integer overflow in loop counter bug (bsc#1189338).\n","status":"published","published":"2022-11-07T14:35:48Z","modified":"2026-02-04T02:43:19.812864Z","updated_at":"2026-11-02T15:53:51.440565Z"},{"id":"SUSE-SU-2022:4252-1","title":"Security update for exiv2","description":"This update for exiv2 fixes the following issues:\n\n- CVE-2019-13112: Fixed an uncontrolled memory allocation in PngChunk:parseChunkContent causing denial of service. (bsc#1142681)\n- CVE-2021-37620: Fixed out-of-bounds read in XmpTextValue:read(). (bsc#1189332)\n- CVE-2021-34334: Fixed a DoS due to integer overflow in loop counter. (bsc#1189338)\n- CVE-2021-31291: Fixed a heap-based buffer overflow vulnerability in jp2image.cpp may lead to a denial of service via crafted metadata (bsc#1188733).\n- CVE-2021-32815: Fixed a deny-of-service due to assertion failure in crwimage_int.cpp (bsc#1189337).\n- CVE-2018-20097: Fixed SEGV in Exiv2::Internal::TiffParserWorker::findPrimaryGroupsu (bsc#1119562).\n- CVE-2021-29457: Fixed a heap buffer overflow when write metadata into a crafted image file (bsc#1185002).\n- CVE-2021-29473: Fixed out-of-bounds read in Exiv2::Jp2Image:doWriteMetadata (bsc#1186231).\n","status":"published","published":"2022-11-28T10:22:53Z","modified":"2026-02-04T03:20:41.969268Z","updated_at":"2026-11-02T15:53:51.853735Z"},{"id":"SUSE-SU-2026:2584-1","title":"Security update for exiv2","description":"This update for exiv2 fixes the following issues\n\n- CVE-2021-34334: DoS due to integer overflow in loop counter (bsc#1189338).\n- CVE-2026-25884: out-of-bounds read in `CrwMap: decode0x0805` (bsc#1259083).\n- CVE-2026-27596: integer overflow in `LoaderNative: getData()` leads to out-of-bounds read (bsc#1259084).\n- CVE-2026-27631: crash due to uncaught exception when trying to create `std: vector` larger than `max_size()`\n  (bsc#1259085).\n\nChanges for exiv2:\n\n * Minor bugs and fixes\n- Other improvements\n * exivsimple has array index errors when stripping quotes form\n   TIFF parser,Binary array elements should be decoded using the\n   Add option -K Key (--key Key) to specify one or more keys to\n   'exiv2 -eX' followed by 'exiv2 -iX' produces invalid XMP\n- This release introduces support for Postscript (EPS) images.\n XMP metadata can be read and written from/to EPS images and\n previews are accessible.\n Further it includes a new build environment for MSVC 64 bit\n- fix build with gcc 4.3 (upstream backport)\n * Fix 'Since v0.14 the version check macro doesn't work in a precompiler\n","status":"published","published":"2026-06-23T13:27:46Z","modified":"2026-06-24T09:00:17.394004096Z","updated_at":"2026-11-02T15:54:04.519245Z"},{"id":"USN-5043-1","title":"exiv2 vulnerabilities","description":"It was discovered that Exiv2 incorrectly handled certain image files.\nAn attacker could possibly use this issue to cause a denial of service.\n(CVE-2021-32815, CVE-2021-34334, CVE-2021-37620, CVE-2021-37622)\n\nIt was discovered that Exiv2 incorrectly handled certain image files.\nAn attacker could possibly use this issue to cause a denial of service.\nThese issues only affected Ubuntu 20.04 LTS and Ubuntu 21.04.\n(CVE-2021-34335, CVE-2021-37615, CVE-2021-37616, CVE-2021-37618,\nCVE-2021-37619, CVE-2021-37621, CVE-2021-37623)\n","status":"published","published":"2021-08-17T17:31:32Z","modified":"2026-06-25T13:30:43.902206494Z","updated_at":"2026-11-02T16:58:15.683829Z"}]}}
