Skip to content
Fencer Vulns
medium 5.5

CVE-2022-3597 json

LibTIFF 4.4.0 has an out-of-bounds write in `_TIFFmemcpy` in `libtiff/tif_unix.c:346` when called...

published 2022-10-21 4 y ago modified 2026-07-23 3 mo ago also EUVD-2022-42961 , JLSEC-2025-283

cvss
5.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.3%
EPSS 1.3% chance of exploitation in 30 days, percentile 70%
public exploits
0
none known

Summary

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:6826, 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.

Patch / fix

  • julia Libtiff_jll 4.5.1+0
  • tiff Debian 14, Debian 13, Debian 12 4.4.0-5

debian advisories DEBIAN-CVE-2022-3597

  • libtiff RHEL 9 4.4.0-7.el9
  • libtiff-tools RHEL 9 4.4.0-7.el9

red hat advisories RHSA-2023:2340

  • tiff SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +27 more 4.0.9-150000.45.19.1
  • tiff SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +6 more 4.0.9-44.59.1

suse advisories SUSE-SU-2022:4259-1SUSE-SU-2022:4248-1

  • tiff openSUSE Tumbleweed 4.4.0-5.1

opensuse advisories openSUSE-SU-2024:12510-1

  • libtiff AlmaLinux 9 4.4.0-7.el9
  • libtiff-tools AlmaLinux 9 4.4.0-7.el9

almalinux advisories ALSA-2023:2340

  • tiff Alpine 3.17 4.4.0-r2
  • tiff Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 4.5.0-r0

alpine advisories ALPINE-CVE-2022-3597

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libtiff CBL-Mariner 2.0 4.4.0-6

azure linux advisories AZL-11284

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-3597 updated cvss 6.5

libtiff: out-of-bounds write in _TIFFmemcpy in libtiff/tif_unix

  • Red Hat Enterprise Linux 6 libtiff Red Hat Enterprise Linux 7 libtiff, libtiff-tools, compat-libtiff3
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 9) libtiff 4.4.0-7.el9 Red Hat Enterprise Linux CRB (v. 9) libtiff-tools 4.4.0-7.el9
    fixed: vendor fix RHSA-2023:2340
  • Red Hat Enterprise Linux 8 libtiff, libtiff-tools, compat-libtiff3
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

1.27% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • gitlab.com https://gitlab.com/libtiff/libtiff/-/issues/413 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
OSV 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
julia Libtiff_jll
<4.5.1+0
4.5.1+0

Affected products

  • libtiff libtiff

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.