{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Low"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-12862.json"
      }
    ],
    "title": "opencv: Heap-based buffer over-write in modules/imgcodecs/src/grfmt_pxm.cpp",
    "tracking": {
      "current_release_date": "2026-11-07T10:31:50+00:00",
      "generator": {
        "date": "2026-11-07T10:31:50+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.5"
        }
      },
      "id": "CVE-2017-12862",
      "initial_release_date": "2017-08-15T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2017-08-15T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-05-13T00:45:06+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-07T10:31:50+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 6",
                "product": {
                  "name": "Red Hat Enterprise Linux 6",
                  "product_id": "red_hat_enterprise_linux_6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:6"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 6"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 7",
                "product": {
                  "name": "Red Hat Enterprise Linux 7",
                  "product_id": "red_hat_enterprise_linux_7",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 7"
          },
          {
            "category": "product_version",
            "name": "opencv-devel-docs",
            "product": {
              "name": "opencv-devel-docs",
              "product_id": "opencv-devel-docs",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/opencv-devel-docs"
              }
            }
          },
          {
            "category": "product_version",
            "name": "opencv.src",
            "product": {
              "name": "opencv.src",
              "product_id": "opencv.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/opencv?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "opencv-python",
            "product": {
              "name": "opencv-python",
              "product_id": "opencv-python",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/opencv-python"
              }
            }
          },
          {
            "category": "product_version",
            "name": "opencv-devel",
            "product": {
              "name": "opencv-devel",
              "product_id": "opencv-devel",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/opencv-devel"
              }
            }
          },
          {
            "category": "product_version",
            "name": "opencv-core",
            "product": {
              "name": "opencv-core",
              "product_id": "opencv-core",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/opencv-core"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opencv-devel as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:opencv-devel"
        },
        "product_reference": "opencv-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opencv-devel-docs as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:opencv-devel-docs"
        },
        "product_reference": "opencv-devel-docs",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opencv-python as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:opencv-python"
        },
        "product_reference": "opencv-python",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opencv.src as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:opencv.src"
        },
        "product_reference": "opencv.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opencv-core as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:opencv-core"
        },
        "product_reference": "opencv-core",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opencv-devel as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:opencv-devel"
        },
        "product_reference": "opencv-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opencv-devel-docs as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:opencv-devel-docs"
        },
        "product_reference": "opencv-devel-docs",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opencv-python as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:opencv-python"
        },
        "product_reference": "opencv-python",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opencv.src as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:opencv.src"
        },
        "product_reference": "opencv.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2017-12862",
      "cwe": {
        "id": "CWE-122",
        "name": "Heap-based Buffer Overflow"
      },
      "discovery_date": "2017-08-15T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1483695"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "In modules/imgcodecs/src/grfmt_pxm.cpp, the length of buffer AutoBuffer _src is small than expected, which will cause copy buffer overflow later. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 and earlier.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "opencv: Heap-based buffer over-write in modules/imgcodecs/src/grfmt_pxm.cpp",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "under_investigation": [
          "red_hat_enterprise_linux_6:opencv-devel",
          "red_hat_enterprise_linux_6:opencv-devel-docs",
          "red_hat_enterprise_linux_6:opencv-python",
          "red_hat_enterprise_linux_6:opencv.src",
          "red_hat_enterprise_linux_7:opencv-core",
          "red_hat_enterprise_linux_7:opencv-devel",
          "red_hat_enterprise_linux_7:opencv-devel-docs",
          "red_hat_enterprise_linux_7:opencv-python",
          "red_hat_enterprise_linux_7:opencv.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2017-12862"
        },
        {
          "category": "external",
          "summary": "RHBZ#1483695",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1483695"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2017-12862",
          "url": "https://www.cve.org/CVERecord?id=CVE-2017-12862"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2017-12862",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-12862"
        }
      ],
      "release_date": "2017-08-15T00:00:00+00:00",
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "LOW",
            "baseScore": 3.3,
            "baseSeverity": "LOW",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L",
            "version": "3.0"
          },
          "products": [
            "red_hat_enterprise_linux_6:opencv-devel",
            "red_hat_enterprise_linux_6:opencv-devel-docs",
            "red_hat_enterprise_linux_6:opencv-python",
            "red_hat_enterprise_linux_6:opencv.src",
            "red_hat_enterprise_linux_7:opencv-core",
            "red_hat_enterprise_linux_7:opencv-devel",
            "red_hat_enterprise_linux_7:opencv-devel-docs",
            "red_hat_enterprise_linux_7:opencv-python",
            "red_hat_enterprise_linux_7:opencv.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Low",
          "product_ids": [
            "red_hat_enterprise_linux_6:opencv-devel",
            "red_hat_enterprise_linux_6:opencv-devel-docs",
            "red_hat_enterprise_linux_6:opencv-python",
            "red_hat_enterprise_linux_6:opencv.src",
            "red_hat_enterprise_linux_7:opencv-core",
            "red_hat_enterprise_linux_7:opencv-devel",
            "red_hat_enterprise_linux_7:opencv-devel-docs",
            "red_hat_enterprise_linux_7:opencv-python",
            "red_hat_enterprise_linux_7:opencv.src"
          ]
        }
      ],
      "title": "opencv: Heap-based buffer over-write in modules/imgcodecs/src/grfmt_pxm.cpp"
    }
  ]
}