Security mailing lists by PureSourceCode

CVE-2018-5268

MEDIUM 5.5CVSS 3.1

Out-of-bounds Write in OpenCV.

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.

Published
8 Jan 2018
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-787
Also known as
GHSA-9g8h-pjm4-q92pPYSEC-2026-2814PYSEC-2026-705
Sources
NVDJSONOSV GHSA-9g8h-pjm4-q92pJSONOSV PYSEC-2026-2814JSONOSV PYSEC-2026-705JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.0 MEDIUM 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
OSV PyPA CVSS 3.0 MEDIUM 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD opencv opencv
cpe:2.3:a:opencv:opencv:3.3.1:*:*:*:*:*:*:*
= 3.3.1
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
OSV PyPI opencv-python < 3.4.1.15 3.4.1.15
OSV PyPI opencv-contrib-python < 3.4.1.15 3.4.1.15

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 8 Jan 2018)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Oct 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.