Skip to content
Fencer Intel
medium 6.5

CVE-2019-17402 json

Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp when called from Exiv2::Internal::CiffDirectory::readDirec…

published 7y ago modified 4mo ago also EUVD-2019-0052

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

Summary

Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp when called from Exiv2::Internal::CiffDirectory::readDirectory in crwimage_int.cpp, because there is no validation of the relationship of the total size to the offset and size.

Patch / fix

  • exiv2 Debian 14, Debian 13, Debian 12 0.27.3-1

debian advisories DEBIAN-CVE-2019-17402

  • exiv2 Ubuntu 16.04 LTS 0.25-2.1ubuntu16.04.5
  • exiv2 Ubuntu 18.04 LTS 0.25-3.1ubuntu0.18.04.4

ubuntu advisories UBUNTU-CVE-2019-17402

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

  • exiv2 RHEL 8 0.27.3-2.el8
  • exiv2-libs RHEL 8 0.27.3-2.el8
  • exiv2 RHEL 7 0.27.0-3.el7_8
  • exiv2-libs RHEL 7 0.27.0-3.el7_8

red hat advisories RHSA-2021:1758RHSA-2020:4030

  • exiv2 SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +18 more 0.26-150000.6.26.1
  • exiv2-0_26 SLE Module for Desktop Applications 15 SP4, openSUSE Leap 15.4 0.26-150400.9.21.1
  • exiv2 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +3 more 0.23-12.8.1

suse advisories SUSE-SU-2022:4276-1SUSE-SU-2022:4208-1SUSE-SU-2020:0860-1

  • exiv2 Rocky Linux 8 0.27.3-2.el8

rocky linux advisories RLSA-2021:1758

  • exiv2 Alpine 3.10, Alpine 3.9, Alpine 3.8 0.26-r1
  • exiv2 Alpine 3.24, Alpine 3.23, Alpine 3.22 +11 more 0.27.2-r2

alpine advisories ALPINE-CVE-2019-17402

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

  • exiv2 CBL-Mariner 2.0 0.27.5-1

azure linux advisories AZL-7204

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2019-17402 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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-2019-17402 updated cvss 6.5

exiv2: out-of-bounds read in CiffDirectory::readDirectory due to lack of size check

  • Red Hat Enterprise Linux 6 exiv2, exiv2-libs Red Hat Enterprise Linux 7 compat-exiv2-023, compat-exiv2-026
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 compat-exiv2-026
    affected: no fix available “Fix deferred”
  • Red Hat CodeReady Linux Builder (v. 8) exiv2-doc 0.27.3-2.el8, exiv2-devel 0.27.3-2.el8, exiv2-debuginfo 0.27.3-2.el8, exiv2-debugsource 0.27.3-2.el8, exiv2-libs-debuginfo 0.27.3-2.el8 Red Hat Enterprise Linux AppStream (v. 8) exiv2 0.27.3-2.el8, exiv2-libs 0.27.3-2.el8
    fixed: vendor fix RHSA-2021:1758
  • Red Hat Enterprise Linux Client (v. 7) exiv2 0.27.0-3.el7_8, exiv2-libs 0.27.0-3.el7_8 Red Hat Enterprise Linux Client Optional (v. 7) exiv2-doc 0.27.0-3.el7_8, exiv2-devel 0.27.0-3.el7_8, exiv2-debuginfo 0.27.0-3.el7_8 Red Hat Enterprise Linux ComputeNode (v. 7) exiv2 0.27.0-3.el7_8, exiv2-libs 0.27.0-3.el7_8 Red Hat Enterprise Linux ComputeNode Optional (v. 7) exiv2-doc 0.27.0-3.el7_8, exiv2-devel 0.27.0-3.el7_8, exiv2-debuginfo 0.27.0-3.el7_8 Red Hat Enterprise Linux Server (v. 7) exiv2 0.27.0-3.el7_8, exiv2-libs 0.27.0-3.el7_8 Red Hat Enterprise Linux Server Optional (v. 7) exiv2-doc 0.27.0-3.el7_8, exiv2-devel 0.27.0-3.el7_8, exiv2-debuginfo 0.27.0-3.el7_8
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 7) exiv2 0.27.0-3.el7_8, exiv2-libs 0.27.0-3.el7_8 Red Hat Enterprise Linux Workstation Optional (v. 7) exiv2-doc 0.27.0-3.el7_8, exiv2-devel 0.27.0-3.el7_8, exiv2-debuginfo 0.27.0-3.el7_8
    fixed: vendor fix RHSA-2020:4030

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

1.85% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

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

Classification

Weakness
  • CWE-120 Buffer Copy without Checking Size of Input

References

Sources

Fencer Intel 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.