Skip to content
OpenAdvisories
Unscored CVE-2012-2841 EUVD-2012-2821GHSA-gf6f-3mxg-9758

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 rem…

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

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.

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