{"api_version":"1","generated_at":"2026-05-13T14:56:18+00:00","cve":"CVE-2021-34335","urls":{"html":"https://cve.report/CVE-2021-34335","api":"https://cve.report/api/cve/CVE-2021-34335.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-34335","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-34335"},"summary":{"title":"CVE-2021-34335","description":"Exiv2 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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-08-09 20:15:00","updated_at":"2023-12-22 10:15:00"},"problem_types":["CWE-369"],"metrics":[],"references":[{"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://github.com/Exiv2/exiv2/pull/1750","name":"https://github.com/Exiv2/exiv2/pull/1750","refsource":"MISC","tags":[],"title":"Avoid integer divide by zero by kevinbackhouse · Pull Request #1750 · Exiv2/exiv2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UYGDELIFFJWKUU7SO3QATCIXCZJERGAC/","name":"FEDORA-2021-cbaef8e2d5","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: mingw-exiv2-0.27.4-3.fc33 - 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/FMDT4PJB7P43WSOM3TRQIY3J33BAFVVE/","name":"FEDORA-2021-399f869889","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: mingw-exiv2-0.27.4-3.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-pvjp-m4f6-q984","name":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-pvjp-m4f6-q984","refsource":"CONFIRM","tags":[],"title":"Denial of service due to FPE in Exiv2::Internal::resolveLens0xffff · Advisory · Exiv2/exiv2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UYGDELIFFJWKUU7SO3QATCIXCZJERGAC/","name":"FEDORA-2021-cbaef8e2d5","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: mingw-exiv2-0.27.4-3.fc33 - 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/FMDT4PJB7P43WSOM3TRQIY3J33BAFVVE/","name":"FEDORA-2021-399f869889","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: mingw-exiv2-0.27.4-3.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-34335","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-34335","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"34335","vulnerable":"1","versionEndIncluding":"0.27.4","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"exiv2","cpe5":"exiv2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"34335","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":"34335","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-34335","qid":"182806","title":"Debian Security Update for exiv2 (CVE-2021-34335)"},{"cve":"CVE-2021-34335","qid":"198462","title":"Ubuntu Security Notification for Exiv2 Vulnerabilities (USN-5043-1)"},{"cve":"CVE-2021-34335","qid":"281833","title":"Fedora Security Update for mingw (FEDORA-2021-399f869889)"},{"cve":"CVE-2021-34335","qid":"281834","title":"Fedora Security Update for mingw (FEDORA-2021-cbaef8e2d5)"},{"cve":"CVE-2021-34335","qid":"501842","title":"Alpine Linux Security Update for exiv2"},{"cve":"CVE-2021-34335","qid":"504732","title":"Alpine Linux Security Update for exiv2"},{"cve":"CVE-2021-34335","qid":"671041","title":"EulerOS Security Update for exiv2 (EulerOS-SA-2021-2657)"},{"cve":"CVE-2021-34335","qid":"671049","title":"EulerOS Security Update for exiv2 (EulerOS-SA-2021-2628)"},{"cve":"CVE-2021-34335","qid":"671264","title":"EulerOS Security Update for exiv2 (EulerOS-SA-2022-1161)"},{"cve":"CVE-2021-34335","qid":"710810","title":"Gentoo Linux Exiv2 Multiple Vulnerabilities (GLSA 202312-06)"},{"cve":"CVE-2021-34335","qid":"901422","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for exiv2 (7216)"},{"cve":"CVE-2021-34335","qid":"902243","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for exiv2 (7216-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-34335","STATE":"PUBLIC","TITLE":"Denial of service due to FPE in Exiv2::Internal::resolveLens0xffff"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"exiv2","version":{"version_data":[{"version_value":"<= 0.27.4"}]}}]},"vendor_name":"Exiv2"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","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. 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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":4.7,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-369: Divide By Zero"}]}]},"references":{"reference_data":[{"name":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-pvjp-m4f6-q984","refsource":"CONFIRM","url":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-pvjp-m4f6-q984"},{"name":"https://github.com/Exiv2/exiv2/pull/1750","refsource":"MISC","url":"https://github.com/Exiv2/exiv2/pull/1750"},{"refsource":"FEDORA","name":"FEDORA-2021-399f869889","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FMDT4PJB7P43WSOM3TRQIY3J33BAFVVE/"},{"refsource":"FEDORA","name":"FEDORA-2021-cbaef8e2d5","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UYGDELIFFJWKUU7SO3QATCIXCZJERGAC/"}]},"source":{"advisory":"GHSA-pvjp-m4f6-q984","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-08-09 20:15:00","lastModifiedDate":"2023-12-22 10:15:00","problem_types":["CWE-369"],"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:*:*:*:*:*:*:*:*","versionEndIncluding":"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":"34335","Ordinal":"209788","Title":"CVE-2021-34335","CVE":"CVE-2021-34335","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"34335","Ordinal":"1","NoteData":"Exiv2 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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"34335","Ordinal":"2","NoteData":"2021-08-09","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"34335","Ordinal":"3","NoteData":"2021-08-19","Type":"Other","Title":"Modified"}]}}}