{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.4.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "3b15f3e3b9041ca742822e48c7241d1f39e611b8"
            }
          ],
          "repo": "https://github.com/opencv/opencv",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2018-7713",
  "modified": "2026-03-13T21:53:40.969420877Z",
  "published": "2018-03-05T23:29:00.257Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/xiaoqx/pocs/tree/master/opencv/dos-by-assert"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/opencv/opencv/issues/10998"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}