CVE-2018-12900: Buffer Overflow

Published Jun 26, 2018
·
Updated

Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0beta7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 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 allows remote attackers to cause a denial of service (crash) or possibly have unspecified other impact via a crafted TIFF file.

Other sources

Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 4.0.9 allows remote attackers to cause a denial of service (crash) or possibly have unspecified other impact via a crafted TIFF file.

Upstream issue:

http://bugzilla.maptools.org/showbug.cgi?id=2798

Red Hat

Affected Software

7 affected componentsFixes available
debian/tiff<=4.0.9-1, <=4.0.8-2
4.0.8-2+deb9u54.0.10-4
LibTIFF libtiff=4.0.9
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=18.10
debian/tiff
4.2.0-1+deb11u54.2.0-1+deb11u84.5.0-6+deb12u44.7.0-3+deb13u24.7.0-3+deb13u34.7.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/tiff to a version that resolves this vulnerability.

    Fixed in 4.0.8-2+deb9u5Fixed in 4.0.10-4
  2. Upgrade

    Upgrade debian/tiff to a version that resolves this vulnerability.

    Fixed in 4.2.0-1+deb11u5Fixed in 4.2.0-1+deb11u8Fixed in 4.5.0-6+deb12u4Fixed in 4.7.0-3+deb13u2Fixed in 4.7.0-3+deb13u3Fixed in 4.7.2-1

Event History

Jun 26, 2018
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Data Sourced
via NVD·10:29 PM
DescriptionSeverityWeaknessAffected Software
Jun 27, 2018
Data Sourced
via Red Hat·07:48 AM
DescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:50 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·03:57 PM
RemedyDescriptionSeverityAffected Software
Jul 20, 2026
Data Sourced
via Debian·11:29 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-12900?

CVE-2018-12900 has a critical severity due to its potential for remote exploitation and denial of service.

2

How do I fix CVE-2018-12900?

To fix CVE-2018-12900, upgrade to a patched version of LibTIFF, specifically version 4.0.10 or later.

3

Which versions of LibTIFF are affected by CVE-2018-12900?

CVE-2018-12900 affects LibTIFF versions from 3.9.3 to 4.0.9.

4

Is CVE-2018-12900 exploitable remotely?

Yes, CVE-2018-12900 can be exploited remotely, leading to potential denial of service.

5

What are the potential impacts of CVE-2018-12900?

The potential impacts of CVE-2018-12900 include crashes, denial of service, and possible unauthorized code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203