[USN-7247-1] OpenCV vulnerabilities

John Breton john.breton at canonical.com
Tue Feb 4 14:24:39 UTC 2025


==========================================================================
Ubuntu Security Notice USN-7247-1
February 03, 2025

opencv vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 22.04 LTS
- Ubuntu 18.04 LTS

Summary:

Several security issues were fixed in OpenCV.

Software Description:
- opencv: computer vision library

Details:

It was discovered that OpenCV did not properly manage certain XML data,
leading to a NULL pointer dereference. If a user were tricked into
loading a specially crafted file, a remote attacker could possibly use
this issue to make OpenCV crash, resulting in a denial of service.
This issue only affected Ubuntu 18.04 LTS. (CVE-2019-14493)

It was discovered that OpenCV may perform out-of-bounds reads in certain
situations. An attacker could possibly use this issue to cause OpenCV to
crash, resulting in a denial of service, or the execution of arbitrary
code. This issue only affected Ubuntu 18.04 LTS.
(CVE-2019-16249, CVE-2019-19624)

It was discovered that the QR code module of OpenCV incorrectly processed
certain maliciously crafted QR codes. A remote attacker could possibly use
this issue to cause OpenCV to crash, resulting in a denial of service.
This issue only affected Ubuntu 22.04 LTS. (CVE-2023-2617, CVE-2023-2618)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 22.04 LTS
   libopencv-contrib4.5d           4.5.4+dfsg-9ubuntu4+esm1
                                   Available with Ubuntu Pro
   libopencv-core4.5d              4.5.4+dfsg-9ubuntu4+esm1
                                   Available with Ubuntu Pro
   libopencv-dev                   4.5.4+dfsg-9ubuntu4+esm1
                                   Available with Ubuntu Pro
   libopencv-dnn4.5d               4.5.4+dfsg-9ubuntu4+esm1
                                   Available with Ubuntu Pro
   libopencv-flann4.5d             4.5.4+dfsg-9ubuntu4+esm1
                                   Available with Ubuntu Pro
   libopencv-imgcodecs4.5d         4.5.4+dfsg-9ubuntu4+esm1
                                   Available with Ubuntu Pro
   libopencv-objdetect4.5d         4.5.4+dfsg-9ubuntu4+esm1
                                   Available with Ubuntu Pro
   opencv-data                     4.5.4+dfsg-9ubuntu4+esm1
                                   Available with Ubuntu Pro

Ubuntu 18.04 LTS
   libopencv-core3.2               3.2.0+dfsg-4ubuntu0.1+esm4
                                   Available with Ubuntu Pro
   libopencv-dev                   3.2.0+dfsg-4ubuntu0.1+esm4
                                   Available with Ubuntu Pro
   opencv-data                     3.2.0+dfsg-4ubuntu0.1+esm4
                                   Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
   https://ubuntu.com/security/notices/USN-7247-1
   CVE-2019-14493, CVE-2019-16249, CVE-2019-19624, CVE-2023-2617,
   CVE-2023-2618

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20250204/b1658fd8/attachment-0001.sig>


More information about the ubuntu-security-announce mailing list