Numeric Errors Affecting libexif package, versions <0.6.20-2ubuntu0.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
14.65% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1204-LIBEXIF-326032
  • published13 Jul 2012
  • disclosed13 Jul 2012

Introduced: 13 Jul 2012

CVE-2012-2841  (opens in a new tab)
CWE-189  (opens in a new tab)

How to fix?

Upgrade Ubuntu:12.04 libexif to version 0.6.20-2ubuntu0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libexif package and not the libexif package as distributed by Ubuntu. See How to fix? for Ubuntu:12.04 relevant fixed versions and status.

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.

CVSS Scores

version 3.1