CVE-2024-7006 Libtiff: null pointer dereference in tif_dirinfo.c

High 7.5 Published Updated

An attacker can cause a denial of service via segmentation fault in Libtiff by triggering a null pointer dereference during memory allocation failures.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-7006?

CVE-2024-7006 is a high-severity vulnerability in Libtiff Libtiff, published on 8 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A null pointer dereference flaw was found in Libtiff via `tif_dirinfo.c`. This issue may allow an attacker to trigger memory allocation failures through certain means, such as restricting the heap space size or injecting faults, causing a segmentation fault. This can cause an application crash, eventually leading to a denial of service.

Weakness: CWE-476

Which versions are affected by CVE-2024-7006?

It affects 5 products.

Linux distribution packages (40)
libtiff AlmaLinux:8All versions4.0.9-33.el8_10
libtiff-devel AlmaLinux:8All versions4.0.9-33.el8_10
libtiff-tools AlmaLinux:8All versions4.0.9-33.el8_10
libtiff AlmaLinux:9All versions4.4.0-12.el9_4.1
libtiff-devel AlmaLinux:9All versions4.4.0-12.el9_4.1
libtiff-tools AlmaLinux:9All versions4.4.0-12.el9_4.1
libtiff Red Hat:enterprise_linux:8::appstreamAll versions0:4.0.9-33.el8_10
libtiff-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:4.0.9-33.el8_10
libtiff-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:4.0.9-33.el8_10
libtiff-devel Red Hat:enterprise_linux:8::appstreamAll versions0:4.0.9-33.el8_10
libtiff-tools-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:4.0.9-33.el8_10
libtiff-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:4.0.9-33.el8_10
libtiff-debugsource Red Hat:enterprise_linux:8::crbAll versions0:4.0.9-33.el8_10
libtiff-tools Red Hat:enterprise_linux:8::crbAll versions0:4.0.9-33.el8_10
libtiff-tools-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:4.0.9-33.el8_10
libtiff Red Hat:enterprise_linux:9::appstreamAll versions0:4.4.0-12.el9_4.1
libtiff-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:4.4.0-12.el9_4.1
libtiff-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:4.4.0-12.el9_4.1
libtiff-devel Red Hat:enterprise_linux:9::appstreamAll versions0:4.4.0-12.el9_4.1
libtiff-tools-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:4.4.0-12.el9_4.1
libtiff-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:4.4.0-12.el9_4.1
libtiff-debugsource Red Hat:enterprise_linux:9::crbAll versions0:4.4.0-12.el9_4.1
libtiff-tools Red Hat:enterprise_linux:9::crbAll versions0:4.4.0-12.el9_4.1
libtiff-tools-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:4.4.0-12.el9_4.1
libtiff Red Hat:rhel_eus:9.2::appstreamAll versions0:4.4.0-8.el9_2.1
libtiff-debuginfo Red Hat:rhel_eus:9.2::appstreamAll versions0:4.4.0-8.el9_2.1
libtiff-debugsource Red Hat:rhel_eus:9.2::appstreamAll versions0:4.4.0-8.el9_2.1
libtiff-devel Red Hat:rhel_eus:9.2::appstreamAll versions0:4.4.0-8.el9_2.1
libtiff-tools-debuginfo Red Hat:rhel_eus:9.2::appstreamAll versions0:4.4.0-8.el9_2.1
libtiff-debuginfo Red Hat:rhel_eus:9.2::crbAll versions0:4.4.0-8.el9_2.1
libtiff-debugsource Red Hat:rhel_eus:9.2::crbAll versions0:4.4.0-8.el9_2.1
libtiff-tools Red Hat:rhel_eus:9.2::crbAll versions0:4.4.0-8.el9_2.1
libtiff-tools-debuginfo Red Hat:rhel_eus:9.2::crbAll versions0:4.4.0-8.el9_2.1
libtiff Rocky Linux:8All versions0:4.0.9-33.el8_10
libtiff Rocky Linux:9All versions0:4.4.0-12.el9_4.1
tiff SUSE:Linux Enterprise Micro 5.2All versions4.0.9-150000.45.47.1
tiff SUSE:Linux Enterprise Micro 5.3All versions4.0.9-150000.45.47.1
tiff SUSE:Linux Enterprise Micro 5.4All versions4.0.9-150000.45.47.1
tiff SUSE:Linux Enterprise Micro 5.5All versions4.0.9-150000.45.47.1
tiff SUSE:Linux Enterprise Module for Basesystem 15 SP5All versions4.0.9-150000.45.47.1

Products include Libtiff Libtiff, Redhat Enterprise Linux, Redhat Enterprise Linux for Arm 64, Redhat Enterprise Linux for Power Little Endian Eus, Redhat Enterprise Linux Server Aus.

How do I fix CVE-2024-7006?

Apply the vendor's patch.

Is CVE-2024-7006 being exploited?

There is no known exploitation of CVE-2024-7006 in the wild and no public exploit code.

All Libtiff Libtiff vulnerabilities

Sources

Also known as ALSA-2024:8833, ALSA-2024:8914, AZL-47751, AZL-47759, AZL-47760, AZL-47768 and 24 more.

Is CVE-2024-7006 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free