{"id":"CVE-2018-7713","aliases":["EUVD-2018-19428","GHSA-wj8j-vmwr-jqc9","UBUNTU-CVE-2018-7713"],"status":"disputed","title":"** DISPUTED ** The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in...","description":"The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1 allows remote attackers to cause a denial of service (assertion failure) because (size.width \u003c= (1\u003c\u003c20)) may be false. Note: “OpenCV CV_Assert is not an assertion (C-like assert()), it is regular C++ exception which can raised in case of invalid or non-supported parameters.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02256,"percentile":0.83054,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-617"],"published":"2018-03-05T23:00:00Z","modified":"2026-10-31T02:45:04Z","affected":[{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"opencv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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","2.4.8+dfsg1-2ubuntu1.2+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"opencv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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","2.4.9.1+dfsg-1.5ubuntu1.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"opencv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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","3.2.0+dfsg-4ubuntu0.1+esm3","3.2.0+dfsg-4ubuntu0.1+esm4"]}],"products":[{"vendor":"opencv","product":"opencv"}],"references":[{"url":"https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assert","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://github.com/opencv/opencv/issues/10998","tags":["x_refsource_MISC","x_transferred","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-7713"},{"url":"https://github.com/advisories/GHSA-wj8j-vmwr-jqc9"},{"url":"https://ubuntu.com/security/CVE-2018-7713","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-7713","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-7713","description":"The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1 allows remote attackers to cause a denial of service (assertion failure) because (size.width \u003c= (1\u003c\u003c20)) may be false. Note: “OpenCV CV_Assert is not an assertion (C-like assert()), it is regular C++ exception which can raised in case of invalid or non-supported parameters.","status":"disputed","published":"2018-03-05T23:00:00Z","modified":"2024-08-05T06:31:05.201Z","updated_at":"2026-11-02T14:35:09.908186Z"}],"euvd":[{"id":"EUVD-2018-19428","description":"The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1 allows remote attackers to cause a denial of service (assertion failure) because (size.width \u003c= (1\u003c\u003c20)) may be false. Note: “OpenCV CV_Assert is not an assertion (C-like assert()), it is regular C++ exception which can raised in case of invalid or non-supported parameters.","status":"published","published":"2018-03-05T23:00:00Z","modified":"2024-08-05T06:31:05Z","updated_at":"2026-11-03T02:40:05.186892Z"}],"ghsa":[{"id":"GHSA-wj8j-vmwr-jqc9","title":"** DISPUTED ** The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in...","description":"** DISPUTED ** The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1 allows remote attackers to cause a denial of service (assertion failure) because (size.width \u003c= (1\u003c\u003c20)) may be false. Note: “OpenCV CV_Assert is not an assertion (C-like assert()), it is regular C++ exception which can raised in case of invalid or non-supported parameters.”","status":"published","published":"2022-05-13T01:28:30Z","modified":"2023-02-01T05:08:00Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-617"],"updated_at":"2026-11-02T14:50:39.462624Z"}],"nvd":[{"id":"CVE-2018-7713","description":"The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1 allows remote attackers to cause a denial of service (assertion failure) because (size.width \u003c= (1\u003c\u003c20)) may be false. Note: “OpenCV CV_Assert is not an assertion (C-like assert()), it is regular C++ exception which can raised in case of invalid or non-supported parameters.","status":"disputed","published":"2018-03-05T23:29:00.257Z","modified":"2026-06-17T02:03:34.45Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-617"],"updated_at":"2026-11-02T14:04:23.783914Z"}],"osv":[{"id":"CVE-2018-7713","description":"The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1 allows remote attackers to cause a denial of service (assertion failure) because (size.width \u003c= (1\u003c\u003c20)) may be false. Note: “OpenCV CV_Assert is not an assertion (C-like assert()), it is regular C++ exception which can raised in case of invalid or non-supported parameters.","status":"published","published":"2018-03-05T23:29:00.257Z","modified":"2026-10-31T02:45:04.648609551Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:09.74357Z"},{"id":"UBUNTU-CVE-2018-7713","description":"The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1 allows remote attackers to cause a denial of service (assertion failure) because (size.width \u003c= (1\u003c\u003c20)) may be false. Note: “OpenCV CV_Assert is not an assertion (C-like assert()), it is regular C++ exception which can raised in case of invalid or non-supported parameters.","status":"published","published":"2018-03-05T23:29:00Z","modified":"2026-04-22T12:03:28.211785Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:18.772093Z"}]}}
