---
title: "CVE-2019-15939\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-15939?format=md
keywords: index, follow
---

# CVE-2019-15939

Publication date 5 September 2019

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

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

## Cvss 3 Severity Score

**5.9 · Medium**

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

Toggle side navigation

## Description

An issue was discovered in OpenCV 4.1.0. There is a divide-by-zero error in
cv::HOGDescriptor::getDescriptorSize in modules/objdetect/src/hog.cpp.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| opencv | 23.04 lunar | Not affected |
| 22.10 kinetic | Not affected |
| 22.04 LTS jammy | Not affected |
| 21.10 impish | Not affected |
| 21.04 hirsute | Not affected |
| 20.10 groovy | Not affected |
| 20.04 LTS focal | Not affected |
| 19.10 eoan | Ignored end of life |
| 19.04 disco | Ignored end of life |
| 18.04 LTS bionic | Fixed 3.2.0+dfsg-4ubuntu0.1+esm3  Ubuntu Pro |
| 16.04 LTS xenial | Fixed 2.4.9.1+dfsg-1.5ubuntu1.1+esm1  Ubuntu Pro |
| 14.04 LTS trusty | Fixed 2.4.8+dfsg1-2ubuntu1.2+esm1  Ubuntu Pro |

---

* [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-15939?format=md#patch-details)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

### 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 |
| --- | --- |
| opencv | * Upstream:   <https://github.com/opencv/opencv/pull/15382/commits/5a497077f109d543ab86dfdf8add1c76c0e47d29> |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.9 · Medium

* Base metrics

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

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

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-4818-1](https://usn.ubuntu.com/USN-4818-1)
+ OpenCV vulnerabilities
+ 28 September 2022

### Other references

* <https://github.com/OpenCV/opencv/issues/15287>
* <https://github.com/opencv/opencv/pull/15382>
* <https://www.cve.org/CVERecord?id=CVE-2019-15939>
