CWE
119 476
Advisory Published

USN-4818-1: OpenCV vulnerabilities

First published: Wed Sep 28 2022(Updated: )

It was discovered that OpenCV did not properly manage certain objects, leading to a divide-by-zero. If a user were tricked into loading a specially crafted file, a remote attacker could potentially use this issue to cause a denial of service or possibly execute arbitrary code. (CVE-2019-15939) It was discovered that OpenCV did not properly manage certain files, leading to an out of bounds read. If a user were tricked into loading a specially crafted file, a remote attacker could potentially use this issue to make OpenCV crash, resulting in a denial of service. This issue was only fixed in Ubuntu 18.04 ESM. (CVE-2019-14491, CVE-2019-14492) 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 potentially use this issue to make OpenCV crash, resulting in a denial of service. This issue was only fixed in Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2019-14493) It was discovered that OpenCV did not properly manage certain files, leading to a heap-based buffer overflow. If a user were tricked into loading a specially crafted file, a remote attacker could potentially use this issue to cause a denial of service or possibly execute arbitrary code. This issue only affected Ubuntu 18.04 ESM. (CVE-2017-18009)

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/libopencv-imgcodecs3.2<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-video3.2<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-flann3.2<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-stitching3.2<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-imgproc3.2<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-videoio3.2<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-viz3.2<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-photo3.2<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv3.2-jni<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-superres3.2<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-objdetect3.2<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-ml3.2<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-dev<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-calib3d3.2<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-shape3.2<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-highgui3.2<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-features2d3.2<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-core3.2<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-contrib3.2<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-videostab3.2<3.2.0+dfsg-4ubuntu0.1+esm3
3.2.0+dfsg-4ubuntu0.1+esm3
Ubuntu=18.04
All of
ubuntu/libopencv-ml2.4v5<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv-contrib2.4v5<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv-flann2.4v5<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv-highgui2.4v5<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv-ocl2.4v5<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv-photo2.4v5<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv-objdetect2.4v5<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv-superres2.4v5<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv-video2.4v5<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv-features2d2.4v5<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv-videostab2.4v5<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv-ts2.4v5<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv-legacy2.4v5<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv-gpu2.4v5<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv-core2.4v5<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv2.4-jni<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv-imgproc2.4v5<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv-stitching2.4v5<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv-calib3d2.4v5<2.4.9.1+dfsg-1.5ubuntu1.1+esm1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Ubuntu=16.04
All of
ubuntu/libopencv-superres2.4<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04
All of
ubuntu/libopencv-ts2.4<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04
All of
ubuntu/libopencv-video2.4<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04
All of
ubuntu/libopencv-flann2.4<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04
All of
ubuntu/libopencv-gpu2.4<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04
All of
ubuntu/libopencv-imgproc2.4<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04
All of
ubuntu/libopencv-stitching2.4<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04
All of
ubuntu/libopencv-objdetect2.4<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04
All of
ubuntu/libopencv-ml2.4<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04
All of
ubuntu/libopencv2.4-jni<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04
All of
ubuntu/libopencv-calib3d2.4<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04
All of
ubuntu/libopencv-contrib2.4<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04
All of
ubuntu/libopencv-highgui2.4<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04
All of
ubuntu/libopencv-photo2.4<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04
All of
ubuntu/libopencv-features2d2.4<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04
All of
ubuntu/libopencv-legacy2.4<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04
All of
ubuntu/libopencv-core2.4<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04
All of
ubuntu/libopencv-ocl2.4<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04
All of
ubuntu/libopencv-videostab2.4<2.4.8+dfsg1-2ubuntu1.2+esm1
2.4.8+dfsg1-2ubuntu1.2+esm1
Ubuntu=14.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Child vulnerabilities

(Contains the following vulnerabilities)

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203