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

# CVE-2019-14492

Publication date 1 August 2019

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

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

## Cvss 3 Severity Score

**7.5 · High**

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

Toggle side navigation

## Description

An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1. There
is an out of bounds read/write in the function
HaarEvaluator::OptFeature::calc in modules/objdetect/src/cascadedetect.hpp,
which leads to denial of service.

### From the Ubuntu Security Team

It was discovered that OpenCV incorrectly handled certain files. An attaacker
could possibly use this issue to cause a denial of service.

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

## 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+esm2  Ubuntu Pro |
| 16.04 LTS xenial | Ignored end of standard support, was needed |
| 14.04 LTS trusty | Ignored end of standard support |

---

* [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-14492?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)

## Notes

---

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

the commit that fixes this issue is the same as the one for
CVE-2019-14491. See: https://github.com/opencv/opencv/pull/15150.
In xenial and earlier, it is necessary to backport the fix
for this CVE. However, changes in the code that have occurred
since the release of versions available in xenial and earlier
cause this backport to be quite intrusive. To backport and
properly apply the patch, it would be necessary to alter
library functions that are exported, meaning that it would be
necessary to alter their interfaces, which could end up
causing regressions in software that uses the opencv library
to operate. It also seems like a backported version of the
patch does not completely fix the vulnerability, with the POC
file causing a similar crash, even after the fix is applied.

### 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:   [321c74c](https://github.com/opencv/opencv/commit/321c74ccd6077bdea1d47450ca4fe955cb5b6330) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.5 · High

* Base metrics

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

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.5 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/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-14492)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2019-14492)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2019-14492)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2019-14492)

### 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/compare/33b765d...4a7ca5a>
* <https://github.com/opencv/opencv/compare/371bba8...ddbd10c>
* <https://github.com/opencv/opencv/issues/15124>
* <https://www.cve.org/CVERecord?id=CVE-2019-14492>
