CVE catalog

CVE-2021-29464

exiv2: CVE-2021-29464

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.50% · Oct 25, 2026

Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A heap buffer overflow was found in Exiv2 versions v0.27.3 and earlier. 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 `insert`. The bug is fixed in version v0.27.4.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianexiv2sid0.28.9+dfsg-1fixed
Debianexiv2forky0.28.9+dfsg-1fixed
Debianexiv2trixie0.28.5+dfsg-1fixed
Debianexiv2bookworm0.27.6-1fixed
Ubuntuexiv220.040.25-4ubuntu2vulnerable
Ubuntuexiv220.040.25-4ubuntu3vulnerable
Ubuntuexiv220.040.27.2-8ubuntu2vulnerable
Ubuntuexiv220.040.27.2-8ubuntu2.2vulnerable
Ubuntuexiv220.040.27.2-8ubuntu2.4fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianexiv2sourcesid0.27.5-1not yet assignedNot reported[988242]
Debianexiv2sourceforky0.27.5-1not yet assignedNot reported[988242]
Debianexiv2sourcetrixie0.27.5-1not yet assignedNot reported[988242]
Debianexiv2sourcebookworm0.27.5-1not yet assignedNot reported[988242]
Ubuntuexiv2deb20.040.27.2-8ubuntu2.4Not reportedUBUNTU-CVE-2021-29464Not reported

[Debian bug #988242]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [exiv2]Fixed
    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

  • 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

  • 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

  • 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]Fixed
    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

  • 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

  • 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

  • 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

  • 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

Observed:

References