CVE-2020-13112: Integer Overflow

Published May 21, 2020
·
Updated

An issue was discovered in libexif before 0.6.22. Several buffer over-reads in EXIF MakerNote handling could lead to information disclosure and crashes. This is different from CVE-2020-0093.

Other sources

In exifentrygetvalue of exif-entry.c, there is a possible out of bounds write due to an integer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

— OSV

Affected Software

30 affected componentsFixes available
Libexif Project Libexif<0.6.22
Debian Debian Linux=8.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.10
Canonical Ubuntu Linux=20.04
openSUSE Leap=15.1
debian/libexif
0.6.22-30.6.24-10.6.25-10.6.25-2
Google Android
android/platform/external/libexif>=10:0<10:2022-02-01
10:2022-02-01
android/platform/external/libexif>=11:0<11:2022-02-01
11:2022-02-01
alpine/libexif<0.6.22-r0
0.6.22-r0
alpine/libexif<0.6.22-r0
0.6.22-r0
alpine/libexif<0.6.22-r0
0.6.22-r0
alpine/libexif<0.6.22-r0
0.6.22-r0
alpine/libexif<0.6.22-r0
0.6.22-r0
alpine/libexif<0.6.22-r0
0.6.22-r0
alpine/libexif<0.6.22-r0
0.6.22-r0
alpine/libexif<0.6.22-r0
0.6.22-r0
alpine/libexif<0.6.22-r0
0.6.22-r0
alpine/libexif<0.6.22-r0
0.6.22-r0
alpine/libexif<0.6.22-r0
0.6.22-r0
alpine/libexif<0.6.22-r0
0.6.22-r0
alpine/libexif<0.6.22-r0
0.6.22-r0
alpine/libexif<0.6.22-r0
0.6.22-r0
alpine/libexif<0.6.22-r0
0.6.22-r0
alpine/libexif<0.6.22-r0
0.6.22-r0
alpine/libexif<0.6.22-r0
0.6.22-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 0.6.22-3Fixed in 0.6.24-1Fixed in 0.6.25-1Fixed in 0.6.25-2
  2. Upgrade

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

    Fixed in 0.6.22-r0
  3. Upgrade

    Upgrade android/platform/external/libexif to a version that resolves this vulnerability.

    Fixed in 10:2022-02-01
  4. Upgrade

    Upgrade android/platform/external/libexif to a version that resolves this vulnerability.

    Fixed in 11:2022-02-01
  5. Upgrade

    Upgrade libexif to a version that resolves this vulnerability.

    Fixed in 0.6.22

Event History

May 21, 2020
CVE Published
via MITRE·03:56 PM
Data Sourced
via MITRE·03:56 PM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·04:15 PM
DescriptionSeverityAffected Software
Feb 1, 2022
Advisory Published
via OSV·12:00 AM
Feb 7, 2022
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2020-13112?

CVE-2020-13112 is a vulnerability in libexif before version 0.6.22 that allows for buffer over-reads in EXIF MakerNote handling, leading to information disclosure and crashes.

2

How severe is CVE-2020-13112?

CVE-2020-13112 has a severity rating of 9.1 (critical).

3

Which software versions are affected by CVE-2020-13112?

The affected software versions include libexif 0.6.21-4ubuntu0.5, 0.6.21-5.1ubuntu0.5, 0.6.21-6ubuntu0.3, 0.6.21-1ubuntu1+, and 0.6.21-2ubuntu0.5.

4

How can I fix CVE-2020-13112?

To fix CVE-2020-13112, update your libexif package to version 0.6.22 or higher.

5

Where can I find more information about CVE-2020-13112?

You can find more information about CVE-2020-13112 at the following references: [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13112), [Ubuntu Security Notices](https://ubuntu.com/security/notices/USN-4396-1), [NVD](https://nvd.nist.gov/vuln/detail/CVE-2020-13112).

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