CVE-2012-2841: Buffer Overflow

Published Jul 13, 2012
·
Updated

Integer underflow in the exifentrygetvalue 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.

Affected Software

18 affected componentsFixes available
Libexif Project Libexif=0.6.20
alpine/libexif<0.6.21-r0
0.6.21-r0
alpine/libexif<0.6.21-r0
0.6.21-r0
alpine/libexif<0.6.21-r0
0.6.21-r0
alpine/libexif<0.6.21-r0
0.6.21-r0
alpine/libexif<0.6.21-r0
0.6.21-r0
alpine/libexif<0.6.21-r0
0.6.21-r0
alpine/libexif<0.6.21-r0
0.6.21-r0
alpine/libexif<0.6.21-r0
0.6.21-r0
alpine/libexif<0.6.21-r0
0.6.21-r0
alpine/libexif<0.6.21-r0
0.6.21-r0
alpine/libexif<0.6.21-r0
0.6.21-r0
alpine/libexif<0.6.21-r0
0.6.21-r0
alpine/libexif<0.6.21-r0
0.6.21-r0
alpine/libexif<0.6.21-r0
0.6.21-r0
alpine/libexif<0.6.21-r0
0.6.21-r0
alpine/libexif<0.6.21-r0
0.6.21-r0
alpine/libexif<0.6.21-r0
0.6.21-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/libexif to a version that resolves this vulnerability.

    Fixed in 0.6.21-r0

Event History

Jul 13, 2012
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Data Sourced
via NVD·10:34 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·10:34 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2012-2841?

CVE-2012-2841 is considered a critical vulnerability due to its potential to allow remote attackers to execute arbitrary code.

2

How do I fix CVE-2012-2841?

To fix CVE-2012-2841, you should upgrade libexif to version 0.6.21 or later, which addresses this vulnerability.

3

Which versions of libexif are affected by CVE-2012-2841?

CVE-2012-2841 affects libexif version 0.6.20 and earlier.

4

What type of vulnerability is CVE-2012-2841?

CVE-2012-2841 is classified as an integer underflow vulnerability leading to potential heap-based buffer overflow.

5

Can CVE-2012-2841 be exploited remotely?

Yes, CVE-2012-2841 can be exploited remotely through crafted EXIF tag formatting.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203