ubuntu-cve-2025-26623
Vulnerability from osv_ubuntu
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.
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "exiv2",
"binary_version": "0.28.4+dfsg-2"
},
{
"binary_name": "libexiv2-28",
"binary_version": "0.28.4+dfsg-2"
},
{
"binary_name": "libexiv2-data",
"binary_version": "0.28.4+dfsg-2"
},
{
"binary_name": "libexiv2-dev",
"binary_version": "0.28.4+dfsg-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.04",
"name": "exiv2",
"purl": "pkg:deb/ubuntu/exiv2@0.28.4+dfsg-2?arch=source\u0026distro=plucky"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.28.4+dfsg-2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.27.6-1build1",
"0.28.3+dfsg-2",
"0.28.4+dfsg-1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2025-26623",
"modified": "2025-09-08T17:08:12Z",
"published": "2025-02-18T20:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-26623"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-26623"
},
{
"type": "REPORT",
"url": "https://github.com/Exiv2/exiv2/security/advisories/GHSA-38h4-fx85-qcx7"
},
{
"type": "REPORT",
"url": "https://github.com/Exiv2/exiv2/issues/3168"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-26623"
],
"withdrawn": "2026-01-20T05:27:23Z"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.