Every CVE Search/ Get API key

CVE-2023-3164

Heap-buffer-overflow in extractimagesection()

5.5 MediumFix available

A heap-buffer-overflow vulnerability was found in LibTIFF, in extractImageSection() at tools/tiffcrop.c:7916 and tools/tiffcrop.c:7801. This flaw allows attackers to cause a denial of service via a crafted tiff file.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.32%Up 0.3 points since Nov 3, 2023
90%50%10%1%

What each source reports

CVE List Score used 5.5

Heap-buffer-overflow in extractimagesection()

A heap-buffer-overflow vulnerability was found in LibTIFF, in extractImageSection() at tools/tiffcrop.c:7916 and tools/tiffcrop.c:7801. This flaw allows attackers to cause a denial of service via a crafted tiff file.

Record
CVE-2023-3164
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-120
Updated
2026-11-02
EUVDEUVD-2023-43847 5.5

A heap-buffer-overflow vulnerability was found in LibTIFF, in extractImageSection() at tools/tiffcrop.c:7916 and tools/tiffcrop.c:7801. This flaw allows attackers to cause a denial of service via a crafted tiff file.

Record
EUVD-2023-43847
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-2x8c-h7r9-r6m6 4.4

A heap out-of-bounds read flaw was found in builtin.c in the gawk package. This issue may lead to...

A heap out-of-bounds read flaw was found in builtin.c in the gawk package. This issue may lead to a crash and could be used to read sensitive information.

Record
GHSA-2x8c-h7r9-r6m6
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
Weakness
CWE-120, CWE-125, CWE-787
Updated
2026-11-02
NVD 5.5

A heap-buffer-overflow vulnerability was found in LibTIFF, in extractImageSection() at tools/tiffcrop.c:7916 and tools/tiffcrop.c:7801. This flaw allows attackers to cause a denial of service via a crafted tiff file.

Record
CVE-2023-3164
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-120, CWE-787
Updated
2026-11-02
OSVAZL-31765 5.5

CVE-2023-3164 affecting package libtiff for versions less than 4.6.0-5

A heap-buffer-overflow vulnerability was found in LibTIFF, in extractImageSection() at tools/tiffcrop.c:7916 and tools/tiffcrop.c:7801. This flaw allows attackers to cause a denial of service via a crafted tiff file.

Record
AZL-31765
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVAZL-34952 5.5

CVE-2023-3164 affecting package libtiff for versions less than 4.6.0-5

A heap-buffer-overflow vulnerability was found in LibTIFF, in extractImageSection() at tools/tiffcrop.c:7916 and tools/tiffcrop.c:7801. This flaw allows attackers to cause a denial of service via a crafted tiff file.

Record
AZL-34952
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-05
Show 12 moreShow less
OSV 5.5

Heap-buffer-overflow in extractimagesection()

A heap-buffer-overflow vulnerability was found in LibTIFF, in extractImageSection() at tools/tiffcrop.c:7916 and tools/tiffcrop.c:7801. This flaw allows attackers to cause a denial of service via a crafted tiff file.

Record
CVE-2023-3164
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-120
Updated
2026-11-02
OSVDEBIAN-CVE-2023-3164 5.5

A heap-buffer-overflow vulnerability was found in LibTIFF, in extractImageSection() at tools/tiffcrop.c:7916 and tools/tiffcrop.c:7801. This flaw allows attackers to cause a denial of service via a crafted tiff file.

Record
DEBIAN-CVE-2023-3164
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVJLSEC-2025-314 5.5

A heap-buffer-overflow vulnerability was found in LibTIFF, in extractImageSection() at...

A heap-buffer-overflow vulnerability was found in LibTIFF, in extractImageSection() at tools/tiffcrop.c:7916 and tools/tiffcrop.c:7801. This flaw allows attackers to cause a denial of service via a crafted tiff file.

Record
JLSEC-2025-314
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2024-1663 6.1

libtiff security update

This provides support for the Tag Image File Format (TIFF), a widely used format for storing image data. The latest version of the TIFF specification is available on-line in several different formats.And contains command-line programs for manipulating TIFF format image files using the libtiff library.

Security Fix(es):

A flaw was found in tiffcrop, a program distributed by the libtiff package. A specially crafted tiff file can lead to an out-of-bounds read in the extractImageSection function in tools/tiffcrop.c, resulting in a denial of service and limited information disclosure. This issue affects libtiff versions 4.x.(CVE-2023-1916)

A heap-buffer-overflow vulnerability was found in LibTIFF, in extractImageSection() at tools/tiffcrop.c:7916 and tools/tiffcrop.c:7801. This flaw allows attackers to cause a denial of service via a crafted tiff file.(CVE-2023-3164)

Record
OESA-2024-1663
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2023-3164 5.5

A heap-buffer-overflow vulnerability was found in LibTIFF, in extractImageSection() at tools/tiffcrop.c:7916 and tools/tiffcrop.c:7801. This flaw allows attackers to cause a denial of service via a crafted tiff file.

Record
UBUNTU-CVE-2023-3164
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVCLSA-2026-1776349106 No score

libtiff: Fix of 5 CVEs

  • CVE-2022-34526: fix stack buffer overflow in _TIFFVGetField via invalid codec-specific tag
  • CVE-2023-2908: fix null pointer dereference in countInkNamesString in tif_dir.c
  • CVE-2023-6277: prevent out-of-memory attacks by comparing allocation size with file size
  • CVE-2023-1916: fix out-of-bounds read in extractImageSection in tiffcrop.c
  • CVE-2023-3164: fix heap-buffer-overflow in extractImageSection in tiffcrop.c
Record
CLSA-2026-1776349106
Updated
2026-11-02
OSVMGASA-2024-0213 No score

Updated libtiff packages fix security vulnerability

A heap-buffer-overflow vulnerability was found in LibTIFF, in extractImageSection() at tools/tiffcrop.c:7916 and tools/tiffcrop.c:7801. This flaw allows attackers to cause a denial of service via a crafted tiff file. (CVE-2023-3164)

Record
MGASA-2024-0213
Updated
2026-11-02
OSVROOT-OS-DEBIAN-12-CVE-2023-3164 No score

CVE-2023-3164 in tiff - Patched by Root

Root has patched CVE-2023-3164 in the tiff package for Root:Debian:12. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-12-CVE-2023-3164
Updated
2026-11-02
OSVSUSE-SU-2024:1892-1 No score

Security update for tiff

This update for tiff fixes the following issues:

  • CVE-2023-3164: Fixed a heap buffer overflow in tiffcrop. (bsc#1212233)
Record
SUSE-SU-2024:1892-1
Updated
2026-11-02
OSVSUSE-SU-2024:2028-1 No score

Security update for tiff

This update for tiff fixes the following issues:

  • CVE-2023-3164: Fixed a heap buffer overflow in tiffcrop. (bsc#1212233)
Record
SUSE-SU-2024:2028-1
Updated
2026-11-02
OSVSUSE-SU-2024:2028-2 No score

Security update for tiff

This update for tiff fixes the following issues:

  • CVE-2023-3164: Fixed a heap buffer overflow in tiffcrop. (bsc#1212233)
Record
SUSE-SU-2024:2028-2
Updated
2026-11-02
OSVUSN-6827-1 No score

tiff vulnerability

It was discovered that LibTIFF incorrectly handled memory when performing certain cropping operations, leading to a heap buffer overflow. An attacker could use this issue to cause a denial of service, or possibly execute arbitrary code.

Record
USN-6827-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libtiff
Azure Linux:2
before 4.6.0-5
4.6.0-5
libtiff
Azure Linux:3
before 4.6.0-5
4.6.0-5
libtiff
TuxCare:AlmaLinux:9.6
From an advisory covering 5 CVEs
before 4.4.0-13.el9_6.2.tuxcare.els6
4.4.0-13.el9_6.2.tuxcare.els6
libtiff-devel
TuxCare:AlmaLinux:9.6
From an advisory covering 5 CVEs
before 4.4.0-13.el9_6.2.tuxcare.els6
4.4.0-13.el9_6.2.tuxcare.els6
libtiff-static
TuxCare:AlmaLinux:9.6
From an advisory covering 5 CVEs
before 4.4.0-13.el9_6.2.tuxcare.els6
4.4.0-13.el9_6.2.tuxcare.els6
libtiff-tools
TuxCare:AlmaLinux:9.6
From an advisory covering 5 CVEs
before 4.4.0-13.el9_6.2.tuxcare.els6
4.4.0-13.el9_6.2.tuxcare.els6
tiff
Debian:12
All versions, plus listed versions
4.5.0-64.5.0-6+deb12u14.5.0-6+deb12u24.5.0-6+deb12u34.5.0-6+deb12u4
Show 18 moreShow less
4.5.1+git230720-14.5.1+git230720-24.5.1+git230720-34.5.1+git230720-44.5.1+git230720-54.5.1-14.5.1~rc3-14.6.0-14.6.0-24.7.0-14.7.0-24.7.0-34.7.0-44.7.0-54.7.1-14.7.1-24.7.1-34.7.2-1
None known
tiff
Debian:13
before 4.7.0-1
4.7.0-1
tiff
Debian:14
before 4.7.0-1
4.7.0-1
Libtiff_jll
Julia
before 4.6.0+0
4.6.0+0
Show 28 moreShow less
Affected packages
PackageAffectedFixed
libtiff
Mageia:9
before 4.5.1-1.4.mga9
4.5.1-1.4.mga9
libtiff
openEuler:20.03-LTS-SP1
From an advisory covering 2 CVEs
before 4.3.0-23.oe1
4.3.0-23.oe1
libtiff
openEuler:20.03-LTS-SP4
From an advisory covering 2 CVEs
before 4.3.0-23.oe2003sp4
4.3.0-23.oe2003sp4
libtiff
openEuler:22.03-LTS
From an advisory covering 2 CVEs
before 4.3.0-37.oe2203sp3
4.3.0-37.oe2203sp3
libtiff
openEuler:22.03-LTS-SP1
From an advisory covering 2 CVEs
before 4.3.0-37.oe2203sp1
4.3.0-37.oe2203sp1
libtiff
openEuler:22.03-LTS-SP2
From an advisory covering 2 CVEs
before 4.3.0-37.oe2203sp2
4.3.0-37.oe2203sp2
libtiff
openEuler:22.03-LTS-SP3
From an advisory covering 2 CVEs
before 4.3.0-37.oe2203sp3
4.3.0-37.oe2203sp3
tiff
Root:Debian:12
before 4.5.0-6+deb12u4.aikido.20
4.5.0-6+deb12u4.aikido.204.5.0-6+deb12u4.root.io.194.5.0-6+deb12u4.aikido.214.5.0-6+deb12u4.aikido.22
rootio-tiff
Root:Debian:12
before 4.5.0-6+deb12u4.aikido.20
4.5.0-6+deb12u4.aikido.204.5.0-6+deb12u4.root.io.194.5.0-6+deb12u4.aikido.214.5.0-6+deb12u4.aikido.22
tiff
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 4.0.9-44.83.1
4.0.9-44.83.1
tiff
SUSE:Linux Enterprise Server 12 SP5
before 4.0.9-44.83.1
4.0.9-44.83.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 4.0.9-44.83.1
4.0.9-44.83.1
tiff
SUSE:Linux Enterprise Micro 5.3
before 4.0.9-150000.45.44.1
4.0.9-150000.45.44.1
tiff
SUSE:Linux Enterprise Micro 5.4
before 4.0.9-150000.45.44.1
4.0.9-150000.45.44.1
tiff
SUSE:Linux Enterprise Micro 5.5
before 4.0.9-150000.45.44.1
4.0.9-150000.45.44.1
tiff
SUSE:Linux Enterprise Module for Basesystem 15 SP5
before 4.0.9-150000.45.44.1
4.0.9-150000.45.44.1
tiff
SUSE:Linux Enterprise Module for Basesystem 15 SP6
before 4.0.9-150000.45.44.1
4.0.9-150000.45.44.1
tiff
SUSE:Linux Enterprise Module for Package Hub 15 SP5
before 4.0.9-150000.45.44.1
4.0.9-150000.45.44.1
tiff
SUSE:Linux Enterprise Micro 5.2
before 4.0.9-150000.45.44.1
4.0.9-150000.45.44.1
tiff
openSUSE:Leap Micro 5.3
before 4.0.9-150000.45.44.1
4.0.9-150000.45.44.1
tiff
openSUSE:Leap Micro 5.4
before 4.0.9-150000.45.44.1
4.0.9-150000.45.44.1
tiff
openSUSE:Leap 15.5
before 4.0.9-150000.45.44.1
4.0.9-150000.45.44.1
tiff
Ubuntu:Pro:14.04:LTS
before 4.0.3-7ubuntu0.11+esm13, plus listed versions
4.0.2-4ubuntu34.0.3-5ubuntu14.0.3-64.0.3-6ubuntu14.0.3-7
Show 22 moreShow less
4.0.3-7ubuntu0.14.0.3-7ubuntu0.24.0.3-7ubuntu0.34.0.3-7ubuntu0.44.0.3-7ubuntu0.64.0.3-7ubuntu0.74.0.3-7ubuntu0.84.0.3-7ubuntu0.94.0.3-7ubuntu0.104.0.3-7ubuntu0.114.0.3-7ubuntu0.11+esm14.0.3-7ubuntu0.11+esm24.0.3-7ubuntu0.11+esm34.0.3-7ubuntu0.11+esm44.0.3-7ubuntu0.11+esm54.0.3-7ubuntu0.11+esm64.0.3-7ubuntu0.11+esm74.0.3-7ubuntu0.11+esm84.0.3-7ubuntu0.11+esm94.0.3-7ubuntu0.11+esm104.0.3-7ubuntu0.11+esm114.0.3-7ubuntu0.11+esm12
4.0.3-7ubuntu0.11+esm13
tiff
Ubuntu:Pro:16.04:LTS
before 4.0.6-1ubuntu0.8+esm16, plus listed versions
4.0.3-12.3ubuntu24.0.5-14.0.6-14.0.6-1ubuntu0.14.0.6-1ubuntu0.2
Show 20 moreShow less
4.0.6-1ubuntu0.34.0.6-1ubuntu0.44.0.6-1ubuntu0.54.0.6-1ubuntu0.64.0.6-1ubuntu0.74.0.6-1ubuntu0.84.0.6-1ubuntu0.8+esm14.0.6-1ubuntu0.8+esm24.0.6-1ubuntu0.8+esm34.0.6-1ubuntu0.8+esm44.0.6-1ubuntu0.8+esm64.0.6-1ubuntu0.8+esm74.0.6-1ubuntu0.8+esm84.0.6-1ubuntu0.8+esm94.0.6-1ubuntu0.8+esm104.0.6-1ubuntu0.8+esm114.0.6-1ubuntu0.8+esm124.0.6-1ubuntu0.8+esm134.0.6-1ubuntu0.8+esm144.0.6-1ubuntu0.8+esm15
4.0.6-1ubuntu0.8+esm16
tiff
Ubuntu:Pro:18.04:LTS
before 4.0.9-5ubuntu0.10+esm6, plus listed versions
4.0.8-54.0.8-64.0.9-14.0.9-24.0.9-3
Show 18 moreShow less
4.0.9-44.0.9-4ubuntu14.0.9-54.0.9-5ubuntu0.14.0.9-5ubuntu0.24.0.9-5ubuntu0.34.0.9-5ubuntu0.44.0.9-5ubuntu0.54.0.9-5ubuntu0.64.0.9-5ubuntu0.74.0.9-5ubuntu0.84.0.9-5ubuntu0.94.0.9-5ubuntu0.104.0.9-5ubuntu0.10+esm14.0.9-5ubuntu0.10+esm24.0.9-5ubuntu0.10+esm34.0.9-5ubuntu0.10+esm44.0.9-5ubuntu0.10+esm5
4.0.9-5ubuntu0.10+esm6
tiff
Ubuntu:20.04:LTS
before 4.1.0+git191117-2ubuntu0.20.04.13, plus listed versions
4.0.10+git191003-14.1.0+git191117-14.1.0+git191117-24.1.0+git191117-2build14.1.0+git191117-2ubuntu0.20.04.1
Show 11 moreShow less
4.1.0+git191117-2ubuntu0.20.04.24.1.0+git191117-2ubuntu0.20.04.34.1.0+git191117-2ubuntu0.20.04.44.1.0+git191117-2ubuntu0.20.04.54.1.0+git191117-2ubuntu0.20.04.64.1.0+git191117-2ubuntu0.20.04.74.1.0+git191117-2ubuntu0.20.04.84.1.0+git191117-2ubuntu0.20.04.94.1.0+git191117-2ubuntu0.20.04.104.1.0+git191117-2ubuntu0.20.04.114.1.0+git191117-2ubuntu0.20.04.12
4.1.0+git191117-2ubuntu0.20.04.13
tiff
Ubuntu:22.04:LTS
before 4.3.0-6ubuntu0.9, plus listed versions
4.3.0-14.3.0-24.3.0-34.3.0-3build14.3.0-4
Show 10 moreShow less
4.3.0-54.3.0-64.3.0-6ubuntu0.14.3.0-6ubuntu0.24.3.0-6ubuntu0.34.3.0-6ubuntu0.44.3.0-6ubuntu0.54.3.0-6ubuntu0.64.3.0-6ubuntu0.74.3.0-6ubuntu0.8
4.3.0-6ubuntu0.9
tiff
Ubuntu:24.04:LTS
before 4.5.1+git230720-4ubuntu2.1, plus listed versions
4.5.1+git230720-1ubuntu14.5.1+git230720-3ubuntu14.5.1+git230720-4ubuntu14.5.1+git230720-4ubuntu2
4.5.1+git230720-4ubuntu2.1

History

History
RecordedChangedSources
affected
factsOSV
aliases, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-3164 is a medium vulnerability (CVSS 5.5) in Libtiff, published November 2, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.32%, the 25th percentile. Fixed in libtiff 4.6.0-5.

References

Show 20 moreShow less
MoveEnter Open