Description
Integer overflow in the exif_data_load_data_entry function in libexif/exif-data.c in Libexif before 0.6.16 allows remote attackers to cause a denial of service (application crash) or execute arbitrary code via an image with many EXIF components, which triggers 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.16-1 | — |
| Debian 13 | libexif | 0.6.16-1 | — |
| Debian 12 | libexif | 0.6.16-1 | — |
| Debian 4.0 | libexif | 0.6.13-5etch1 | DSA-1310-1 |
| Debian 3.1 | libexif | 0.6.9-6sarge1 | DSA-1310-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | libexif +1 | 0.6.13-4.0.2.el5 | RHSA-2007:0501 |
| RHEL 4 | libexif +1 | 0.5.12-5.1.0.2 | RHSA-2007:0501 |
Advisories 2
- RHSA-2007:0501 Red Hat Security Advisory: libexif integer overflow Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1310-1 libexif Debian Security (DSA / DLA) · Mar 9, 2026
References
- SUSE-SA:2007:039 vendor-advisory
- 25717 third-party-advisory
- 26083 third-party-advisory
- SUSE-SR:2007:014 vendor-advisory
- 24461 vdb-entry
- multiple-libexif-exifdataloaddataentry-bo(34851) vdb-entry
- MDKSA-2007:128 vendor-advisory
- DSA-1310 vendor-advisory
- http://sourceforge.net/project/shownotes.php?release_id=515385
- GLSA-200706-09 vendor-advisory
- 20070613 Multiple Vendor libexif Integer Overflow Heap Corruption Vulnerability third-party-advisory
- 1018240 vdb-entry
- USN-478-1 vendor-advisory
- RHSA-2007:0501 vendor-advisory
- 25746 third-party-advisory
- 25768 third-party-advisory
- 25645 third-party-advisory
- 25674 third-party-advisory
- 25842 third-party-advisory
- oval:org.mitre.oval:def:9349 vdb-entry signature
- 35379 vdb-entry
- 25820 third-party-advisory
- 25932 third-party-advisory
- ADV-2007-2165 vdb-entry
- https://issues.rpath.com/browse/RPL-1482
- 20070622 FLEA-2007-0028-1: libexif mailing-list
- 25642 third-party-advisory