Integer Overflow or Wraparound Affecting libexif package, versions <0:0.6.21-5.el6_3


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
16.7% (97th 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-CENTOS6-LIBEXIF-2062243
  • published26 Jul 2021
  • disclosed12 Jul 2012

Introduced: 12 Jul 2012

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

How to fix?

Upgrade Centos:6 libexif to version 0:0.6.21-5.el6_3 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 Centos. See How to fix? for Centos:6 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 Base Scores

version 3.1