USN-7247-1: OpenCV vulnerabilities

Published Feb 3, 2025
·
Updated

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)

Affected Software

22 affected componentsFixes available
All of the following
ubuntu/libopencv-contrib4.5d<4.5.4+dfsg-9ubuntu4+esm1
4.5.4+dfsg-9ubuntu4+esm1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libopencv-core4.5d<4.5.4+dfsg-9ubuntu4+esm1
4.5.4+dfsg-9ubuntu4+esm1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libopencv-dev<4.5.4+dfsg-9ubuntu4+esm1
4.5.4+dfsg-9ubuntu4+esm1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libopencv-dnn4.5d<4.5.4+dfsg-9ubuntu4+esm1
4.5.4+dfsg-9ubuntu4+esm1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libopencv-flann4.5d<4.5.4+dfsg-9ubuntu4+esm1
4.5.4+dfsg-9ubuntu4+esm1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libopencv-imgcodecs4.5d<4.5.4+dfsg-9ubuntu4+esm1
4.5.4+dfsg-9ubuntu4+esm1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libopencv-objdetect4.5d<4.5.4+dfsg-9ubuntu4+esm1
4.5.4+dfsg-9ubuntu4+esm1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/opencv-data<4.5.4+dfsg-9ubuntu4+esm1
4.5.4+dfsg-9ubuntu4+esm1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libopencv-core3.2<3.2.0+dfsg-4ubuntu0.1+esm4
3.2.0+dfsg-4ubuntu0.1+esm4
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libopencv-dev<3.2.0+dfsg-4ubuntu0.1+esm4
3.2.0+dfsg-4ubuntu0.1+esm4
Ubuntu Ubuntu=18.04
All of the following
ubuntu/opencv-data<3.2.0+dfsg-4ubuntu0.1+esm4
3.2.0+dfsg-4ubuntu0.1+esm4
Ubuntu Ubuntu=18.04

Event History

Feb 3, 2025
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of USN-7247-1?

USN-7247-1 is classified as a denial of service vulnerability due to NULL pointer dereference in OpenCV.

2

How do I fix USN-7247-1?

To fix USN-7247-1, users should update to the patched version 4.5.4+dfsg-9ubuntu4+esm1 for Ubuntu 22.04 or 3.2.0+dfsg-4ubuntu0.1+esm4 for Ubuntu 18.04.

3

Which versions of OpenCV are affected by USN-7247-1?

Affected versions in USN-7247-1 include OpenCV versions prior to 4.5.4+dfsg-9ubuntu4+esm1 for Ubuntu 22.04 and 3.2.0+dfsg-4ubuntu0.1+esm4 for Ubuntu 18.04.

4

What could happen if I do not address USN-7247-1?

If not addressed, USN-7247-1 could lead to application crashes, causing a denial of service for users relying on OpenCV.

5

What components of OpenCV are impacted by USN-7247-1?

USN-7247-1 impacts several OpenCV components such as libopencv-core, libopencv-contrib, and libopencv-dev, among others.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203