CVE-2018-5268

NameCVE-2018-5268
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1354-1, DLA-1438-1
NVD severitymedium
Debian Bugs886674

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
opencv (PTS)stretch2.4.9.1+dfsg1-2vulnerable
buster3.2.0+dfsg-6fixed
bullseye, sid4.5.1+dfsg-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
opencvsourceexperimental3.4.4+dfsg-1~exp1
opencvsourcewheezy2.3.1-11+deb7u4DLA-1354-1
opencvsourcejessie2.4.9.1+dfsg-1+deb8u2DLA-1438-1
opencvsource(unstable)3.2.0+dfsg-6886674

Notes

[stretch] - opencv <no-dsa> (Minor issue)
https://github.com/opencv/opencv/issues/10541
2.4 backport: https://patch-diff.githubusercontent.com/raw/opencv/opencv/pull/10901.patch

Search for package or bug name: Reporting problems