| Name | CVE-2014-8130 | 
| Description | The _TIFFmalloc function in tif_unix.c in LibTIFF 4.0.3 does not reject a zero size, which allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted TIFF image that is mishandled by the TIFFWriteScanline function in tif_write.c, as demonstrated by tiffdither. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| Debian Bugs | 776185 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| tiff (PTS) | bullseye | 4.2.0-1+deb11u5 | fixed | 
|  | bullseye (security) | 4.2.0-1+deb11u7 | fixed | 
|  | bookworm | 4.5.0-6+deb12u2 | fixed | 
|  | bookworm (security) | 4.5.0-6+deb12u3 | fixed | 
|  | trixie | 4.7.0-3 | fixed | 
|  | trixie (security) | 4.7.0-3+deb13u1 | fixed | 
|  | forky, sid | 4.7.1-1 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| tiff | source | (unstable) | 4.0.5-1 | unimportant |  | 776185 | 
| tiff3 | source | (unstable) | (not affected) |  |  |  | 
Notes
- tiff3 <not-affected> (The tiff3 source package doesn't build the TIFF tools)
Advisory: http://www.conostix.com/pub/adv/CVE-2014-8130-LibTIFF-Division_By_Zero.txt
http://bugzilla.maptools.org/show_bug.cgi?id=2483
Crash in a frontend tool w/o potential for code injection, marked as unimportant