CVE-2015-8396
Integer overflow in the ImageRegionReader::ReadIntoBuffer function in ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium).
Description
Integer overflow in the ImageRegionReader::ReadIntoBuffer function in MediaStorageAndFileFormat/gdcmImageRegionReader.cxx in Grassroots DICOM (aka GDCM) before 2.6.2 allows attackers to execute arbitrary code via crafted header dimensions in a DICOM image file, which triggers a buffer overflow.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | gdcm | 2.6.2-1 |
| debian 12 | gdcm | 2.6.2-1 |
| debian 13 | gdcm | 2.6.2-1 |
| debian 14 | gdcm | 2.6.2-1 |
| debian 7 | gdcm | no fix listed |
| debian 8 | gdcm | 2.4.4-3+deb8u1 |
| echo | gdcm | 2.6.2-1 |
| ubuntu 14.04-ESM | gdcm | 2.2.4-1.1ubuntu4+esm1 |
References
- http://census-labs.com/news/2016/01/11/gdcm-buffer-overflow-imageregionreaderreadintobuffer/
- http://packetstormsecurity.com/files/135205/GDCM-2.6.0-2.6.1-Integer-Overflow.html
- http://seclists.org/fulldisclosure/2016/Jan/29
- http://sourceforge.net/p/gdcm/gdcm/ci/e547b1ded3fd21e0b0ad149f13045aa12d4b9b7c/
- http://sourceforge.net/p/gdcm/mailman/message/34670701/
- http://sourceforge.net/p/gdcm/mailman/message/34687533/
- http://www.securityfocus.com/archive/1/537264/100/0/threaded
- https://www.cve.org/CVERecord?id=CVE-2015-8396