Bug 1324823 (CVE-2016-3622) - CVE-2016-3622 libtiff: Division by zero in fpAcc function
Summary: CVE-2016-3622 libtiff: Division by zero in fpAcc function
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2016-3622
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1324816 1324817
Blocks: 1316881
TreeView+ depends on / blocked
 
Reported: 2016-04-07 11:30 UTC by Adam Mariš
Modified: 2019-09-29 13:46 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-11 08:28:15 UTC


Attachments (Terms of Use)

Description Adam Mariš 2016-04-07 11:30:18 UTC
Division by zero vulnerability was found in fpAcc function in tif_predict.c in tiff2rgba, allowing attacker to cause a denial of service via a crafted TIFF image.

Vulnerable code:

libtiff-master/libtiff/tif_predict.c:381.

377 fpAcc(TIFF* tif, uint8* cp0, tmsize_t cc)
378 {
379         tmsize_t stride = PredictorState(tif)->stride;
380         uint32 bps = tif->tif_dir.td_bitspersample / 8;
381         tmsize_t wc = cc / bps;
382         tmsize_t count = cc;
383         uint8 *cp = (uint8 *) cp0;
384         uint8 *tmp = (uint8 *)_TIFFmalloc(cc);

Public via:

http://seclists.org/oss-sec/2016/q2/23

Comment 1 Adam Mariš 2016-04-07 11:30:28 UTC
Acknowledgments:

Name: Mei Wang (Qihoo 360)

Comment 3 Stefan Cornelius 2017-05-11 08:28:24 UTC
Statement:

Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.


Note You need to log in before you can comment on or make changes to this bug.