Out-of-bounds Read Affecting malaterre/gdcm package, versions [,2.6.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.73% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-MALATERREGDCM-2365938
  • published26 Jan 2022
  • disclosed12 Jan 2016
  • creditUnknown

Introduced: 12 Jan 2016

CVE-2015-8397  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade malaterre/gdcm to version 2.6.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. The JPEGLSCodec::DecodeExtent function in MediaStorageAndFileFormat/gdcmJPEGLSCodec.cxx in Grassroots DICOM (aka GDCM) before 2.6.2 allows remote attackers to obtain sensitive information from process memory or cause a denial of service (application crash) via an embedded JPEG-LS image with dimensions larger than the selected region in a (1) two-dimensional or (2) three-dimensional DICOM image file, which triggers an out-of-bounds read.

CVSS Scores

version 3.1