Skip to content
Fencer Vulns
medium 5.5

CVE-2020-12767 json

exif_entry_get_value in exif-entry.c in libexif 0.6.21 has a divide-by-zero error.

published 2020-05-09 6 y ago modified 2026-06-17 4 mo ago also EUVD-2020-5052

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 45%
public exploits
0
none known

Summary

exif_entry_get_value in exif-entry.c in libexif 0.6.21 has a divide-by-zero error.

Patch / fix

  • libexif Debian 14, Debian 13, Debian 12 0.6.21-7

debian advisories DEBIAN-CVE-2020-12767

  • libexif Ubuntu 16.04 LTS 0.6.21-2ubuntu0.2
  • libexif Ubuntu 18.04 LTS 0.6.21-4ubuntu0.2
  • libexif Ubuntu 20.04 LTS 0.6.21-6ubuntu0.1
  • libexif Ubuntu Pro 14.04 LTS 0.6.21-1ubuntu1+esm2

ubuntu advisories UBUNTU-CVE-2020-12767

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libexif RHEL 8 0.6.22-4.el8
  • libexif RHEL 7 0.6.22-1.el7

red hat advisories RHSA-2020:4766RHSA-2020:4040

  • libexif SLE Module for Package Hub 15 SP2, SLE Module for Package Hub 15 SP1, SLE Module for Desktop Applications 15 SP2 +1 more 0.6.22-5.6.1
  • libexif SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +16 more 0.6.22-8.9.1

suse advisories SUSE-SU-2020:1553-2SUSE-SU-2020:1553-1SUSE-SU-2020:1534-1

  • libexif openSUSE Tumbleweed 0.6.23-1.2
  • libexif openSUSE Leap 15.1 0.6.22-lp151.4.6.1

opensuse advisories openSUSE-SU-2024:10939-1openSUSE-SU-2020:0793-1

  • libexif Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 0.6.22-r0

alpine advisories ALPINE-CVE-2020-12767

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libexif Arch Linux 0.6.22-1

arch linux advisories AVG-1166

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-12767 updated cvss 6.2

libexif: divide-by-zero in exif_entry_get_value function in exif-entry.c

  • Red Hat Enterprise Linux 5 libexif Red Hat Enterprise Linux 6 libexif
    affected: no fix planned “Out of support scope”
  • Red Hat CodeReady Linux Builder (v. 8) libexif-devel 0.6.22-4.el8, libexif-debuginfo 0.6.22-4.el8, libexif-debugsource 0.6.22-4.el8 Red Hat Enterprise Linux AppStream (v. 8) libexif 0.6.22-4.el8
    fixed: vendor fix RHSA-2020:4766
  • Red Hat Enterprise Linux Client (v. 7) libexif 0.6.22-1.el7 Red Hat Enterprise Linux Client Optional (v. 7) libexif-doc 0.6.22-1.el7, libexif-devel 0.6.22-1.el7, libexif-debuginfo 0.6.22-1.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libexif 0.6.22-1.el7 Red Hat Enterprise Linux Server (v. 7) libexif 0.6.22-1.el7 Red Hat Enterprise Linux Server Optional (v. 7) libexif-doc 0.6.22-1.el7, libexif-devel 0.6.22-1.el7, libexif-debuginfo 0.6.22-1.el7 Red Hat Enterprise Linux Workstation (v. 7) libexif 0.6.22-1.el7
    +1 more products
    Red Hat Enterprise Linux Workstation Optional (v. 7) libexif-doc 0.6.22-1.el7, libexif-devel 0.6.22-1.el7, libexif-debuginfo 0.6.22-1.el7
    fixed: vendor fix RHSA-2020:4040

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.53% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 2.1 AV:L/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.