Skip to content
OpenAdvisories
Unscored CVE-2012-2840 EUVD-2012-2820GHSA-7r47-9m3f-8mp5

Off-by-one error in the exif_convert_utf16_to_utf8 function in exif-entry.c in the EXIF Tag Parsing Library (aka libexif) before 0.6.21 all…

Published Jul 13, 2012 · Updated Aug 6, 2024 · Assigned by Chrome

Description

Off-by-one error in the exif_convert_utf16_to_utf8 function in exif-entry.c in the EXIF Tag Parsing Library (aka libexif) before 0.6.21 allows remote attackers to cause a denial of service or possibly execute arbitrary code via crafted EXIF tags in an image.

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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libexif 0.6.21-10.8 openSUSE-SU-2024:10510-1
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

References