cve.bz

CVE-2018-5268

5.5 mediumEPSS 1.5%

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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.5% chance of exploitation in the next 30 days; higher than 74% of CVEs (scores of 2026-10-31)
CWE
CWE-787
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9g8h-pjm4-q92pPyPIopencv-python<3.4.1.153.4.1.15
GHSA-9g8h-pjm4-q92pPyPIopencv-contrib-python<3.4.1.153.4.1.15
PYSEC-2026-2814PyPIopencv-python<3.4.1.153.4.1.15
PYSEC-2026-705PyPIopencv-contrib-python<3.4.1.153.4.1.15

References

Check your stackJSON