Red Hat Bugzilla – Bug 1297431
CVE-2015-8397 gdcm: Out-of-bounds read in JPEGLSCodec::DecodeExtent
Last modified: 2018-01-02 04:43:56 EST
It was found that GDCM versions 2.6.0 and 2.6.1 (and possibly previous versions) are prone to an out-of-bounds read vulnerability due to missing checks. The vulnerability occurs during the decoding of JPEG-LS images when the dimensions of the embedded JPEG-LS image (as specified in the JPEG headers) are smaller than the ones of the selected region (set by gdcm::ImageRegionReader::SetRegion and usually based on DICOM header values).
Created gdcm tracking bugs for this issue:
Affects: fedora-all [bug 1297433]
AFAICT, this affects the 2.6 series. GDCM in rawhide has been updated to 2.6.2, which includes the fix, already. The remaining Fedora versions only include gdcm-2.4.x, which is not affected?
(In reply to Sebastian Pölsterl from comment #2)
> AFAICT, this affects the 2.6 series. GDCM in rawhide has been updated to
> 2.6.2, which includes the fix, already. The remaining Fedora versions only
> include gdcm-2.4.x, which is not affected?
Could you please explain why do you think so? The source code in 2.4.5 looks pretty much the same for given vulnerable functions.