{"api_version":"1","generated_at":"2026-05-13T17:08:21+00:00","cve":"CVE-2021-29473","urls":{"html":"https://cve.report/CVE-2021-29473","api":"https://cve.report/api/cve/CVE-2021-29473.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-29473","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-29473"},"summary":{"title":"CVE-2021-29473","description":"Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. An out-of-bounds read was found in Exiv2 versions v0.27.3 and earlier. Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. 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.4. Please see our security policy for information about Exiv2 security.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-04-26 19:15:00","updated_at":"2023-12-22 10:15:00"},"problem_types":["CWE-125"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P2A5GMJEXQ5Q76JK6F6VKK5JYCLVFGKN/","name":"FEDORA-2021-be94728b95","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: 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/2XQT5F5IINTDYDAFGVGQZ7PMMLG7I5ZZ/","name":"FEDORA-2021-10d7331a31","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: 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/LBKWLTXM7IKZ4PVGKLUQVAVFAYGGF7QR/","name":"FEDORA-2021-96a5dabcfa","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: mingw-exiv2-0.27.3-5.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/P2A5GMJEXQ5Q76JK6F6VKK5JYCLVFGKN/","name":"FEDORA-2021-be94728b95","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: exiv2-0.27.3-6.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/github/advisory-review/pull/1587","name":"https://github.com/github/advisory-review/pull/1587","refsource":"MISC","tags":[],"title":"","mime":"text/plain","httpstatus":"404","archivestatus":"404"},{"url":"https://www.debian.org/security/2021/dsa-4958","name":"DSA-4958","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-4958-1 exiv2","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/LBKWLTXM7IKZ4PVGKLUQVAVFAYGGF7QR/","name":"FEDORA-2021-96a5dabcfa","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: mingw-exiv2-0.27.3-5.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/JWZLDECIXXW3CCZ3RS4A3NG5X5VE4WZM/","name":"FEDORA-2021-2d860da728","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: mingw-exiv2-0.27.3-5.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-7569-phvm-vwc2","name":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-7569-phvm-vwc2","refsource":"CONFIRM","tags":[],"title":"Out-of-bounds read in Exiv2::Jp2Image::doWriteMetadata · Advisory · Exiv2/exiv2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2XQT5F5IINTDYDAFGVGQZ7PMMLG7I5ZZ/","name":"FEDORA-2021-10d7331a31","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: exiv2-0.27.3-6.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2021/08/msg00028.html","name":"[debian-lts-announce] 20210830 [SECURITY] [DLA 2750-1] exiv2 security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2750-1] exiv2 security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JWZLDECIXXW3CCZ3RS4A3NG5X5VE4WZM/","name":"FEDORA-2021-2d860da728","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: mingw-exiv2-0.27.3-5.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/Exiv2/exiv2/security/policy","name":"https://github.com/Exiv2/exiv2/security/policy","refsource":"MISC","tags":[],"title":"Security Policy · Exiv2/exiv2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-29473","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29473","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"29473","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"29473","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"29473","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":"29473","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":"29473","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"3334","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-29473","qid":"178761","title":"Debian Security Update for exiv2 (DSA 4958-1)"},{"cve":"CVE-2021-29473","qid":"178777","title":"Debian Security Update for exiv2 (DLA 2750-1)"},{"cve":"CVE-2021-29473","qid":"182341","title":"Debian Security Update for exiv2 (CVE-2021-29473)"},{"cve":"CVE-2021-29473","qid":"198383","title":"Ubuntu Security Notification for Exiv2 vulnerabilities (USN-4964-1)"},{"cve":"CVE-2021-29473","qid":"239787","title":"Red Hat Update for exiv2 security (RHSA-2021:4173)"},{"cve":"CVE-2021-29473","qid":"281214","title":"Fedora Security Update for mingw (FEDORA-2021-96a5dabcfa)"},{"cve":"CVE-2021-29473","qid":"281215","title":"Fedora Security Update for mingw (FEDORA-2021-2d860da728)"},{"cve":"CVE-2021-29473","qid":"281237","title":"Fedora Security Update for exiv2 (FEDORA-2021-be94728b95)"},{"cve":"CVE-2021-29473","qid":"281238","title":"Fedora Security Update for exiv2 (FEDORA-2021-10d7331a31)"},{"cve":"CVE-2021-29473","qid":"501546","title":"Alpine Linux Security Update for exiv2"},{"cve":"CVE-2021-29473","qid":"504730","title":"Alpine Linux Security Update for exiv2"},{"cve":"CVE-2021-29473","qid":"670609","title":"EulerOS Security Update for exiv2 (EulerOS-SA-2021-2367)"},{"cve":"CVE-2021-29473","qid":"671050","title":"EulerOS Security Update for exiv2 (EulerOS-SA-2021-2579)"},{"cve":"CVE-2021-29473","qid":"690094","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for exiv2 (d49f86ab-d9c7-11eb-a200-00155d01f201)"},{"cve":"CVE-2021-29473","qid":"710810","title":"Gentoo Linux Exiv2 Multiple Vulnerabilities (GLSA 202312-06)"},{"cve":"CVE-2021-29473","qid":"752871","title":"SUSE Enterprise Linux Security Update for exiv2 (SUSE-SU-2022:4252-1)"},{"cve":"CVE-2021-29473","qid":"752916","title":"SUSE Enterprise Linux Security Update for exiv2-0_26 (SUSE-SU-2022:4208-1)"},{"cve":"CVE-2021-29473","qid":"752954","title":"SUSE Enterprise Linux Security Update for exiv2 (SUSE-SU-2022:4276-1)"},{"cve":"CVE-2021-29473","qid":"901780","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for exiv2 (7211)"},{"cve":"CVE-2021-29473","qid":"902248","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for exiv2 (7211-1)"},{"cve":"CVE-2021-29473","qid":"940296","title":"AlmaLinux Security Update for exiv2 (ALSA-2021:4173)"},{"cve":"CVE-2021-29473","qid":"960736","title":"Rocky Linux Security Update for exiv2 (RLSA-2021:4173)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-29473","STATE":"PUBLIC","TITLE":"Out-of-bounds read in Exiv2::Jp2Image::doWriteMetadata"},"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 C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. An out-of-bounds read was found in Exiv2 versions v0.27.3 and earlier. Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. 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.4. Please see our security policy for information about Exiv2 security."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":2.5,"baseSeverity":"LOW","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:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"{\"CWE-125\":\"Out-of-bounds Read\"}"}]}]},"references":{"reference_data":[{"name":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-7569-phvm-vwc2","refsource":"CONFIRM","url":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-7569-phvm-vwc2"},{"name":"https://github.com/github/advisory-review/pull/1587","refsource":"MISC","url":"https://github.com/github/advisory-review/pull/1587"},{"name":"https://github.com/Exiv2/exiv2/security/policy","refsource":"MISC","url":"https://github.com/Exiv2/exiv2/security/policy"},{"refsource":"FEDORA","name":"FEDORA-2021-10d7331a31","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2XQT5F5IINTDYDAFGVGQZ7PMMLG7I5ZZ/"},{"refsource":"FEDORA","name":"FEDORA-2021-2d860da728","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JWZLDECIXXW3CCZ3RS4A3NG5X5VE4WZM/"},{"refsource":"FEDORA","name":"FEDORA-2021-96a5dabcfa","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LBKWLTXM7IKZ4PVGKLUQVAVFAYGGF7QR/"},{"refsource":"FEDORA","name":"FEDORA-2021-be94728b95","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P2A5GMJEXQ5Q76JK6F6VKK5JYCLVFGKN/"},{"refsource":"DEBIAN","name":"DSA-4958","url":"https://www.debian.org/security/2021/dsa-4958"},{"refsource":"MLIST","name":"[debian-lts-announce] 20210830 [SECURITY] [DLA 2750-1] exiv2 security update","url":"https://lists.debian.org/debian-lts-announce/2021/08/msg00028.html"}]},"source":{"advisory":"GHSA-7569-phvm-vwc2","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-04-26 19:15:00","lastModifiedDate":"2023-12-22 10:15:00","problem_types":["CWE-125"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW","baseScore":2.5,"baseSeverity":"LOW"},"exploitabilityScore":1,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:H/Au:N/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"HIGH","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":2.6},"severity":"LOW","exploitabilityScore":4.9,"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:3334:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"29473","Ordinal":"204677","Title":"CVE-2021-29473","CVE":"CVE-2021-29473","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"29473","Ordinal":"1","NoteData":"Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. An out-of-bounds read was found in Exiv2 versions v0.27.3 and earlier. Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. 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.4. Please see our security policy for information about Exiv2 security.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"29473","Ordinal":"2","NoteData":"2021-04-26","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"29473","Ordinal":"3","NoteData":"2021-08-30","Type":"Other","Title":"Modified"}]}}}