Skip to content
Heist/ feed
Back to feed
MediumFix available

exiv2 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2025-54080

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 0.28.5 and earlier. 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. The bug is fixed in version 0.28.6.

Products
exiv2
Affected versions
0.27.6-1, 0.28.0+dfsg-1, 0.28.0+dfsg-2, 0.28.0+dfsg-3, 0.28.0+dfsg-4, 0.28.1+dfsg-1, 0.28.1+dfsg-2, 0.28.1+dfsg-3, 0.28.2+dfsg-1, 0.28.3+dfsg-1, 0.28.3+dfsg-2, 0.28.4+dfsg-1, 0.28.4+dfsg-2, 0.28.5+dfsg-1, 0.28.7+dfsg-1, 0.28.7+dfsg-2, 0.28.8+dfsg-1, 0.28.9+dfsg-1
Fixed versions
0.28.7+dfsg-2
CVEs
CVE-2025-54080
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 23:25 UTC · Revision 1

Source evidence

DEBIAN-CVE-2025-54080

core-osv · Original source

Published 29 Aug 2025, 15:15 UTC

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 0.28.5 and earlier. 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. The bug is fixed in version 0.28.6.

osv:DEBIAN-CVE-2025-54080

exiv2

Fixed versions: Not specified

exiv2

Fixed versions: Not specified

exiv2

Fixed versions: 0.28.7+dfsg-2

Complete source record
{
  "id": "d12024f7d22f2b8b46be03d74425498778ffe8c9b530c1e5b84f371870a630fe",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-54080",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2025-54080",
    "summary": "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 0.28.5 and earlier. 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. The bug is fixed in version 0.28.6.",
    "evidence": "osv:DEBIAN-CVE-2025-54080",
    "products": [
      {
        "name": {
          "value": "exiv2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.27.6-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.28.0+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.28.0+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.28.0+dfsg-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.28.0+dfsg-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.28.1+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.28.1+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.28.1+dfsg-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.28.2+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.28.3+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.28.3+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.28.4+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.28.4+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.28.5+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.28.7+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.28.7+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.28.8+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.28.9+dfsg-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "exiv2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.28.5+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.28.7+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.28.7+dfsg-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.28.8+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.28.9+dfsg-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "exiv2",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.28.7+dfsg-2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.28.5+dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.28.7+dfsg-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2025-54080",
      "aliases": [
        "DEBIAN-CVE-2025-54080"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "exiv2",
            "purl": "pkg:deb/debian/exiv2?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "0.27.6-1",
            "0.28.0+dfsg-1",
            "0.28.0+dfsg-2",
            "0.28.0+dfsg-3",
            "0.28.0+dfsg-4",
            "0.28.1+dfsg-1",
            "0.28.1+dfsg-2",
            "0.28.1+dfsg-3",
            "0.28.2+dfsg-1",
            "0.28.3+dfsg-1",
            "0.28.3+dfsg-2",
            "0.28.4+dfsg-1",
            "0.28.4+dfsg-2",
            "0.28.5+dfsg-1",
            "0.28.7+dfsg-1",
            "0.28.7+dfsg-2",
            "0.28.8+dfsg-1",
            "0.28.9+dfsg-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-54080.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "exiv2",
            "purl": "pkg:deb/debian/exiv2?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "0.28.5+dfsg-1",
            "0.28.7+dfsg-1",
            "0.28.7+dfsg-2",
            "0.28.8+dfsg-1",
            "0.28.9+dfsg-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-54080.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.28.7+dfsg-2"
                }
              ]
            }
          ],
          "package": {
            "name": "exiv2",
            "purl": "pkg:deb/debian/exiv2?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "0.28.5+dfsg-1",
            "0.28.7+dfsg-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-54080.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T17:47:43.382999996Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-54080"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2025-54080"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-54080",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 418556,
  "published_at": "2025-08-29T15:15:35.613+00:00"
}