Buffer overflow in Opencv

CVE-2018-5268

In OpenCV 3.3.1, a heap-based buffer overflow happens in cv::Jpeg2KDecoder::readComponent8u in modules/imgcodecs/src/grfmt_jpeg2000.cpp when parsing a crafted image file.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS: 0.015 (73.6th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 74th percentile — 73.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2018-5268: held from 0.015 to 0.015.

EPSS over last 30 days · oldest: 0.015 · newest: 0.015 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2018-5268?
CVE-2018-5268 is a medium-severity vulnerability in Opencv, classified under Out-of-bounds Write. CVSS score: 5.5/10. Published 2018-01-08.
How severe is CVE-2018-5268?
Medium severity. CVSS v3 base score is 5.5 out of 10.