CVE catalog

CVE-2021-29623

exiv2 affected and fixed versions

[CVE catalog]

Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. A read of uninitialized memory 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 read of uninitialized memory is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to leak a few bytes of stack memory, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.4.

Severity
Medium · CVSS 5.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
1.10% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiantrixieexiv20.27.5-1FixedDistribution-reported fixed boundary[CVE-2021-29623]
Debiantrixieexiv20.28.5+dfsg-1Fixed[CVE-2021-29623]
Debiansidexiv20.27.5-1FixedDistribution-reported fixed boundary[CVE-2021-29623]
Debiansidexiv20.28.9+dfsg-1Fixed[CVE-2021-29623]
Debianforkyexiv20.27.5-1FixedDistribution-reported fixed boundary[CVE-2021-29623]
Debianforkyexiv20.28.9+dfsg-1Fixed[CVE-2021-29623]
Debianbookwormexiv20.27.5-1FixedDistribution-reported fixed boundary[CVE-2021-29623]
Debianbookwormexiv20.27.6-1Fixed[CVE-2021-29623]

Showing 8 fix observations. All 15 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
UnknownRelease not reportedexiv20.27.5-1UnknownSource applicability is not establishedProvider not reported
Debianbookwormexiv20.27.5-1FixedDistribution-reported fixed boundary[CVE-2021-29623]
Debianbookwormexiv20.27.6-1Fixed[CVE-2021-29623]
Debianforkyexiv20.27.5-1FixedDistribution-reported fixed boundary[CVE-2021-29623]
Debianforkyexiv20.28.9+dfsg-1Fixed[CVE-2021-29623]
Debiansidexiv20.27.5-1FixedDistribution-reported fixed boundary[CVE-2021-29623]
Debiansidexiv20.28.9+dfsg-1Fixed[CVE-2021-29623]
Debiantrixieexiv20.27.5-1FixedDistribution-reported fixed boundary[CVE-2021-29623]
Debiantrixieexiv20.28.5+dfsg-1Fixed[CVE-2021-29623]
Opensusetumbleweedexiv20.27.5-2.1UnknownSource applicability is not established[OPENSUSE-SU-2024:12063-1]
Ubuntu20.04exiv20.25-4ubuntu2UnknownSource applicability is not established[UBUNTU-CVE-2021-29623]
Ubuntu20.04exiv20.25-4ubuntu3UnknownSource applicability is not established[UBUNTU-CVE-2021-29623]
Ubuntu20.04exiv20.27.2-8ubuntu2UnknownSource applicability is not established[UBUNTU-CVE-2021-29623]
Ubuntu20.04exiv20.27.2-8ubuntu2.2UnknownSource applicability is not established[UBUNTU-CVE-2021-29623]
Ubuntu20.04exiv20.27.2-8ubuntu2.4UnknownSource applicability is not established[UBUNTU-CVE-2021-29623]
Original provider fields
{
  "package_releases": [
    {
      "name": "exiv2",
      "status": "fixed",
      "release": "sid",
      "version": "0.28.9+dfsg-1"
    },
    {
      "name": "exiv2",
      "status": "fixed",
      "release": "forky",
      "version": "0.28.9+dfsg-1"
    },
    {
      "name": "exiv2",
      "status": "fixed",
      "release": "trixie",
      "version": "0.28.5+dfsg-1"
    },
    {
      "name": "exiv2",
      "status": "fixed",
      "release": "bookworm",
      "version": "0.27.6-1"
    }
  ],
  "fixed_versions": [
    {
      "bug": 988481,
      "name": "exiv2",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "0.27.5-1"
    },
    {
      "bug": 988481,
      "name": "exiv2",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "0.27.5-1"
    },
    {
      "bug": 988481,
      "name": "exiv2",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "0.27.5-1"
    },
    {
      "bug": 988481,
      "name": "exiv2",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "0.27.5-1"
    }
  ],
  "distribution_packages": [
    {
      "name": "exiv2",
      "fixed_version": "0.27.5-1",
      "applicability_unknown": true
    },
    {
      "name": "exiv2",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.27.2-8ubuntu2.4"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "0.25-4ubuntu2",
        "0.25-4ubuntu3",
        "0.27.2-8ubuntu2",
        "0.27.2-8ubuntu2.2"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-29623",
      "fixed_version": "0.27.2-8ubuntu2.4",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2021-29623",
      "provider_updated_at": "2026-04-22T12:52:13.057072Z",
      "applicability_unknown": true
    },
    {
      "name": "exiv2",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.27.5-2.1"
            }
          ]
        }
      ],
      "release": "tumbleweed",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2024:12063-1",
      "fixed_version": "0.27.5-2.1",
      "provider_source": "pypi",
      "provider_record_id": "OPENSUSE-SU-2024:12063-1",
      "provider_updated_at": "2026-02-04T02:22:07.459648Z",
      "applicability_unknown": true
    }
  ]
}

[Debian bug #988481]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [exiv2]Unknown
    Details (2)
    • 0.27.6-1 · amd64 · bookworm

      Fixed · Fixed: 0.27.5-1

      dsa · exiv2 · debian · bookworm; dsa · exiv2 · debian · 12

    • 0.27.6-1 · arm64 · bookworm

      Fixed · Fixed: 0.27.5-1

      dsa · exiv2 · debian · bookworm; dsa · exiv2 · debian · 12

  • [libexiv2-27]Unknown

    Source package: [exiv2]

    Details (2)
    • 0.27.6-1 · amd64 · bookworm

      Fixed · Fixed: 0.27.5-1

      dsa · exiv2 · debian · bookworm; dsa · exiv2 · debian · 12

    • 0.27.6-1 · arm64 · bookworm

      Fixed · Fixed: 0.27.5-1

      dsa · exiv2 · debian · bookworm; dsa · exiv2 · debian · 12

  • [libexiv2-dev]Unknown

    Source package: [exiv2]

    Details (2)
    • 0.27.6-1 · amd64 · bookworm

      Fixed · Fixed: 0.27.5-1

      dsa · exiv2 · debian · bookworm; dsa · exiv2 · debian · 12

    • 0.27.6-1 · arm64 · bookworm

      Fixed · Fixed: 0.27.5-1

      dsa · exiv2 · debian · bookworm; dsa · exiv2 · debian · 12

  • [libexiv2-doc]Unknown

    Source package: [exiv2]

    Details (2)
    • 0.27.6-1 · all · bookworm

      Fixed · Fixed: 0.27.5-1

      dsa · exiv2 · debian · bookworm; dsa · exiv2 · debian · 12

    • 0.27.6-1 · all · bookworm

      Fixed · Fixed: 0.27.5-1

      dsa · exiv2 · debian · bookworm; dsa · exiv2 · debian · 12

[Debian 13 (Trixie)]

  • [exiv2]Unknown
    Details (2)
    • 0.28.5+dfsg-1 · amd64 · trixie

      Fixed · Fixed: 0.27.5-1

      dsa · exiv2 · debian · 13

    • 0.28.5+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 0.27.5-1

      dsa · exiv2 · debian · 13

  • [libexiv2-28]Unknown

    Source package: [exiv2]

    Details (2)
    • 0.28.5+dfsg-1 · amd64 · trixie

      Fixed · Fixed: 0.27.5-1

      dsa · exiv2 · debian · 13

    • 0.28.5+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 0.27.5-1

      dsa · exiv2 · debian · 13

  • [libexiv2-data]Unknown

    Source package: [exiv2]

    Details (2)
    • 0.28.5+dfsg-1 · all · trixie

      Fixed · Fixed: 0.27.5-1

      dsa · exiv2 · debian · 13

    • 0.28.5+dfsg-1 · all · trixie

      Fixed · Fixed: 0.27.5-1

      dsa · exiv2 · debian · 13

  • [libexiv2-dev]Unknown

    Source package: [exiv2]

    Details (2)
    • 0.28.5+dfsg-1 · amd64 · trixie

      Fixed · Fixed: 0.27.5-1

      dsa · exiv2 · debian · 13

    • 0.28.5+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 0.27.5-1

      dsa · exiv2 · debian · 13

  • [libexiv2-doc]Unknown

    Source package: [exiv2]

    Details (2)
    • 0.28.5+dfsg-1 · all · trixie

      Fixed · Fixed: 0.27.5-1

      dsa · exiv2 · debian · 13

    • 0.28.5+dfsg-1 · all · trixie

      Fixed · Fixed: 0.27.5-1

      dsa · exiv2 · debian · 13

[openSUSE Tumbleweed]

  • [exiv2]Unknown

    Source package: [exiv2]

    Details (1)
    • 0.28.8-2.3 · x86_64 · tumbleweed

      Fixed · Fixed: 0.27.5-2.1

      dsa · exiv2 · opensuse · tumbleweed

  • [exiv2-lang]Unknown

    Source package: [exiv2]

    Details (1)
    • 0.28.8-2.3 · noarch · tumbleweed

      Unknown · Fixed: 0.27.5-2.1

      Version impact unknown

      dsa · exiv2 · opensuse · tumbleweed

  • [libexiv2-28]Unknown

    Source package: [exiv2]

    Details (1)
    • 0.28.8-2.3 · x86_64 · tumbleweed

      Unknown · Fixed: 0.27.5-2.1

      Version impact unknown

      dsa · exiv2 · opensuse · tumbleweed

  • Source package: [exiv2]

    Details (1)
    • 0.28.8-2.3 · x86_64 · tumbleweed

      Unknown · Fixed: 0.27.5-2.1

      Version impact unknown

      dsa · exiv2 · opensuse · tumbleweed

  • Source package: [exiv2]

    Details (1)
    • 0.28.8-2.3 · x86_64 · tumbleweed

      Unknown · Fixed: 0.27.5-2.1

      Version impact unknown

      dsa · exiv2 · opensuse · tumbleweed

Observed:

References