cve.bz

CVE-2018-18661 NULL Pointer Dereference

6.5 mediumExploit referenceEPSS 2.9%Fix available

Medium (6.5). EPSS 2.9% estimated probability of exploitation activity in the next 30 days.

On this page
An issue was discovered in LibTIFF 4.0.9. There is a NULL pointer dereference in the function LZWDecode in the file tif_lzw.c.

Severity

CVSS 3.0

6.5 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
2.9% (unchanged from 2.9% a week ago; 2.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-18661 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-18661?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-18661?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-18661 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libtiff:libtiff4.0.9
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8tiff4.0.3-12.3+deb8u10DLA-2009-1
Debian12, 13, 14tiff4.0.10-1DEBIAN-CVE-2018-18661
Ubuntu14.04:LTStiff4.0.3-7ubuntu0.10UBUNTU-CVE-2018-18661 USN-3864-1
Ubuntu16.04:LTStiff4.0.6-1ubuntu0.5UBUNTU-CVE-2018-18661 USN-3864-1
Ubuntu18.04:LTStiff4.0.9-5ubuntu0.1UBUNTU-CVE-2018-18661 USN-3864-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morelibtiff, libtiff-devel, libtiff-tools and 2 more0:4.0.3-32.el7RHSA-2019:2053
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3 and 1 moretiff4.0.9-44.27.1SUSE-SU-2018:3911-1
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server for SAP Applications 12 SP4 and 1 moretiff4.0.9-44.27.1SUSE-SU-2018:3911-2
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Desktop Applications 15, Linux Enterprise Module for Package Hub 15tiff4.0.9-5.17.1SUSE-SU-2018:3925-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4tiff3.8.2-141.169.22.1SUSE-SU-2018:3879-1
openSUSETumbleweedtiff4.3.0-1.3openSUSE-SU-2024:11461-1
Alpinev3.6, v3.7, v3.8 and 16 moretiff4.0.10-r0ALPINE-CVE-2018-18661

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue affects the versions of libtiff as shipped with Red Hat Enterprise Linux 5, 6, and 7.

Red Hat Enterprise Linux 5 is now in Extended Life Phase of the support and maintenance life cycle. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

Red Hat Enterprise Linux 6 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. This has been rated as having a security impact of Low, and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7libtiff-0:4.0.3-32.el7Fixed 2019-08-06RHSA-2019:2053
Red Hat Enterprise Linux 5libtiffWill not fix
Red Hat Enterprise Linux 6libtiffWill not fix
Red Hat Enterprise Linux 7compat-libtiff3Not affected
Red Hat Enterprise Linux 8libtiffNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-18661.

References

Check your stackJSON