---
title: "CVE-2019-17402\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2019-17402?format=md
keywords: index, follow
---

# CVE-2019-17402

Publication date 9 October 2019

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**6.5 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2019-17402?format=md#impact-score)

Toggle side navigation

## Description

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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2019-17402?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| exiv2 | 19.10 eoan | Fixed 0.25-4ubuntu2.1 |
| 19.04 disco | Fixed 0.25-4ubuntu1.2 |
| 18.04 LTS bionic | Fixed 0.25-3.1ubuntu0.18.04.4 |
| 16.04 LTS xenial | Fixed 0.25-2.1ubuntu16.04.5 |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2019-17402?format=md#patch-details)

## Notes

---

### [leosilva](https://launchpad.net/~leosilva)

second patch adds a regression test.

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| exiv2 | * Upstream:   [b789077](https://github.com/Exiv2/exiv2/commit/b7890776c62398ca1005e8edc32786859d60fcf7) * Upstream:   [73b874f](https://github.com/phako/exiv2/commit/73b874fb14d02578f876aa7dd404cf7c07b6dc4e) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

6.5 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 6.5 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-17402)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2019-17402)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2019-17402)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2019-17402)

### Related Ubuntu Security Notices (USN)

+ [USN-4159-1](https://usn.ubuntu.com/USN-4159-1)
+ Exiv2 vulnerability
+ 21 October 2019

### Other references

* <https://github.com/Exiv2/exiv2/issues/1019>
* <https://www.cve.org/CVERecord?id=CVE-2019-17402>
