Live threats

All CVEs / Libexif Project

CVE-2012-2840Libexif Project Libexif

High 7.5 No auth needed

Priority
61
CVSS 2.0
7.5
EPSS
5.0%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Jul 13, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-189
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libexif.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libexif_projectlibexif≤ 0.6.20
libexif_projectlibexif0.6.14
libexif_projectlibexif0.6.15
libexif_projectlibexif0.6.16
libexif_projectlibexif0.6.18
libexif_projectlibexif0.6.19

Official sources

References

Links published by the sources. Open them with care.