USN-4818-1: OpenCV vulnerabilities
28 September 2022
Several security issues were fixed in OpenCV.
Releases
Packages
- opencv - computer vision library
Details
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)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 18.04
-
libopencv-imgcodecs3.2
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv-video3.2
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv-flann3.2
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv-stitching3.2
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv-imgproc3.2
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv-videoio3.2
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv-viz3.2
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv-photo3.2
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv3.2-jni
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv-superres3.2
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv-objdetect3.2
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv-ml3.2
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv-dev
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv-calib3d3.2
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv-shape3.2
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv-highgui3.2
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv-features2d3.2
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv-core3.2
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv-contrib3.2
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
-
libopencv-videostab3.2
-
3.2.0+dfsg-4ubuntu0.1+esm3
Available with Ubuntu Pro
Ubuntu 16.04
-
libopencv-ml2.4v5
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
-
libopencv-contrib2.4v5
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
-
libopencv-flann2.4v5
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
-
libopencv-highgui2.4v5
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
-
libopencv-ocl2.4v5
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
-
libopencv-photo2.4v5
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
-
libopencv-objdetect2.4v5
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
-
libopencv-superres2.4v5
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
-
libopencv-video2.4v5
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
-
libopencv-features2d2.4v5
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
-
libopencv-videostab2.4v5
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
-
libopencv-ts2.4v5
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
-
libopencv-legacy2.4v5
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
-
libopencv-gpu2.4v5
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
-
libopencv-core2.4v5
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
-
libopencv2.4-jni
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
-
libopencv-imgproc2.4v5
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
-
libopencv-stitching2.4v5
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
-
libopencv-calib3d2.4v5
-
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
Available with Ubuntu Pro
Ubuntu 14.04
-
libopencv-superres2.4
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
-
libopencv-ts2.4
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
-
libopencv-video2.4
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
-
libopencv-flann2.4
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
-
libopencv-gpu2.4
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
-
libopencv-imgproc2.4
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
-
libopencv-stitching2.4
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
-
libopencv-objdetect2.4
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
-
libopencv-ml2.4
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
-
libopencv2.4-jni
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
-
libopencv-calib3d2.4
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
-
libopencv-contrib2.4
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
-
libopencv-highgui2.4
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
-
libopencv-photo2.4
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
-
libopencv-features2d2.4
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
-
libopencv-legacy2.4
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
-
libopencv-core2.4
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
-
libopencv-ocl2.4
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
-
libopencv-videostab2.4
-
2.4.8+dfsg1-2ubuntu1.2+esm1
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.