Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libexif | 0.6.20-3 | — |
| Debian 13 | libexif | 0.6.20-3 | — |
| Debian 12 | libexif | 0.6.20-3 | — |
| Debian 6.0 | libexif | 0.6.19-1+squeeze1 | DSA-2559-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | libexif +1 | 0.6.21-5.el6_3 | RHSA-2012:1255 |
| RHEL 5 | libexif +1 | 0.6.21-1.el5_8 | RHSA-2012:1255 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libexif | 0.6.21-10.8 | openSUSE-SU-2024:10510-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libexif | 0.6.21-r0 | — |
| Alpine v3.23 | libexif | 0.6.21-r0 | — |
| Alpine v3.22 | libexif | 0.6.21-r0 | — |
| Alpine v3.21 | libexif | 0.6.21-r0 | — |
| Alpine v3.20 | libexif | 0.6.21-r0 | — |
Show 12 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libexif | 0.6.21-r0 | — |
| Alpine v3.18 | libexif | 0.6.21-r0 | — |
| Alpine v3.17 | libexif | 0.6.21-r0 | — |
| Alpine v3.16 | libexif | 0.6.21-r0 | — |
| Alpine v3.15 | libexif | 0.6.21-r0 | — |
| Alpine v3.14 | libexif | 0.6.21-r0 | — |
| Alpine v3.13 | libexif | 0.6.21-r0 | — |
| Alpine v3.12 | libexif | 0.6.21-r0 | — |
| Alpine v3.11 | libexif | 0.6.21-r0 | — |
| Alpine v3.10 | libexif | 0.6.21-r0 | — |
| Alpine v3.9 | libexif | 0.6.21-r0 | — |
| Alpine v3.8 | libexif | 0.6.21-r0 | — |
Advisories 3
- RHSA-2012:1255 Red Hat Security Advisory: libexif security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2559-1 libexif - several Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10510-1 libexif-devel-0.6.21-10.8 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 54437 vdb-entry
- DSA-2559 vendor-advisory
- SUSE-SU-2012:0903 vendor-advisory
- [libexif-devel] 20120712 libexif project security advisory July 12, 2012 mailing-list
- 49988 third-party-advisory
- RHSA-2012:1255 vendor-advisory
- USN-1513-1 vendor-advisory
- SUSE-SU-2012:0902 vendor-advisory