{"api_version":"1","generated_at":"2026-05-13T14:56:28+00:00","cve":"CVE-2021-32617","urls":{"html":"https://cve.report/CVE-2021-32617","api":"https://cve.report/api/cve/CVE-2021-32617.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32617","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32617"},"summary":{"title":"CVE-2021-32617","description":"Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An inefficient algorithm (quadratic complexity) was found in Exiv2 versions v0.27.3 and earlier. The inefficient algorithm 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, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.4. 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 `rm`.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-05-17 18:15:00","updated_at":"2023-12-22 10:15:00"},"problem_types":["CWE-400"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5I3RRZUGSBIUYZ5TIHLN55PKMAWCSJ5G/","name":"FEDORA-2021-d1d5a0bf0f","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: exiv2-0.27.3-7.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RQAKFIQHW2AS3AGSJM42ABOA6CWIJBGM/","name":"FEDORA-2021-bdba47348c","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: mingw-exiv2-0.27.3-6.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TZ5SGWHK64TB7ADRSVBGHEPDFN5CSOO3/","name":"FEDORA-2021-8917c5d9d2","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: exiv2-0.27.3-7.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-w8mv-g8qq-36mj","name":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-w8mv-g8qq-36mj","refsource":"CONFIRM","tags":[],"title":"Denial of service due to quadratic complexity in ProcessUTF8Portion · Advisory · Exiv2/exiv2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M2BPQNJKTRIDINTVJ22QMMTIZEPHVKXK/","name":"FEDORA-2021-8253c78bd7","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: mingw-exiv2-0.27.3-6.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TZ5SGWHK64TB7ADRSVBGHEPDFN5CSOO3/","name":"FEDORA-2021-8917c5d9d2","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: exiv2-0.27.3-7.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/Exiv2/exiv2/pull/1657","name":"https://github.com/Exiv2/exiv2/pull/1657","refsource":"MISC","tags":[],"title":"Fix quadratic complexity performance bug by kevinbackhouse · Pull Request #1657 · Exiv2/exiv2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202312-06","name":"GLSA-202312-06","refsource":"","tags":[],"title":"Exiv2: Multiple Vulnerabilities (GLSA 202312-06) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M2BPQNJKTRIDINTVJ22QMMTIZEPHVKXK/","name":"FEDORA-2021-8253c78bd7","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: mingw-exiv2-0.27.3-6.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RQAKFIQHW2AS3AGSJM42ABOA6CWIJBGM/","name":"FEDORA-2021-bdba47348c","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: mingw-exiv2-0.27.3-6.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5I3RRZUGSBIUYZ5TIHLN55PKMAWCSJ5G/","name":"FEDORA-2021-d1d5a0bf0f","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: exiv2-0.27.3-7.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-32617","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32617","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"32617","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"exiv2","cpe5":"exiv2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"32617","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"32617","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-32617","qid":"182930","title":"Debian Security Update for exiv2 (CVE-2021-32617)"},{"cve":"CVE-2021-32617","qid":"198383","title":"Ubuntu Security Notification for Exiv2 vulnerabilities (USN-4964-1)"},{"cve":"CVE-2021-32617","qid":"239787","title":"Red Hat Update for exiv2 security (RHSA-2021:4173)"},{"cve":"CVE-2021-32617","qid":"281105","title":"Fedora Security Update for exiv2 (FEDORA-2021-d1d5a0bf0f)"},{"cve":"CVE-2021-32617","qid":"281497","title":"Fedora Security Update for mingw (FEDORA-2021-8253c78bd7)"},{"cve":"CVE-2021-32617","qid":"281498","title":"Fedora Security Update for mingw (FEDORA-2021-bdba47348c)"},{"cve":"CVE-2021-32617","qid":"281632","title":"Fedora Security Update for exiv2 (FEDORA-2021-8917c5d9d2)"},{"cve":"CVE-2021-32617","qid":"501546","title":"Alpine Linux Security Update for exiv2"},{"cve":"CVE-2021-32617","qid":"504730","title":"Alpine Linux Security Update for exiv2"},{"cve":"CVE-2021-32617","qid":"670535","title":"EulerOS Security Update for exiv2 (EulerOS-SA-2021-2293)"},{"cve":"CVE-2021-32617","qid":"670609","title":"EulerOS Security Update for exiv2 (EulerOS-SA-2021-2367)"},{"cve":"CVE-2021-32617","qid":"670737","title":"EulerOS Security Update for exiv2 (EulerOS-SA-2021-2495)"},{"cve":"CVE-2021-32617","qid":"671050","title":"EulerOS Security Update for exiv2 (EulerOS-SA-2021-2579)"},{"cve":"CVE-2021-32617","qid":"690094","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for exiv2 (d49f86ab-d9c7-11eb-a200-00155d01f201)"},{"cve":"CVE-2021-32617","qid":"710810","title":"Gentoo Linux Exiv2 Multiple Vulnerabilities (GLSA 202312-06)"},{"cve":"CVE-2021-32617","qid":"752663","title":"SUSE Enterprise Linux Security Update for exiv2 (SUSE-SU-2022:3543-1)"},{"cve":"CVE-2021-32617","qid":"752681","title":"SUSE Enterprise Linux Security Update for exiv2 (SUSE-SU-2022:3598-1)"},{"cve":"CVE-2021-32617","qid":"752917","title":"SUSE Enterprise Linux Security Update for exiv2 (SUSE-SU-2022:3889-1)"},{"cve":"CVE-2021-32617","qid":"901460","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for exiv2 (7213)"},{"cve":"CVE-2021-32617","qid":"902305","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for exiv2 (7213-1)"},{"cve":"CVE-2021-32617","qid":"940296","title":"AlmaLinux Security Update for exiv2 (ALSA-2021:4173)"},{"cve":"CVE-2021-32617","qid":"960736","title":"Rocky Linux Security Update for exiv2 (RLSA-2021:4173)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-32617","ASSIGNER":"security-advisories@github.com","TITLE":"Denial of service in Exiv2","STATE":"PUBLIC"},"source":{"advisory":"GHSA-w8mv-g8qq-36mj","discovery":"UNKNOWN"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Exiv2","product":{"product_data":[{"product_name":"exiv2","version":{"version_data":[{"version_name":"","version_affected":"","version_value":"<= 0.27.3","platform":""}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-400: Uncontrolled Resource Consumption"}]}]},"description":{"description_data":[{"lang":"eng","value":"Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An inefficient algorithm (quadratic complexity) was found in Exiv2 versions v0.27.3 and earlier. The inefficient algorithm 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, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.4. 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 `rm`."}]},"references":{"reference_data":[{"refsource":"CONFIRM","url":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-w8mv-g8qq-36mj","name":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-w8mv-g8qq-36mj"},{"refsource":"MISC","url":"https://github.com/Exiv2/exiv2/pull/1657","name":"https://github.com/Exiv2/exiv2/pull/1657"},{"refsource":"FEDORA","name":"FEDORA-2021-d1d5a0bf0f","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5I3RRZUGSBIUYZ5TIHLN55PKMAWCSJ5G/"},{"refsource":"FEDORA","name":"FEDORA-2021-8253c78bd7","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M2BPQNJKTRIDINTVJ22QMMTIZEPHVKXK/"},{"refsource":"FEDORA","name":"FEDORA-2021-bdba47348c","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RQAKFIQHW2AS3AGSJM42ABOA6CWIJBGM/"},{"refsource":"FEDORA","name":"FEDORA-2021-8917c5d9d2","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TZ5SGWHK64TB7ADRSVBGHEPDFN5CSOO3/"}]},"impact":{"cvss":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","baseScore":4.7,"baseSeverity":"MEDIUM"}}},"nvd":{"publishedDate":"2021-05-17 18:15:00","lastModifiedDate":"2023-12-22 10:15:00","problem_types":["CWE-400"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:exiv2:exiv2:*:*:*:*:*:*:*:*","versionEndExcluding":"0.27.4","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"32617","Ordinal":"208005","Title":"CVE-2021-32617","CVE":"CVE-2021-32617","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"32617","Ordinal":"1","NoteData":"Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An inefficient algorithm (quadratic complexity) was found in Exiv2 versions v0.27.3 and earlier. The inefficient algorithm 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, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.4. 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 `rm`.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"32617","Ordinal":"2","NoteData":"2021-05-17","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"32617","Ordinal":"3","NoteData":"2021-06-09","Type":"Other","Title":"Modified"}]}}}