CVEfocus › CVE database › CVE-2018-5268

CVE-2018-5268

CVSS 5.5 MediumEPSS 1.5% (higher than 75% of CVEs)Published 2018-01-08Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
15Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04opencvFixed3.2.0+dfsg-4ubuntu0.1UBUNTU-CVE-2018-5268
Ubuntu 16.04opencvFixed2.4.9.1+dfsg-1.5ubuntu1.1UBUNTU-CVE-2018-5268
Debian 14opencvFixed3.2.0+dfsg-6DEBIAN-CVE-2018-5268
Debian 13opencvFixed3.2.0+dfsg-6DEBIAN-CVE-2018-5268
Debian 12opencvFixed3.2.0+dfsg-6DEBIAN-CVE-2018-5268
Red Hat Enterprise Linux 8opencvWill not fix
Will not fix
Red Hat Enterprise Linux 8opencv-contribWill not fix
Will not fix
Red Hat Enterprise Linux 8opencv-coreWill not fix
Will not fix
Red Hat Enterprise Linux 8opencv-develWill not fix
Will not fix
Red Hat Enterprise Linux 8opencv-docWill not fix
Will not fix
Red Hat Enterprise Linux 8python3-opencvWill not fix
Will not fix
Red Hat Enterprise Linux 7opencvWill not fix
Will not fix
Red Hat Enterprise Linux 7opencv-coreWill not fix
Will not fix
Red Hat Enterprise Linux 7opencv-develWill not fix
Will not fix
Red Hat Enterprise Linux 7opencv-devel-docsWill not fix
Will not fix
Red Hat Enterprise Linux 7opencv-pythonWill not fix
Will not fix
Red Hat Enterprise Linux 6opencvWill not fix
Will not fix
Red Hat Enterprise Linux 6opencv-develWill not fix
Will not fix
Red Hat Enterprise Linux 6opencv-devel-docsWill not fix
Will not fix
Red Hat Enterprise Linux 6opencv-pythonWill not fix
Will not fix
PyPI libraryopencv-contrib-pythonFixed3.4.1.15PYSEC-2026-705
PyPI libraryopencv-pythonFixed3.4.1.15GHSA-9g8h-pjm4-q92p

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.