cve.bz

CVE-2018-18557 Out-of-bounds Write

8.8 highExploitEPSS 15%

High (8.8). EPSS 15% estimated probability of exploitation activity in the next 30 days.

On this page
LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.4beta, 4.0.5, 4.0.6, 4.0.7, 4.0.8 and 4.0.9 (with JBIG enabled) decodes arbitrarily-sized JBIG into a buffer, ignoring the buffer size, which leads to a tif_jbig.c JBIGDecode out-of-bounds write.

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
15% (unchanged from 15% a week ago; 15% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
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-18557 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-18557?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-18557?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-18557 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
debian:debian_linux8.0
debian:debian_linux9.0
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+deb8u7DLA-1557-1
Debian9tiff4.0.8-2+deb9u4DSA-4349-1
Debian12, 13, 14tiff4.0.9+git181026-1DEBIAN-CVE-2018-18557
Ubuntu14.04:LTStiff4.0.3-7ubuntu0.10UBUNTU-CVE-2018-18557 USN-3864-1
Ubuntu16.04:LTStiff4.0.6-1ubuntu0.5UBUNTU-CVE-2018-18557 USN-3864-1
Ubuntu18.04:LTStiff4.0.9-5ubuntu0.1UBUNTU-CVE-2018-18557 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
openSUSETumbleweedtiff4.3.0-1.3openSUSE-SU-2024:11461-1
Alpinev3.6, v3.7, v3.8 and 16 moretiff4.0.10-r0ALPINE-CVE-2018-18557

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 Moderate.

Red Hat's statement

This issue did not affect the versions of libtiff as shipped with Red Hat Enterprise Linux 5 and 6.

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

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7libtiff-0:4.0.3-32.el7Fixed 2019-08-06RHSA-2019:2053
Red Hat Enterprise Linux 5libtiffNot affected
Red Hat Enterprise Linux 6libtiffNot 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-18557.

Public exploits

References

Check your stackJSON