In OpenCV 3.3.1 (corresponding with OpenCV-Python 3.3.1.11), a heap-based buffer overflow happens in cv::Jpeg2KDecoder::readComponent8u in modules/imgcodecs/src/grfmt_jpeg2000.cpp when parsing a crafted image file.
{
"cwe_ids": [
"CWE-787"
],
"severity": "MODERATE",
"github_reviewed_at": "2021-10-07T19:55:52Z",
"nvd_published_at": "2018-01-08T05:29:00Z",
"github_reviewed": true
}