
CVE catalog
CVE-2012-2841
libexif: CVE-2012-2841
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 5.75% · Oct 25, 2026
Integer underflow in the exif_entry_get_value function in exif-entry.c in the EXIF Tag Parsing Library (aka libexif) 0.6.20 might allow remote attackers to execute arbitrary code via vectors involving a crafted buffer-size parameter during the formatting of an EXIF tag, leading to a heap-based buffer overflow.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libexif | sid | 0.6.26-1 | fixed |
| Debian | libexif | forky | 0.6.26-1 | fixed |
| Debian | libexif | trixie | 0.6.25-1+deb13u1 | fixed |
| Debian | libexif | bookworm | 0.6.24-1+deb12u1 | fixed |
| Alpine | libexif | 3.10 | 0.6.21-r0 | fixed |
| Alpine | libexif | 3.11 | 0.6.21-r0 | fixed |
| Alpine | libexif | 3.12 | 0.6.21-r0 | fixed |
| Alpine | libexif | 3.8 | 0.6.21-r0 | fixed |
| Alpine | libexif | 3.9 | 0.6.21-r0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libexif | source | sid | 0.6.20-3 | not yet assigned | Not reported | [681454] |
| Debian | libexif | source | forky | 0.6.20-3 | not yet assigned | Not reported | [681454] |
| Debian | libexif | source | trixie | 0.6.20-3 | not yet assigned | Not reported | [681454] |
| Debian | libexif | source | bookworm | 0.6.20-3 | not yet assigned | Not reported | [681454] |
| Alpine | libexif | apk | 3.10 | 0.6.21-r0 | Not reported | ALPINE-CVE-2012-2841 | Not reported |
| Alpine | libexif | apk | 3.11 | 0.6.21-r0 | Not reported | ALPINE-CVE-2012-2841 | Not reported |
| Alpine | libexif | apk | 3.12 | 0.6.21-r0 | Not reported | ALPINE-CVE-2012-2841 | Not reported |
| Alpine | libexif | apk | 3.8 | 0.6.21-r0 | Not reported | ALPINE-CVE-2012-2841 | Not reported |
| Alpine | libexif | apk | 3.9 | 0.6.21-r0 | Not reported | ALPINE-CVE-2012-2841 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libexif12]Fixed
Source package: [libexif]
Details (2)
0.6.24-1+deb12u1· amd64 · bookwormFixed · Fixed:
0.6.20-3dsa · libexif · debian · bookworm; dsa · libexif · debian · 12
0.6.24-1+deb12u1· arm64 · bookwormFixed · Fixed:
0.6.20-3dsa · libexif · debian · bookworm; dsa · libexif · debian · 12
- [libexif-dev]Fixed
Source package: [libexif]
Details (2)
0.6.24-1+deb12u1· amd64 · bookwormFixed · Fixed:
0.6.20-3dsa · libexif · debian · bookworm; dsa · libexif · debian · 12
0.6.24-1+deb12u1· arm64 · bookwormFixed · Fixed:
0.6.20-3dsa · libexif · debian · bookworm; dsa · libexif · debian · 12
- [libexif-doc]Fixed
Source package: [libexif]
Details (2)
0.6.24-1+deb12u1· all · bookwormFixed · Fixed:
0.6.20-3dsa · libexif · debian · bookworm; dsa · libexif · debian · 12
0.6.24-1+deb12u1· all · bookwormFixed · Fixed:
0.6.20-3dsa · libexif · debian · bookworm; dsa · libexif · debian · 12
[Debian 13 (Trixie)]
- [libexif12]Fixed
Source package: [libexif]
Details (2)
0.6.25-1+deb13u1· amd64 · trixieFixed · Fixed:
0.6.20-3dsa · libexif · debian · 13
0.6.25-1+deb13u1· arm64 · trixieFixed · Fixed:
0.6.20-3dsa · libexif · debian · 13
- [libexif-dev]Fixed
Source package: [libexif]
Details (2)
0.6.25-1+deb13u1· amd64 · trixieFixed · Fixed:
0.6.20-3dsa · libexif · debian · 13
0.6.25-1+deb13u1· arm64 · trixieFixed · Fixed:
0.6.20-3dsa · libexif · debian · 13
- [libexif-doc]Fixed
Source package: [libexif]
Details (2)
0.6.25-1+deb13u1· all · trixieFixed · Fixed:
0.6.20-3dsa · libexif · debian · 13
0.6.25-1+deb13u1· all · trixieFixed · Fixed:
0.6.20-3dsa · libexif · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2012:1255]
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_10510-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2012-2841]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2012-2841]
- [https://security-tracker.debian.org/tracker/CVE-2012-2841]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]