Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gdcm | 2.6.2-1 | — |
| Debian 13 | gdcm | 2.6.2-1 | — |
| Debian 12 | gdcm | 2.6.2-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | gdcm | 2.2.4-1.1ubuntu4+esm1 | — |
References
- http://packetstormsecurity.com/files/135206/GDCM-2.6.0-2.6.1-Out-Of-Bounds-Read.html
- [gdcm-developers] 20151204 [Gdcm2] GDCM <2.6.1 two vulnerabilites mailing-list
- http://sourceforge.net/p/gdcm/gdcm/ci/e547b1ded3fd21e0b0ad149f13045aa12d4b9b7c/
- [gdcm-developers] 20151221 Re: [Gdcm2] GDCM <2.6.1 two vulnerabilites mailing-list
- 20160111 CVE-2015-8397: GDCM out-of-bounds read in JPEGLSCodec::DecodeExtent mailing-list
- 20160111 CVE-2015-8397: GDCM out-of-bounds read in JPEGLSCodec::DecodeExtent mailing-list
- http://census-labs.com/news/2016/01/11/gdcm-out-bounds-read-jpeglscodec-decodeextent/