
CVE catalog
CVE-2021-29623
exiv2 affected and fixed versions
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.8
CVSS: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 / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiantrixie | exiv2 | 0.27.5-1 | FixedDistribution-reported fixed boundary | [CVE-2021-29623] |
| Debiantrixie | exiv2 | 0.28.5+dfsg-1 | Fixed | [CVE-2021-29623] |
| Debiansid | exiv2 | 0.27.5-1 | FixedDistribution-reported fixed boundary | [CVE-2021-29623] |
| Debiansid | exiv2 | 0.28.9+dfsg-1 | Fixed | [CVE-2021-29623] |
| Debianforky | exiv2 | 0.27.5-1 | FixedDistribution-reported fixed boundary | [CVE-2021-29623] |
| Debianforky | exiv2 | 0.28.9+dfsg-1 | Fixed | [CVE-2021-29623] |
| Debianbookworm | exiv2 | 0.27.5-1 | FixedDistribution-reported fixed boundary | [CVE-2021-29623] |
| Debianbookworm | exiv2 | 0.27.6-1 | Fixed | [CVE-2021-29623] |
Showing 8 fix observations. All 15 observations, including unknown and conflicting reports, are available below.
Provider details and historical evidence
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| UnknownRelease not reported | exiv2 | 0.27.5-1 | UnknownSource applicability is not established | Provider not reported |
| Debianbookworm | exiv2 | 0.27.5-1 | FixedDistribution-reported fixed boundary | [CVE-2021-29623] |
| Debianbookworm | exiv2 | 0.27.6-1 | Fixed | [CVE-2021-29623] |
| Debianforky | exiv2 | 0.27.5-1 | FixedDistribution-reported fixed boundary | [CVE-2021-29623] |
| Debianforky | exiv2 | 0.28.9+dfsg-1 | Fixed | [CVE-2021-29623] |
| Debiansid | exiv2 | 0.27.5-1 | FixedDistribution-reported fixed boundary | [CVE-2021-29623] |
| Debiansid | exiv2 | 0.28.9+dfsg-1 | Fixed | [CVE-2021-29623] |
| Debiantrixie | exiv2 | 0.27.5-1 | FixedDistribution-reported fixed boundary | [CVE-2021-29623] |
| Debiantrixie | exiv2 | 0.28.5+dfsg-1 | Fixed | [CVE-2021-29623] |
| Opensusetumbleweed | exiv2 | 0.27.5-2.1 | UnknownSource applicability is not established | [OPENSUSE-SU-2024:12063-1] |
| Ubuntu20.04 | exiv2 | 0.25-4ubuntu2 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-29623] |
| Ubuntu20.04 | exiv2 | 0.25-4ubuntu3 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-29623] |
| Ubuntu20.04 | exiv2 | 0.27.2-8ubuntu2 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-29623] |
| Ubuntu20.04 | exiv2 | 0.27.2-8ubuntu2.2 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-29623] |
| Ubuntu20.04 | exiv2 | 0.27.2-8ubuntu2.4 | UnknownSource 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
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [exiv2]Unknown
Details (2)
0.27.6-1· amd64 · bookwormFixed · Fixed:
0.27.5-1dsa · exiv2 · debian · bookworm; dsa · exiv2 · debian · 12
0.27.6-1· arm64 · bookwormFixed · Fixed:
0.27.5-1dsa · exiv2 · debian · bookworm; dsa · exiv2 · debian · 12
- [libexiv2-27]Unknown
Source package: [exiv2]
Details (2)
0.27.6-1· amd64 · bookwormFixed · Fixed:
0.27.5-1dsa · exiv2 · debian · bookworm; dsa · exiv2 · debian · 12
0.27.6-1· arm64 · bookwormFixed · Fixed:
0.27.5-1dsa · exiv2 · debian · bookworm; dsa · exiv2 · debian · 12
- [libexiv2-dev]Unknown
Source package: [exiv2]
Details (2)
0.27.6-1· amd64 · bookwormFixed · Fixed:
0.27.5-1dsa · exiv2 · debian · bookworm; dsa · exiv2 · debian · 12
0.27.6-1· arm64 · bookwormFixed · Fixed:
0.27.5-1dsa · exiv2 · debian · bookworm; dsa · exiv2 · debian · 12
- [libexiv2-doc]Unknown
Source package: [exiv2]
Details (2)
0.27.6-1· all · bookwormFixed · Fixed:
0.27.5-1dsa · exiv2 · debian · bookworm; dsa · exiv2 · debian · 12
0.27.6-1· all · bookwormFixed · Fixed:
0.27.5-1dsa · exiv2 · debian · bookworm; dsa · exiv2 · debian · 12
[Debian 13 (Trixie)]
- [exiv2]Unknown
Details (2)
0.28.5+dfsg-1· amd64 · trixieFixed · Fixed:
0.27.5-1dsa · exiv2 · debian · 13
0.28.5+dfsg-1· arm64 · trixieFixed · Fixed:
0.27.5-1dsa · exiv2 · debian · 13
- [libexiv2-28]Unknown
Source package: [exiv2]
Details (2)
0.28.5+dfsg-1· amd64 · trixieFixed · Fixed:
0.27.5-1dsa · exiv2 · debian · 13
0.28.5+dfsg-1· arm64 · trixieFixed · Fixed:
0.27.5-1dsa · exiv2 · debian · 13
- [libexiv2-data]Unknown
Source package: [exiv2]
Details (2)
0.28.5+dfsg-1· all · trixieFixed · Fixed:
0.27.5-1dsa · exiv2 · debian · 13
0.28.5+dfsg-1· all · trixieFixed · Fixed:
0.27.5-1dsa · exiv2 · debian · 13
- [libexiv2-dev]Unknown
Source package: [exiv2]
Details (2)
0.28.5+dfsg-1· amd64 · trixieFixed · Fixed:
0.27.5-1dsa · exiv2 · debian · 13
0.28.5+dfsg-1· arm64 · trixieFixed · Fixed:
0.27.5-1dsa · exiv2 · debian · 13
- [libexiv2-doc]Unknown
Source package: [exiv2]
Details (2)
0.28.5+dfsg-1· all · trixieFixed · Fixed:
0.27.5-1dsa · exiv2 · debian · 13
0.28.5+dfsg-1· all · trixieFixed · Fixed:
0.27.5-1dsa · exiv2 · debian · 13
[openSUSE Tumbleweed]
- [exiv2]Unknown
Source package: [exiv2]
Details (1)
0.28.8-2.3· x86_64 · tumbleweedFixed · Fixed:
0.27.5-2.1dsa · exiv2 · opensuse · tumbleweed
- [exiv2-lang]Unknown
Source package: [exiv2]
Details (1)
0.28.8-2.3· noarch · tumbleweedUnknown · Fixed:
0.27.5-2.1Version impact unknown
dsa · exiv2 · opensuse · tumbleweed
- [libexiv2-28]Unknown
Source package: [exiv2]
Details (1)
0.28.8-2.3· x86_64 · tumbleweedUnknown · Fixed:
0.27.5-2.1Version impact unknown
dsa · exiv2 · opensuse · tumbleweed
- [libexiv2-28-x86-64-v3]Unknown
Source package: [exiv2]
Details (1)
0.28.8-2.3· x86_64 · tumbleweedUnknown · Fixed:
0.27.5-2.1Version impact unknown
dsa · exiv2 · opensuse · tumbleweed
- [libexiv2-devel]Unknown
Source package: [exiv2]
Details (1)
0.28.8-2.3· x86_64 · tumbleweedUnknown · Fixed:
0.27.5-2.1Version impact unknown
dsa · exiv2 · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2021_4173.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-29623]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-29623]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:12063-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-29623]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-29623.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2022-1968.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]