{"schemaVersion":3,"id":"CVE-2025-26623","aliases":["GHSA-38h4-fx85-qcx7","PYSEC-2026-1353","RHSA-2025:7457","UBUNTU-CVE-2025-26623","DEBIAN-CVE-2025-26623"],"status":"published","duplicateOf":null,"title":null,"description":"Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. A heap buffer overflow was found in Exiv2 versions v0.28.0 to v0.28.4. Versions prior to v0.28.0, such as v0.27.7, are **not** affected. Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. The heap overflow is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to gain code execution, 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 `fixiso`. The bug is fixed in version v0.28.5. Users are advised to upgrade. There are no known workarounds for this vulnerability.","dates":{"published":"2025-02-18T19:24:31.701Z","modified":"2025-02-19T15:15:44.716Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":5.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","exploitability":7.2,"impact":5.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00916,"percentile":0.59787,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00916},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00916,"percentile":0.59787}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00916,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00916,"percentile":0.59787}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_EXIV2_EXIV2","name":"Exiv2","source":"github","url":"https://github.com/Exiv2/exiv2/issues/187","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"debian","product":"exiv2","name":"exiv2","label":"exiv2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/exiv2","purlType":"deb","versions":[{"text":"< 0.28.4+dfsg-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.28.4+dfsg-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"exiv2","name":"exiv2","label":"exiv2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/exiv2","purlType":"deb","versions":[{"text":"< 0.28.4+dfsg-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.28.4+dfsg-2","eol":null,"hubHref":null},{"vendor":"exiv2","product":"exiv2","name":"exiv2","label":"exiv2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.28.0, < 0.28.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.28.0, < 0.28.5","eol":null,"hubHref":"/vendor/exiv2/exiv2"},{"vendor":"PyPI","product":"exiv2","name":"exiv2","label":"exiv2","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/exiv2","purlType":"pypi","versions":[{"text":"≥ 0.28.0, < 0.28.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.28.0, < 0.28.5","eol":null,"hubHref":null},{"vendor":"redhat","product":"exiv2","name":"exiv2","label":"exiv2","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/exiv2","purlType":"rpm","versions":[{"text":"< 0:0.28.3-3.el10_0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.28.3-3.el10_0.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"exiv2-debuginfo","name":"exiv2-debuginfo","label":"exiv2-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/exiv2-debuginfo","purlType":"rpm","versions":[{"text":"< 0:0.28.3-3.el10_0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.28.3-3.el10_0.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"exiv2-debugsource","name":"exiv2-debugsource","label":"exiv2-debugsource","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/exiv2-debugsource","purlType":"rpm","versions":[{"text":"< 0:0.28.3-3.el10_0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.28.3-3.el10_0.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"exiv2-devel","name":"exiv2-devel","label":"exiv2-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/exiv2-devel","purlType":"rpm","versions":[{"text":"< 0:0.28.3-3.el10_0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.28.3-3.el10_0.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"exiv2-doc","name":"exiv2-doc","label":"exiv2-doc","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/exiv2-doc","purlType":"rpm","versions":[{"text":"< 0:0.28.3-3.el10_0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.28.3-3.el10_0.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"exiv2-libs","name":"exiv2-libs","label":"exiv2-libs","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/exiv2-libs","purlType":"rpm","versions":[{"text":"< 0:0.28.3-3.el10_0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.28.3-3.el10_0.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"exiv2-libs-debuginfo","name":"exiv2-libs-debuginfo","label":"exiv2-libs-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/exiv2-libs-debuginfo","purlType":"rpm","versions":[{"text":"< 0:0.28.3-3.el10_0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.28.3-3.el10_0.2","eol":null,"hubHref":null}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-38h4-fx85-qcx7","label":"github.com/Exiv2/exiv2/security/advisories/GHSA-38h4-fx85-qcx7","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","ARTICLE","REPORT","Vendor Advisory"]},{"url":"https://github.com/Exiv2/exiv2/issues/3168","label":"github.com/Exiv2/exiv2/issues/3168","hostname":"github.com","tags":["X Refsource MISC","WEB","ARTICLE","REPORT","Exploit","Issue Tracking"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-26623","label":"nvd.nist.gov/vuln/detail/CVE-2025-26623","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/Exiv2/exiv2/pull/3174","label":"github.com/Exiv2/exiv2/pull/3174","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/jim-easterbrook/python-exiv2/commit/4cc875e392f9e0bc705fe03d929b9a382b78dae4","label":"github.com/jim-easterbrook/python-exiv2/commit/4cc875e392f9e0bc705fe03d929b9a382b78dae4","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/Exiv2/exiv2","label":"github.com/Exiv2/exiv2","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/exiv2","label":"pypi.org/project/exiv2","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-38h4-fx85-qcx7","label":"github.com/advisories/GHSA-38h4-fx85-qcx7","hostname":"github.com","tags":["Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2025:7457","label":"access.redhat.com/errata/RHSA-2025:7457","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2346345","label":"bugzilla.redhat.com/show_bug.cgi?id=2346345","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_7457.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_7457.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-26623","label":"access.redhat.com/security/cve/CVE-2025-26623","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-26623","label":"www.cve.org/CVERecord?id=CVE-2025-26623","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2025-26623","label":"ubuntu.com/security/CVE-2025-26623","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-26623","label":"security-tracker.debian.org/tracker/CVE-2025-26623","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:10298-1","OPENSUSE-SU-2026:20410-1","SUSE-SU-2026:20923-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:10298-1","OPENSUSE-SU-2026:20410-1","SUSE-SU-2026:20923-1"]},"timeline":[{"kind":"published","date":"2025-02-18T19:24:31.701Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-19T15:15:44.716Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T15:30:36.031Z","stale":false,"partial":false}}