{"id":"USN-4818-1","summary":"opencv vulnerabilities","details":"It was discovered that OpenCV did not properly manage certain\nobjects, leading to a divide-by-zero. If a user were tricked into\nloading a specially crafted file, a remote attacker could potentially use\nthis issue to cause a denial of service or possibly execute arbitrary\ncode. (CVE-2019-15939)\n\nIt was discovered that OpenCV did not properly manage certain files,\nleading to an out of bounds read. If a user were tricked into loading\na specially crafted file, a remote attacker could potentially use this\nissue to make OpenCV crash, resulting in a denial of service. This issue\nwas only fixed in Ubuntu 18.04 ESM. (CVE-2019-14491, CVE-2019-14492)\n\nIt was discovered that OpenCV did not properly manage certain XML data,\nleading to a NULL pointer dereference. If a user were tricked into\nloading a specially crafted file, a remote attacker could potentially use\nthis issue to make OpenCV crash, resulting in a denial of service. This\nissue was only fixed in Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.\n(CVE-2019-14493)\n\nIt was discovered that OpenCV did not properly manage certain files,\nleading to a heap-based buffer overflow. If a user were tricked into\nloading a specially crafted file, a remote attacker could potentially use\nthis issue to cause a denial of service or possibly execute arbitrary code.\nThis issue only affected Ubuntu 18.04 ESM. (CVE-2017-18009)\n","modified":"2026-05-20T16:03:03.275623842Z","published":"2022-09-28T14:52:46Z","related":["UBUNTU-CVE-2019-14491","UBUNTU-CVE-2019-14492","UBUNTU-CVE-2019-14493","UBUNTU-CVE-2019-15939"],"upstream":["CVE-2017-18009","CVE-2019-14491","CVE-2019-14492","CVE-2019-14493","CVE-2019-15939","UBUNTU-CVE-2017-18009","UBUNTU-CVE-2019-14491","UBUNTU-CVE-2019-14492","UBUNTU-CVE-2019-14493","UBUNTU-CVE-2019-15939"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4818-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-18009"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-14491"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-14492"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-14493"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-15939"}],"affected":[{"package":{"name":"opencv","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/opencv?arch=source&distro=trusty%2Fesm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.8+dfsg1-2ubuntu1.2+esm1"}]}],"versions":["2.4.5+dfsg-0ubuntu4","2.4.5+dfsg-0ubuntu5","2.4.6.1+dfsg-2ubuntu2","2.4.6.1+dfsg-2ubuntu3","2.4.6.1+dfsg-2ubuntu4","2.4.6.1+dfsg-2ubuntu5","2.4.8+dfsg-1ubuntu1","2.4.8+dfsg1-2ubuntu1","2.4.8+dfsg1-2ubuntu1.2"],"ecosystem_specific":{"binaries":[{"binary_name":"libcv2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libcvaux2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libhighgui2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv-calib3d2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv-contrib2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv-core2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv-features2d2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv-flann2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv-gpu2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv-highgui2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv-imgproc2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv-legacy2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv-ml2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv-objdetect2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv-ocl2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv-photo2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv-stitching2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv-superres2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv-ts2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv-video2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv-videostab2.4","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv2.4-java","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"libopencv2.4-jni","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"opencv-data","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"},{"binary_name":"python-opencv","binary_version":"2.4.8+dfsg1-2ubuntu1.2+esm1"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4818-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:14.04:LTS","cves":[{"id":"CVE-2019-14493","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-15939","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]}}},{"package":{"name":"opencv","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/opencv?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"}]}],"versions":["2.4.9+dfsg-1ubuntu6","2.4.9.1+dfsg-1.2ubuntu1","2.4.9.1+dfsg-1.3ubuntu1","2.4.9.1+dfsg-1.5ubuntu1","2.4.9.1+dfsg-1.5ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libopencv-ml2.4v5","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv-contrib2.4v5","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv-flann2.4v5","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv-highgui2.4v5","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libcvaux2.4","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv-ocl2.4v5","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv-photo2.4v5","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"python-opencv","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv-objdetect2.4v5","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv-superres2.4v5","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libhighgui2.4","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv-video2.4v5","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv-features2d2.4v5","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv-videostab2.4v5","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv-ts2.4v5","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"opencv-data","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv-legacy2.4v5","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv-gpu2.4v5","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv-core2.4v5","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libcv2.4","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv2.4-jni","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv2.4-java","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv-stitching2.4v5","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv-imgproc2.4v5","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"},{"binary_name":"libopencv-calib3d2.4v5","binary_version":"2.4.9.1+dfsg-1.5ubuntu1.1+esm1"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4818-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[]}}},{"package":{"name":"opencv","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/opencv?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.0+dfsg-4ubuntu0.1+esm3"}]}],"versions":["3.1.0+dfsg1-1~exp1ubuntu3","3.2.0+dfsg-3","3.2.0+dfsg-4","3.2.0+dfsg-4build1","3.2.0+dfsg-4build2","3.2.0+dfsg-4ubuntu0.1","3.2.0+dfsg-4ubuntu0.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libopencv-calib3d3.2","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv-contrib3.2","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv-core3.2","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv-features2d3.2","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv-flann3.2","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv-highgui3.2","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv-imgcodecs3.2","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv-imgproc3.2","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv-ml3.2","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv-objdetect3.2","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv-photo3.2","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv-shape3.2","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv-stitching3.2","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv-superres3.2","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv-video3.2","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv-videoio3.2","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv-videostab3.2","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv-viz3.2","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv3.2-java","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"libopencv3.2-jni","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"opencv-data","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"python-opencv","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"},{"binary_name":"python3-opencv","binary_version":"3.2.0+dfsg-4ubuntu0.1+esm3"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4818-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"id":"CVE-2019-15939","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]}}}],"schema_version":"1.7.5"}